java-genomics-io icon indicating copy to clipboard operation
java-genomics-io copied to clipboard

maven repository

Open stawinski opened this issue 12 years ago • 1 comments

Hi, would it be possible to create a maven repository with this project? It would be extremally useful. Thanks, Piotr

PS. please forgive me if I put this comment in a wrong place, I'm not very experienced with github yet.

stawinski avatar Apr 23 '13 13:04 stawinski

If anyone else is looking for a solution, you can compile your local jar using 'ant dist' and then add the jar to your local repository with mvn:

mvn install:install-file -Dfile=java-genomics-io.jar -DgroupId=edu.unc.genomics.io -DartifactId=genomics-io -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true

Subsequently add the dependency to your pom.xml:

    <dependency>
        <groupId>edu.unc.genomics.io</groupId>
        <artifactId>genomics-io</artifactId>
        <version>1.0</version>
    </dependency>

And you need the (outdated) version of log4j:

    <dependency>
        <groupId>log4j</groupId>
        <artifactId>log4j</artifactId>
        <version>1.2.17</version>
    </dependency>

Would be great though if the creator would upload this project to the general maven repo for everyone to use.

menzel avatar Oct 26 '17 09:10 menzel