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

release in maven central #20

Open
stokpop opened this issue Oct 27, 2020 · 10 comments
Open

release in maven central #20

stokpop opened this issue Oct 27, 2020 · 10 comments

Comments

@stokpop
Copy link

stokpop commented Oct 27, 2020

Hi,

to help with our packaging of this library it would really help if it got released in maven central.

Is it possible for you to release to maven central?

Thanks.

@artemlos
Copy link
Contributor

@stokpop Hi! We are working on adding it to the maven central repository. I will let you know once it is available. /Artem

@stokpop
Copy link
Author

stokpop commented Mar 8, 2021

@artemlos Hi Artem, is there progress to report on this issue? Thanks.

@artemlos
Copy link
Contributor

@stokpop Hi! Sorry, it took longer than expected. We will try to get it done by the end of next week.

@sergey-oplavin
Copy link

sergey-oplavin commented Nov 11, 2021

@artemlos Hi Artem, just wanted to ask if there is any update on the issue?
Adding cryptolens jar to maven/gradle project is not very convenient now, so it would be really nice to have it published into Maven Central (or to any other place).
We have recently published one of our public packages to Maven Central, so if you have any questions about the procedure - don't hesitate to ask. Thanks.

@artemlos
Copy link
Contributor

@sergey-oplavin thanks for offering your help!

I think we got stuck on either creating the correct configuration. There is already a package registered on Sonatype (https://issues.sonatype.org/browse/OSSRH-61669), which I believe was the first step that was necessary.

I will look into it and get back where exactly we had issues. We use IntelliJ, so I will look for a tutorial and try it again.

This was referenced Nov 16, 2021
@artemlos
Copy link
Contributor

artemlos commented Nov 17, 2021

@sergey-oplavin Just wanted to check with you if you recognize the following authentication error when running mvn deloy? https://s01.oss.sonatype.org/content/repositories/snapshots/io/cryptolens/cryptolens/1.24-SNAPSHOT/cryptolens-1.24-20211117.134324-1.pom.asc

image

I will look into it more, but I just wanted to check in case you have seen this error before and know the possible cause.

@sergey-oplavin
Copy link

@artemlos Did you provide your username/password for sonatype server in settings.xml?

@artemlos
Copy link
Contributor

@sergey-oplavin Yep, that was done. I followed the following tutorial: https://central.sonatype.org/publish/publish-maven/#

I will double check that the folder is correct, etc. It might be that IntelliJ does not find the file.

@sergey-oplavin
Copy link

@artemlos Just verified - if I don't have the following section in my ~/.m2/settings.xml file, it shows the same error on deploy.

<server>
	<id>ossrh</id>   
	<username>user</username>
	<password>pwd</password>
</server>

Where user and pwd are credentials for sonatype (https://s01.oss.sonatype.org/)

@artemlos
Copy link
Contributor

@sergey-oplavin I have the configuration that you listed above, but it appears that when I authenticate on https://s01.oss.sonatype.org/, I get an authentication error:

image

I will look into how new credentials can be created for that page. I thought that I could just use the same as for Sonatype Jira.

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