You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@apache.org> on 2016/02/17 12:10:18 UTC

[jira] [Closed] (MNG-5602) Installs non-existent file into local repository

     [ https://issues.apache.org/jira/browse/MNG-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schulte closed MNG-5602.
----------------------------------
    Resolution: Not A Problem

Please file an issue with the {{maven-install-plugin}} if this is still an issue for you.

> Installs non-existent file into local repository
> ------------------------------------------------
>
>                 Key: MNG-5602
>                 URL: https://issues.apache.org/jira/browse/MNG-5602
>             Project: Maven
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 3.0.4
>         Environment: Win7 Pro SP1 64 Bit, JDK 7u51, MVN-INSTALL-PLUGIN 2.3.1
>            Reporter: Markus Karg
>            Priority: Critical
>
> The Maven Install Plugin 2.3.1 confirms that it successfully installed a file which actually is not existing in neither the SOURCE nor the TARGET location... This is simply confusing people.
> Steps to reproduce:
> * Provide a non-existent SOURCE file to the build-helper-plugin and run mvn install.
> <plugin>
>   <groupId>org.codehaus.mojo</groupId>
>   <artifactId>build-helper-maven-plugin</artifactId>
>   <version>1.8</version>
>   <executions>
>     <execution>
>       <id>attach-exe</id>
>       <phase>package</phase>
>       <goals>
>         <goal>attach-artifact</goal>
>       </goals>
>       <configuration>
>         <artifacts>
>           <artifact>
>             <file>FOO</file>
>             <type>BAR</type>
>           </artifact>
>         </artifacts>
>       </configuration>
>     </execution>
>   </executions>
> </plugin>
> The result is an info that the file got actually installed -- which is obviously NOT the case:
> [INFO] Installing C:\Users\me\workspace\Bug\FOO to C:\Users\me\.m2\repository\my\group\the-artifact\version-SNAPSHOT\the-artifact-version-SNAPSHOT.BAR



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)