[ http://jira.andromda.org/browse/ANDROMDAPP-28?page=comments#action_14920 ]
Nicolas Pace commented on ANDROMDAPP-28: ---------------------------------------- You can solve this problem by modifying this file org/andromda/andromdapp/projects/andromda-andromdapp-project-j2ee-maven2/3.2/andromda-andromdapp-project-j2ee-maven2-3.2.jar!/templates/j2ee/maven2/app/pom.xml.svl you have to add 2 lines, below line n° 17: <artifactid>${applicationId}-common</artifactid> you have to add this line: <version>${pom.version}</version> and below line 36: <artifactId>commons-digester</artifactId> add this one: <version>1.7</version> > Missing version numbers in app/pom.xml > -------------------------------------- > > Key: ANDROMDAPP-28 > URL: http://jira.andromda.org/browse/ANDROMDAPP-28 > Project: AndroMDApp Project Generator > Type: Bug > Versions: 3.2-RC1 > Reporter: Sebastien Arbogast > Assignee: Chad Brandon > > When running the last snapshot of Maven Idea plugin on the root on a > AndroMDApp 3.2-SNAPSHOT-generated project produces an error, saying that 2 > dependencies are missing version numbers in App module. And that's true: in > dependencyManagement section, both timetracker-common and commons-digester > don't have a version specified. > One may think that it's OK because those versions are specified in the root > POM and they should be inherited but it's not the case because we're in a > dependencyManagement section, not a dependencies one. And I think that in > dependencyManagement, there should always be a version number specified. > Strangely, it doesn't make install fail, only idea project file generation. > Hence I think that in the generated app/pom.xml, the dependencyManagement > should be generated like this for idea:idea to succeed: > <dependencyManagement> > <dependencies> > <dependency> > <groupId>${pom.groupId}</groupId> > <artifactId>timetracker-common</artifactId> > <exclusions> > <exclusion> > <groupId>${pom.groupId}</groupId> > <artifactId>timetracker-mda</artifactId> > </exclusion> > <exclusion> > <groupId>org.andromda.profiles.uml14</groupId> > <artifactId>andromda-profile</artifactId> > </exclusion> > <exclusion> > <groupId>log4j</groupId> > <artifactId>log4j</artifactId> > </exclusion> > </exclusions> > <version>${pom.version}</version> > </dependency> > <dependency> > <groupId>commons-digester</groupId> > <artifactId>commons-digester</artifactId> > <exclusions> > <exclusion> > <groupId>xml-apis</groupId> > <artifactId>xml-apis</artifactId> > </exclusion> > </exclusions> > <version>1.7</version> > </dependency> > </dependencies> > </dependencyManagement> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/