1. put a bit more design checks in the plugin
2. go to open source.
After some googling I ended up configuring a Sonatype Open Source Project Repository Hosting. This guide is a very good starting point, I'd only like to fill up some holes I felt missing in the guidance.
1. Before creating a JIRA ticket, you have to own a domain, like tindalos.org, and your groupId will reflect it. Simple way to create a domain is through Go Daddy.
2. As the Guide points out, you should install GPG on your computer. I went very smooth on Mac (as opposed to Windows 8)
3. Put the following snippets into your settings.xml
4. The pom should look like
The groupId should match with the one you have specified when creating the JIRA ticket and somehow resemble to the domain you own.
5. run the following commands in command line
mvn release:clean
mvn release:prepare -Pgpg
mvn release:perform -Pgpg
6. Once you released your artifact with mvn release:perform, log in to Sonatype OSS. Find your staging repository, close it, then release (the first time I think you have to Promote, too and comment on your JIRA ticket).
That's it. In a short while you should see your artifacts in the Central Repo.
Thx Tindalos the correct summary.
ReplyDeleteKeep pushing!