cryptolens-java icon indicating copy to clipboard operation
cryptolens-java copied to clipboard

release in maven central

Open stokpop opened this issue 5 years ago • 10 comments

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.

stokpop avatar Oct 27 '20 16:10 stokpop

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

artemlos avatar Oct 29 '20 08:10 artemlos

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

stokpop avatar Mar 08 '21 14:03 stokpop

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

artemlos avatar Mar 10 '21 10:03 artemlos

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

sergey-oplavin avatar Nov 11 '21 15:11 sergey-oplavin

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

artemlos avatar Nov 12 '21 14:11 artemlos

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

artemlos avatar Nov 17 '21 13:11 artemlos

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

sergey-oplavin avatar Nov 17 '21 14:11 sergey-oplavin

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

artemlos avatar Nov 17 '21 16:11 artemlos

@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/)

sergey-oplavin avatar Nov 17 '21 17:11 sergey-oplavin

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

artemlos avatar Nov 17 '21 17:11 artemlos