is waffle-jna available via maven

494 views
Skip to first unread message

Bill

unread,
Jul 17, 2012, 5:36:23 AM7/17/12
to waffle...@googlegroups.com
I know I can download waffle 1.4 from  http://dblock.github.com/waffle/
but I am struggling to find it on a maven repository.


Daniel Doubrovkine

unread,
Jul 17, 2012, 7:45:30 AM7/17/12
to waffle...@googlegroups.com
I don't know anything about publishing things to a maven repo, but if someone wants to do it (or tell me how to do it that doesn't involve days of work), go for it.


On Tue, Jul 17, 2012 at 5:36 AM, Bill <bill....@gmail.com> wrote:
I know I can download waffle 1.4 from  http://dblock.github.com/waffle/
but I am struggling to find it on a maven repository.





--

dB. | Moscow - Geneva - Seattle - New York
dblock.org - @dblockdotorg


Napadelice

unread,
Aug 14, 2012, 2:26:59 AM8/14/12
to waffle...@googlegroups.com
i add maven build for JNAWindowsAuthProvider projet
try this pom.xml
pom.xml

Daniel Doubrovkine

unread,
Aug 14, 2012, 5:45:32 AM8/14/12
to waffle...@googlegroups.com
Please make a pull request on Github, thanks.

David Carr

unread,
Dec 11, 2012, 11:27:49 AM12/11/12
to waffle...@googlegroups.com
I'm working on maven POMs for Waffle at the URL below.  I'm not done yet, but it looks like a couple of the blockers to this in the past have been removed.  The JNA platform jar is now available in Maven central, and I found a publicly available repo where groboutils is available (though not in central yet).  Once I've got it ready, I'll send a pull request.

Daniel Doubrovkine

unread,
Dec 11, 2012, 11:48:30 AM12/11/12
to waffle...@googlegroups.com
Thanks David, looking forward to it.

David Carr

unread,
Jan 14, 2013, 10:13:39 AM1/14/13
to waffle...@googlegroups.com
Several pull requests have been sent and accepted.  I'm not aware of any particular work that still needs to be done to make it possible for the next release to be published via Maven.


On Monday, January 14, 2013 10:03:18 AM UTC-5, Luke Adams wrote:
The link seems to be dead.  Are you still working to migrate to Maven?

David Carr

unread,
Jan 20, 2013, 7:12:12 PM1/20/13
to waffle...@googlegroups.com
On pull request 43, dblock had asked if it would be possible to release the already shipped version 1.5 to Maven.  At the time, the best answer I had was an "I think so".  Now that I've investigated, I believe the answer is "definitely".  Here are my suggested steps to do so.

One-Time Setup (needed for any publishing to Maven Central, not just this process; particulars can be found in the Sonatype OSS Maven Repository Usage Guide):
1) Gain access to a repository to deploy to
2) Configure your repository credentials in settings.xml
3) Create a GPG key and publish it
4) Install Maven 3

Per Artifact Version to Publish (waffle-jna.jar version 1.5 used as an example):
1) Create a working directory for waffle-jna-1.5
2) Create a POM file for the version and put it in the directory as pom-1.5.xml
3) Put the main jar in the directory as waffle-jna-1.5.jar (I grabbed this from the release download)
4) Put the sources jar in the directory as waffle-jna-1.5-source.jar (after running the Ant build, I grabbed bin/waffle-jna-src.zip)
5) Put the javadoc jar in the directory as waffle-jna-1.5-javadoc.jar (after running the Ant build, I created this using the command "jar cfM waffle-jna-1.5-javadoc.jar -C waffle-jna/doc/ .")
6) Run the following command in the directory (substituting the appropriate REPOID and REPOURL), providing your GPG passphrase when prompted
mvn org.apache.maven.plugins:maven-gpg-plugin:1.4:sign-and-deploy-file -Dfile=waffle-jna-1.5.jar -DpomFile=pom-1.5.xml -Dsources=waffle-jna-1.5-sources.jar -Djavadoc=waffle-jna-1.5-javadoc.jar -DrepositoryId=REPOID -Durl=REPOURL

Step 6 uses the Maven gpg plugin to sign the 4 files (pom, jar, sources, javadoc) and upload them as a single step.  I tested this on Bintray; the only difference with Sonatype OSS should be their requirements on POM files.

Here's the POM that I used for my testing.

Daniel Doubrovkine

unread,
Jan 20, 2013, 8:14:39 PM1/20/13
to waffle...@googlegroups.com
David, would you like to do it?

David M. Carr

unread,
Jan 20, 2013, 11:49:16 PM1/20/13
to waffle...@googlegroups.com
I will if you'd like me to.  I assume you want all the JARs from the 1.5 release ZIP included, or as close as I can get?
--
David M. Carr
da...@carrclan.us

