Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial how to use it and publish an artifact #83

Open
fabriciofx opened this issue Oct 15, 2018 · 6 comments
Open

Tutorial how to use it and publish an artifact #83

fabriciofx opened this issue Oct 15, 2018 · 6 comments

Comments

@fabriciofx
Copy link
Contributor

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

@0crat
Copy link

0crat commented Oct 15, 2018

@yegor256/z please, pay attention to this issue

@0crat
Copy link

0crat commented Oct 15, 2018

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

@yegor256
Copy link
Member

@fabriciofx can you submit a pull request?

@fabriciofx
Copy link
Contributor Author

@yegor256 Yeah, no problem!

@piotrkot
Copy link

piotrkot commented Mar 3, 2021

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

@yegor256
Copy link
Member

yegor256 commented Mar 3, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants