Skip to content

PUBLIC repository that holds maven artifacts that are not available in public maven repositories

Notifications You must be signed in to change notification settings

DimosN/maven-artifacts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

What is this?

This is a repository holding some Maven dependencies that are used in the development process, but are no longer available in the public Maven repositories.

How to add new artifacts?

  • find the JAR that needs to be added
  • create a pom file:
$ mvn org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install-file -Dfile=path-to-file-1.2.3.jar -DgroupId=<groupId> -DartifactId=<artifactId> -Dversion=<version> -Dpackaging=jar -DgeneratePom=true -DcreateChecksum=true
  • copy it from your local maven repository (with the directory structure) from your local maven repository (usually ~/.m2/repository)
  • add it to this repo with appropriate comment
$ cp ~/.m2/repository/<groupId>/<artifactId>/* ./<groupId>/<artifactId>/
git add -A
git commit -m "Add library X"

Using this repository

Add those lines to the pom.xml:

<repositories>
    <repository>
        <id>mvn-repo</id>
        <url>https://raw.githubusercontent.com/imitoag/maven-artifacts/master</url>
        <releases>
            <enabled>true</enabled>
        </releases>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

About

PUBLIC repository that holds maven artifacts that are not available in public maven repositories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published