jcabi-parent icon indicating copy to clipboard operation
jcabi-parent copied to clipboard

Tutorial how to use it and publish an artifact

Open fabriciofx opened this issue 6 years ago • 6 comments

Let's create a tutorial how to use jcabi-parent and use it to publish an artifact to Central Repository without using Rultor.

fabriciofx avatar Oct 15 '18 13:10 fabriciofx

@yegor256/z please, pay attention to this issue

0crat avatar Oct 15 '18 13:10 0crat

@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!

0crat avatar Oct 15 '18 13:10 0crat

@fabriciofx can you submit a pull request?

yegor256 avatar Dec 25 '18 15:12 yegor256

@yegor256 Yeah, no problem!

fabriciofx avatar Dec 25 '18 20:12 fabriciofx

@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 avatar Mar 03 '21 09:03 piotrkot

@piotrkot see how it works in our pom.xml and rultor.yml

yegor256 avatar Mar 03 '21 10:03 yegor256