You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2008/03/10 16:46:07 UTC

[jira] Updated: (WW-2542) maven build for multiproject fails because of ${pom.version} entry in struts2-apps-2.0.11.pom

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

Antonio Petrelli updated WW-2542:
---------------------------------

    Resolution: Won't Fix  (was: Fixed)
        Status: Resolved  (was: Closed)

Changed the resolution to "Won't fix", it is more appropriate :-)

> maven build for multiproject fails because of ${pom.version} entry in struts2-apps-2.0.11.pom
> ---------------------------------------------------------------------------------------------
>
>                 Key: WW-2542
>                 URL: https://issues.apache.org/struts/browse/WW-2542
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Build Management
>    Affects Versions: 2.0.11
>         Environment: maven 2, Struts 2.0.11, Eclipse 3.3.0
>            Reporter: Volker Karlmeier
>            Priority: Critical
>
> When building a Project with parent entry
>  <parent>
>     <artifactId>struts2-apps</artifactId>
>     <groupId>org.apache.struts</groupId>
>     <version>2.0.11</version>
>   </parent>
> build fails, because struts2-apps.2.0.11.pom contains entry
>  <dependency>
>             <groupId>org.apache.struts</groupId>
>             <artifactId>struts2-core</artifactId>
>             <version>${pom.version}</version>
>         </dependency>
> when using multiproject build, ${pom.version} is replaced by the version of the parent pom.
> If there is one than more parent, and the pom.xml of the parent of the project that includes the dependency to
> struts2-core (for example) has the version 1.0.0, maven searches for
> struts2-core-1.0.0, which of couse is not found.
> Better insert real Version number into pom. 
> Thanx

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Updated: (WW-2542) maven build for multiproject fails because of ${pom.version} entry in struts2-apps-2.0.11.pom

Posted by James Mitchell <jm...@gmail.com>.
good catch!

On Mon, Mar 10, 2008 at 11:46 AM, Antonio Petrelli (JIRA)
<ji...@apache.org> wrote:
>
>      [ https://issues.apache.org/struts/browse/WW-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
>  Antonio Petrelli updated WW-2542:
>  ---------------------------------
>
>     Resolution: Won't Fix  (was: Fixed)
>         Status: Resolved  (was: Closed)
>
>  Changed the resolution to "Won't fix", it is more appropriate :-)
>
>  > maven build for multiproject fails because of ${pom.version} entry in struts2-apps-2.0.11.pom
>  > ---------------------------------------------------------------------------------------------
>  >
>  >                 Key: WW-2542
>  >                 URL: https://issues.apache.org/struts/browse/WW-2542
>  >             Project: Struts 2
>  >          Issue Type: Bug
>  >          Components: Build Management
>  >    Affects Versions: 2.0.11
>  >         Environment: maven 2, Struts 2.0.11, Eclipse 3.3.0
>  >            Reporter: Volker Karlmeier
>  >            Priority: Critical
>  >
>  > When building a Project with parent entry
>  >  <parent>
>  >     <artifactId>struts2-apps</artifactId>
>  >     <groupId>org.apache.struts</groupId>
>  >     <version>2.0.11</version>
>  >   </parent>
>  > build fails, because struts2-apps.2.0.11.pom contains entry
>  >  <dependency>
>  >             <groupId>org.apache.struts</groupId>
>  >             <artifactId>struts2-core</artifactId>
>  >             <version>${pom.version}</version>
>  >         </dependency>
>  > when using multiproject build, ${pom.version} is replaced by the version of the parent pom.
>  > If there is one than more parent, and the pom.xml of the parent of the project that includes the dependency to
>  > struts2-core (for example) has the version 1.0.0, maven searches for
>  > struts2-core-1.0.0, which of couse is not found.
>  > Better insert real Version number into pom.
>  > Thanx
>
>  --
>  This message is automatically generated by JIRA.
>  -
>  You can reply to this email to add a comment to the issue online.
>
>



-- 
James Mitchell

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org