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 central #1

Closed
vbhavdal opened this issue Feb 28, 2017 · 9 comments
Closed

Maven central #1

vbhavdal opened this issue Feb 28, 2017 · 9 comments

Comments

@vbhavdal
Copy link

Great and much needed project. Do you have plans to push releases to Maven central?

@neuhalje
Copy link
Owner

neuhalje commented Mar 5, 2017

Vegrad, sorry for the delay.

It is already published on jcenter, see here on how to include that version.

I'll check how to publish it to maven central

@neuhalje
Copy link
Owner

neuhalje commented Mar 5, 2017

I'll keep you posted

@neuhalje
Copy link
Owner

neuhalje commented Mar 5, 2017

See issue #2

@neuhalje
Copy link
Owner

neuhalje commented Mar 5, 2017

Wow, mavenCentral is ugly: http://central.sonatype.org/pages/ossrh-guide.html

Would you mind to use jcenter?

@vbhavdal
Copy link
Author

vbhavdal commented Mar 7, 2017

Thanks @neuhalje , we are able to get around this yes, no problem, I was just curious if you had it planned.

@neuhalje
Copy link
Owner

neuhalje commented Mar 7, 2017 via email

@jayceekay
Copy link
Contributor

jayceekay commented Mar 21, 2017

Hi, this might be a silly question, apologies if so.

I've got a project that's using maven as our project/dependency manager and I was hoping to use this library. So far I've taken the settings.xml that JCenter generates from here: https://bintray.com/neuhalje/maven/bouncy-gpg (shown when you click "Set me up") as well as the dependency snippet, but my IDE (IntelliJ) is still unable to resolve the library. I'm not experienced with Gradle nor how to get IntelliJ to recognize the JCenter repository (I thought the settings.xml would handle that) and was wondering if anyone could offer any insights?

EDIT
woops, i was mistaken about how settings.xml works (https://maven.apache.org/settings.html). i tried using it in the project root which is wrong, that file goes in ${maven.home}/conf/settings.xml or ${user.home}/.m2/settings.xml.

dropping this in the root level of pom.xml lets you use this lib in a maven project:

<repositories>
    <repository>
        <id>bintray</id>
        <name>bintray</name>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
        <url>http://dl.bintray.com/neuhalje/maven</url>
    </repository>
</repositories>

and this dependency snippet:

    <dependency>
        <groupId>name.neuhalfen.projects.crypto.bouncycastle.openpgp</groupId>
        <artifactId>bouncy-gpg</artifactId>
        <version>2.0.1</version>
    </dependency>

apologies!

@neuhalje
Copy link
Owner

That was easy :-) I uploaded an example project for maven

@neuhalje neuhalje removed the wontfix label Jan 23, 2020
@neuhalje neuhalje reopened this Jan 23, 2020
@neuhalje
Copy link
Owner

@mike706574: After all these years .. finally

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