DICE-UNC / jargon

Jargon core libraries
Other
28 stars 31 forks source link

Publish Jargon libraries to official Maven repository #241

Open markehammons opened 7 years ago

markehammons commented 7 years ago

I've been creating a custom version of jargon that I've published to a self-hosted nexus server for my work, but it'd be easier for me to use, and develop using jargon if the jargon jars were publish to Maven Central. Or at least were published to a repository accessible by maven, sbt, gradle and other tools.

michael-conway commented 7 years ago

I'd like to do that as well (Maven Central). It comes down to resources and priorities.

Jargon artifacts are available on maven, if you add these repos...


<repository>
            <id>dice.repository snaps</id>
            <name>dice.repository.snapshots</name>
            <url>https://raw.github.com/DICE-UNC/DICE-Maven/master/snapshots</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
                <checksumPolicy>warn</checksumPolicy>
            </snapshots>
        </repository>
        <repository>
            <id>dice.repository</id>
            <name>dice.repository</name>
            <url>https://raw.github.com/DICE-UNC/DICE-Maven/master/releases</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
                <checksumPolicy>warn</checksumPolicy>
            </snapshots>
</repository>
markehammons commented 7 years ago

Thank you, I will try that and see how it works.

markehammons commented 7 years ago

I've tried using your repo, but I can't get the artifacts to fetch. My sbt fetches the metadata for org "org.irods", "jargon", "4.0.2.4-RELEASE", but it can't actually download the jar file. Is there some firewall or configuration issue?

michael-conway commented 7 years ago

I think it's just the release number...see

https://github.com/DICE-UNC/jargon/releases

markehammons commented 7 years ago

My groupid and artifactname were messed up too, thank you for linking that. One thing though, it complains about claymore.tls and globus being missing dependencies. Are they necessary? When I compiled 4.0.2.4 with a modified pom with those dependencies removed (either that or set to runtime), the resulting jar worked fine for me.