You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Volker Karlmeier (JIRA)" <ji...@apache.org> on 2008/03/10 16:16:07 UTC
[jira] Created: (WW-2542) maven build for multiproject fails
because of ${pom.version} entry in struts2-apps-2.0.11.pom
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
[jira] Updated: (WW-2542) maven build for multiproject fails
because of ${pom.version} entry in struts2-apps-2.0.11.pom
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (WW-2542) maven build for multiproject fails because
of ${pom.version} entry in struts2-apps-2.0.11.pom
Posted by "James Mitchell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Mitchell closed WW-2542.
------------------------------
Resolution: Fixed
Hi, sorry, but this is not a bug. Do not use the struts-apps as the parent pom.
Please ask about this on the users list for further clarification.
> 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.
[jira] Closed: (WW-2542) maven build for multiproject fails because
of ${pom.version} entry in struts2-apps-2.0.11.pom
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli closed WW-2542.
--------------------------------
Closed again.
> 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.