[ 
https://issues.apache.org/jira/browse/MINSTALL-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965857#comment-17965857
 ] 

Olivier Lamy commented on MINSTALL-45:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-install-plugin#285|https://github.com/apache/maven-install-plugin/issues/285].
 

> Add documentation to automatically install a maven2 project in a maven1 repo 
> local.
> -----------------------------------------------------------------------------------
>
>                 Key: MINSTALL-45
>                 URL: https://issues.apache.org/jira/browse/MINSTALL-45
>             Project: Maven Install Plugin (Moved to GitHub Issues)
>          Issue Type: Improvement
>          Components: install:install-file
>            Reporter: julien soula
>            Assignee: Robert Scholte
>            Priority: Major
>
> It would be better if we can find it in the Usage link. I use this 
> configuration.
> {code:xml}
> <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>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to