Reputation: 2627
How does my firm get a jar into a maven repo so maven projects can access it from inhouse.
Can someone please point me to a good step by step details on how to do the following
Make a jar with Maven Get the jar installed into a local maven repo
Upvotes: 0
Views: 99
Reputation:
Install your own repository server inside your own network, I use Archiva. This is the most ideal solution, then you can set up Mavenized projects to automatically upload themselves to your private repository when you do mvn:release
and everyone will see the new versions. How to use Archiva is all very well documented.
You can publish public facing open source code through Sonatype.
If you just want to install a .jar
locally that is easy and well documented.
mvn install:install-file -Dfile=path-to-your-artifact-jar \
-DgroupId=your.groupId \
-DartifactId=your-artifactId \
-Dversion=version \
-Dpackaging=jar
Upvotes: 5