[ 
http://jira.codehaus.org/browse/MINSTALL-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg updated MINSTALL-45:
------------------------------------

    Component/s: install:install-file

> Add documentation to automatically install a maven2 project in a maven1 repo 
> local.
> -----------------------------------------------------------------------------------
>
>                 Key: MINSTALL-45
>                 URL: http://jira.codehaus.org/browse/MINSTALL-45
>             Project: Maven 2.x Install Plugin
>          Issue Type: Improvement
>          Components: install:install-file
>            Reporter: Jérémy Soula
>
> 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to