Daniel Doubrovkine

unread,
Jan 21, 2013, 8:17:13 AM1/21/13
to waffle...@googlegroups.com
I would like you to. Thank you.

Everything in the 1.5 release is there.

David M. Carr

unread,
Jan 21, 2013, 8:56:32 AM1/21/13
to waffle...@googlegroups.com
I'll start working on that.

David Carr

unread,
Jan 22, 2013, 9:48:36 PM1/22/13
to waffle...@googlegroups.com
I've staged Waffle 1.5 on the Sonatype OSS servers.  You can access the staged version via the repository below.  Anyone who has interest, please test to see if this works for you and report back here.  My current plan is to give it hold off on finalizing the release (and synchronizing to Maven Central) until February 1st, as once it's finalized, there's no way to make further changes.

David Carr

unread,
Jan 31, 2013, 8:24:17 PM1/31/13
to waffle...@googlegroups.com
I haven't heard back from anyone that the staged version does/doesn't work for them.  Should I go forward with finalizing 1.5 tomorrow, or should we do something else?

Daniel Doubrovkine

unread,
Jan 31, 2013, 8:38:07 PM1/31/13
to waffle...@googlegroups.com
I say go for it.

--
You received this message because you are subscribed to the Google Groups "waffle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to waffle-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Daniel Doubrovkine

unread,
Jan 31, 2013, 8:38:28 PM1/31/13
to waffle...@googlegroups.com
I also want to release 1.6. Should we just do it via Maven?

David Carr

unread,
Jan 31, 2013, 8:41:00 PM1/31/13
to waffle...@googlegroups.com
Sounds like a reasonable idea to me.

Dan Rollo

unread,
Feb 1, 2013, 11:41:58 AM2/1/13
to waffle...@googlegroups.com
Sorry I haven't done this sooner, but I will try a build using the staged maven artifacts today.

Dan



David M. Carr

unread,
Feb 1, 2013, 12:15:27 PM2/1/13
to waffle...@googlegroups.com
Thanks for the reply, Dan.  I'll hold off on finalizing until I hear back from you, or sometime tomorrow, whichever comes first.

On Fri, Feb 1, 2013 at 11:41 AM, Dan Rollo <danr...@gmail.com> wrote:
Sorry I haven't done this sooner, but I will try a build using the staged maven artifacts today.

Dan

--
You received this message because you are subscribed to the Google Groups "waffle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to waffle-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
David M. Carr
da...@carrclan.us

Dan Rollo

unread,
Feb 1, 2013, 2:10:46 PM2/1/13
to waffle...@googlegroups.com, da...@carrclan.us
Fair 'nuff.

Status: I added the staging repository to my test app (https://github.com/bhamail/shiro-test-dan/tree/waffleRealm note branch "waffleRealm"), and I was able to build just fine - the waffle jars came down as expected.
Tested on both linux and windows.

Unfortunately, I decided to test a new login scenario (Win Negotiate from a Windows box that is NOT the one running tomcat), and I seeing login failures.
I don't see how this could be related to the published waffle jars being different, but I'm in the process of restoring the old manually installed local repo waffle jars to try and rule out a jar difference as the cause.

Dan

David Carr

unread,
Feb 3, 2013, 1:08:04 PM2/3/13
to waffle...@googlegroups.com, da...@carrclan.us
Release finalized.  The next step is for someone on Sonatype's end to enable synchronization with Central, in response to my comment on the ticket below.

David Carr

unread,
Feb 4, 2013, 12:57:11 PM2/4/13
to waffle...@googlegroups.com, da...@carrclan.us

Daniel Doubrovkine

unread,
Feb 4, 2013, 1:25:56 PM2/4/13
to waffle...@googlegroups.com, da...@carrclan.us
That's great, much appreciated. 

Want to release 1.6? It's ready to go. I usually just put a date on the CHANGELOG, double-check that all the versions everywhere say 1.6 and not something else. You can make those changes via PR or I am happy to give you committer access. Don't forget to add yourself to the CHANGELOG for the release part :) I think the download link for 1.6 should come from maven as well.

Generally I would like to start distributing ownership for various tasks in Waffle since since I am not using Waffle actively today.

David Carr

unread,
Feb 4, 2013, 7:02:13 PM2/4/13
to waffle...@googlegroups.com, da...@carrclan.us
I'd rather not, as I don't currently have access to a Windows box to run the tests on.

Daniel Doubrovkine

unread,
Feb 5, 2013, 7:41:47 AM2/5/13
to waffle...@googlegroups.com, da...@carrclan.us
Got it :)
Reply all
Reply to author
Forward
0 new messages