You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ondrej Par (JIRA)" <ji...@codehaus.org> on 2008/04/22 13:58:55 UTC

[jira] Created: (MNG-3538) Properties inside are not replaced in resulting POM

Properties inside <dependency> are not replaced in resulting POM
----------------------------------------------------------------

                 Key: MNG-3538
                 URL: http://jira.codehaus.org/browse/MNG-3538
             Project: Maven 2
          Issue Type: Bug
    Affects Versions: 2.0.9
            Reporter: Ondrej Par


When I use the following dependency definition, the correct classifier is used during build; however, when the project POM file is deployed to the repository, it still contains the property name, not the replaced value:

    	<dependency>
    		<groupId>someGroup</groupId>
    		<artifactId>someArtifact</artifactId>
    		<version>3.3.0</version>
    		<classifier>${myproperty.arch}</classifier>
    	</dependency>


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

        

[jira] Updated: (MNG-3538) Properties inside are not replaced in resulting POM

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3538:
------------------------------

    Fix Version/s: 2.1

> Properties inside <dependency> are not replaced in resulting POM
> ----------------------------------------------------------------
>
>                 Key: MNG-3538
>                 URL: http://jira.codehaus.org/browse/MNG-3538
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Ondrej Par
>             Fix For: 2.1
>
>
> When I use the following dependency definition, the correct classifier is used during build; however, when the project POM file is deployed to the repository, it still contains the property name, not the replaced value:
>     	<dependency>
>     		<groupId>someGroup</groupId>
>     		<artifactId>someArtifact</artifactId>
>     		<version>3.3.0</version>
>     		<classifier>${myproperty.arch}</classifier>
>     	</dependency>

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

        

[jira] Updated: (MNG-3538) Properties inside are not replaced in resulting POM

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-3538:
-----------------------------------

    Fix Version/s:     (was: 2.2.0)

> Properties inside <dependency> are not replaced in resulting POM
> ----------------------------------------------------------------
>
>                 Key: MNG-3538
>                 URL: http://jira.codehaus.org/browse/MNG-3538
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Ondrej Par
>            Assignee: John Casey
>
> When I use the following dependency definition, the correct classifier is used during build; however, when the project POM file is deployed to the repository, it still contains the property name, not the replaced value:
>     	<dependency>
>     		<groupId>someGroup</groupId>
>     		<artifactId>someArtifact</artifactId>
>     		<version>3.3.0</version>
>     		<classifier>${myproperty.arch}</classifier>
>     	</dependency>

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

        

[jira] Commented: (MNG-3538) Properties inside are not replaced in resulting POM

Posted by "Liya Katz (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179139#action_179139 ] 

Liya Katz commented on MNG-3538:
--------------------------------

Same problem with properties inside <parent>

> Properties inside <dependency> are not replaced in resulting POM
> ----------------------------------------------------------------
>
>                 Key: MNG-3538
>                 URL: http://jira.codehaus.org/browse/MNG-3538
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Ondrej Par
>             Fix For: 3.x
>
>
> When I use the following dependency definition, the correct classifier is used during build; however, when the project POM file is deployed to the repository, it still contains the property name, not the replaced value:
>     	<dependency>
>     		<groupId>someGroup</groupId>
>     		<artifactId>someArtifact</artifactId>
>     		<version>3.3.0</version>
>     		<classifier>${myproperty.arch}</classifier>
>     	</dependency>

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

        

[jira] Closed: (MNG-3538) Properties inside are not replaced in resulting POM

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MNG-3538.
---------------------------

         Assignee: John Casey
       Resolution: Duplicate
    Fix Version/s:     (was: 3.x)
                   2.2.0

This issue duplicates the reports in MNG-3057 and MNG-4167. We're tracking current progress in MNG-4167.

> Properties inside <dependency> are not replaced in resulting POM
> ----------------------------------------------------------------
>
>                 Key: MNG-3538
>                 URL: http://jira.codehaus.org/browse/MNG-3538
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Ondrej Par
>            Assignee: John Casey
>             Fix For: 2.2.0
>
>
> When I use the following dependency definition, the correct classifier is used during build; however, when the project POM file is deployed to the repository, it still contains the property name, not the replaced value:
>     	<dependency>
>     		<groupId>someGroup</groupId>
>     		<artifactId>someArtifact</artifactId>
>     		<version>3.3.0</version>
>     		<classifier>${myproperty.arch}</classifier>
>     	</dependency>

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