jcabi-parent
jcabi-parent copied to clipboard
Tutorial how to use it and publish an artifact
Let's create a tutorial how to use jcabi-parent
and use it to publish an artifact to Central Repository without using Rultor.
@yegor256/z please, pay attention to this issue
@fabriciofx/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!
@fabriciofx can you submit a pull request?
@yegor256 Yeah, no problem!
@fabriciofx @yegor256 This issue is old but it seems still valid. How can I release a new version to sonatype with parent pom?
What I tried was:
mvn clean deploy
which successfully built and uploaded 'something' to sonatype. However, after checking the https://oss.sonatype.org/service/local/repositories/releases/content/{my-repository-path}
nothing was there.
Normally, I make a dedicated release profile like in this pom, and run mvn clean deploy -Prelease
which successfully uploads artifacts to my sonatype profile and releases staging repositories. This makes them available in Maven Central soon.
How can I make that with parent pom?
@piotrkot see how it works in our pom.xml
and rultor.yml