non originality pom.xml on install or deploy
--------------------------------------------

         Key: MNG-1714
         URL: http://jira.codehaus.org/browse/MNG-1714
     Project: Maven 2
        Type: Bug
  Components: maven-install-plugin  
    Versions: 2.0    
 Environment: windown 2000
    Reporter: pinghe
    Priority: Critical
 Attachments: maven.error.png

for example my-test-plugin.

pom.xml:

<project>
        <modelVersion>4.0.0</modelVersion>
        <groupId>my.test</groupId>
        <artifactId>mytest-plugin-parent</artifactId>
        <packaging>pom</packaging>
        <version>${my.project.version}</version>
        <url>http://${my.project.site.ip}/projects/mytest</url>
        <properties>
                <my.project.site.ip>10.0.0.1</my.project.site.ip>
                <my.project.version>1.0</my.project.version>
        </properties>
</project>

---------------------------------
installed.

mytest-plugin-parent-1.0.pom :
<project>
        <modelVersion>4.0.0</modelVersion>
        <groupId>my.test</groupId>
        <artifactId>mytest-plugin-parent</artifactId>
        <packaging>pom</packaging>
        <version>${my.project.version}</version> -------------------without 
replace
        <url>http://${my.project.site.ip}/projects/mytest</url> 
------------------- without replace
        <properties>
                <my.project.site.ip>10.0.0.1</my.project.site.ip>
                <my.project.version>1.0</my.project.version>
        </properties>
</project>

should similarity exported-pom.xml content.

<version>1.0</version> -------------------replace
<url>http://10.0.0.1/projects/mytest</url> ------------------- replace


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to