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
 Assigned to: 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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Reply via email to