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

Maven publication? #78

Open
ice1000 opened this issue Sep 10, 2021 · 5 comments
Open

Maven publication? #78

ice1000 opened this issue Sep 10, 2021 · 5 comments

Comments

@ice1000
Copy link

ice1000 commented Sep 10, 2021

Have you considered a plugin to publish to maven local/maven central?

@forax
Copy link
Owner

forax commented Nov 10, 2021

It can not be a plugin, because it embeds it's own JDK,
so build can be 100% reproducible.

@ice1000
Copy link
Author

ice1000 commented Nov 10, 2021

Well, I was talking about automatic uploading of build artifacts.

@forax
Copy link
Owner

forax commented Nov 10, 2021

Oh, sorry, got it.
Do you know if there is some API for that (like there is an API to get the dependency on Maven Central) ?

@ice1000
Copy link
Author

ice1000 commented Nov 10, 2021

Oh, sorry, got it. Do you know if there is some API for that (like there is an API to get the dependency on Maven Central) ?

I dunno, but since you decide to give it up I don't think it matters anymore

@talios
Copy link

talios commented Nov 10, 2021

@forax There's not an API for Central persae AFAIK - but many people use the oss.sonatype.org Nexus server - which provides validation and syncing to Maven central. Nexus, at it's lowest level can deploy artifacts with a simple HTTP POST:

curl -v -F r=releases -F hasPom=false -F e=$EXTENSION
     -F g=$GROUP_ID -F a=$ARTIFACT_ID -F v=${version} 
     -F p=$PACKAGING -F file=@target/$FILENAME
     -u user:password  \
     https://NEXUS_REPO_URL_HERE

Maybe that helps.

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

3 participants