$ ls
foo.jar
$ mvn install:install-file -Dfile=foo.jar -DgroupId=foo-group -DartifactId=foo-artifact -Dversion=1 -Dpackaging=jar
pom.xml:
<dependency>
<groupId>foo-group</groupId>
<artifactId>foo-artifact</artifactId>
<version>1</version>
</dependency>
foo.jar
$ mvn install:install-file -Dfile=foo.jar -DgroupId=foo-group -DartifactId=foo-artifact -Dversion=1 -Dpackaging=jar
pom.xml:
<dependency>
<groupId>foo-group</groupId>
<artifactId>foo-artifact</artifactId>
<version>1</version>
</dependency>
No comments:
Post a Comment