Install file to local repository.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 16 Feb 2017 21:44:42 +0200
changeset 2089 8cb9302cc62b
parent 2088 e42e4484ff0b
child 2090 1a788101d63c
Install file to local repository.
maven.rst
--- a/maven.rst	Thu Feb 16 21:36:36 2017 +0200
+++ b/maven.rst	Thu Feb 16 21:44:42 2017 +0200
@@ -146,6 +146,18 @@
 
   $ mvn -N deploy
 
+Install file to local repository
+================================
+::
+
+  $ mvn install:install-file -Dfile=... -DgroupId=... -DartifactId=... -Dversion=...
+
+Additional option provides packaging type (JAR/WAR), source and javadoc files::
+
+  -Dpackaging=...
+  -Dsource=...
+  -Djavadoc=...
+
 Run Ant from Maven.
 ===================