Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
It would be better if we can find it in the Usage link. I use this configuration.
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <executions> <execution> <id>maven1</id> <phase>install</phase> <goals> <goal>install-file</goal> </goals> <configuration> <file>${project.build.directory}/${project.build.finalName}.${project.packaging}</file> <repositoryLayout>legacy</repositoryLayout> <localRepositoryId>local</localRepositoryId> <!--Property to specify in settings.xml --> <!-- If property not set, build not failed but install artifact in the maven2 local repo --> <localRepositoryPath>${maven1.repository.local.path}</localRepositoryPath> <pomFile>pom.xml</pomFile> </configuration> </execution> </executions> </plugin>