[ http://jira.codehaus.org/browse/MINSTALL-29?page=comments#action_71206 ] 
            
Joseph Campolongo commented on MINSTALL-29:
-------------------------------------------

I've run into this same problem running with maven-install-plugin v2.1.  I 
cannot find v2.2-SNAPSHOT anywhere to try.

> Can't use maven-install-plugin with <goal>install-file</goal> in POM
> --------------------------------------------------------------------
>
>                 Key: MINSTALL-29
>                 URL: http://jira.codehaus.org/browse/MINSTALL-29
>             Project: Maven 2.x Install Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: WinXP, running M2 in Cygwin
>            Reporter: Brad Harper
>            Priority: Minor
>
> This issue is related  to another I submitted recently.  In fact, the earlier 
> issue was encounted
> in an earlier attempt to get the same results. (see bottom, below.)
> Consider the POM descriptor containing
> <pluginRepositories>
>   <pluginRepository>
>     <id>snapshots</id>
>     <url>http://svn.apache.org/maven-snapshot-repository</url>
>   </pluginRepository>
> </pluginRepositories>
>   <build>
>     <plugins>
>       <plugin>
>         <artifactId>maven-install-plugin</artifactId>
>         <version>2.2-SNAPSHOT</version>
>         <executions>
>           <execution>
>             <id>install-library</id>
>             <phase>install</phase>
>             <goals>
>               <goal>install-file</goal>
>             </goals>
>             <configuration>
>               <groupId>com.epsiia.dxr.third-party</groupId>
>               
> <artifactId>dxr-third-party-WINDOWS-X86-com-emc-centera-fplibrary-lib</artifactId>
>               <version>2.0SP1</version>
>               <packaging>lib</packaging>
>               <file>FPLibrary.lib</file>
>             </configuration>
>           </execution>
>         </executions>
>       </plugin>
>     </plugins>
>   </build>
> M2 fails to build in this project because all </configuration> elements are 
> read-only.  [I'm attempting
> to use the 2.2-SNAPSHOT because I get the same error in stable versions. ]
> Shouldn't this execution be allowable and equivalent to the CLI invocation
>    % mvn install:install-file -DgroupId=com.epsiia.dxr.third-party ..
> I'm trying to create a mind-numbingly simple environment, so that other 
> less-experienced developers
> aren't required to know which of the third-party libraries need to be 
> manually installed via once-only
> occurances should the local repository need to be re-constructed.

-- 
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