[ http://jira.andromda.org/browse/ANDROMDAPP-28?page=all ]

Nicolas Pace updated ANDROMDAPP-28:
-----------------------------------

    Attachment: pom.xml.vsl

> 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
>  Attachments: pom.xml.vsl
>
> 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/

Reply via email to