[ http://jira.andromda.org/browse/EJB-61?page=all ] Vance Karimi closed EJB-61: ---------------------------
Resolution: Fixed Fix checked into cvs. > AndroMDApp generated EJB3+Seam project incorrectly puts uml14 in dependencies > when you have asked for uml2 > ---------------------------------------------------------------------------------------------------------- > > Key: EJB-61 > URL: http://jira.andromda.org/browse/EJB-61 > Project: EJB Cartridge > Type: Bug > Reporter: Leandro Hermida > Assignee: Vance Karimi > > When building a EJB3+Seam project using andromdapp I specified to use uml2 > for the modeling but in the project pom.xml and the mda/pom.xml it > incorrectly puts uml14: > In pom.xml: > <dependencyManagement> > <dependencies> > <dependency> > <groupId>org.andromda.profiles.uml2</groupId> > <artifactId>andromda-profile</artifactId> > <version>3.3-SNAPSHOT</version> > <type>xml.zip</type> > <scope>runtime</scope> > </dependency> > <dependency> > <groupId>org.andromda.profiles.uml14</groupId> > <artifactId>andromda-profile-seam</artifactId> > <version>1.1-SNAPSHOT</version> > <type>xml.zip</type> > <scope>runtime</scope> > </dependency> > ... > In mda/pom.xml: > <dependencies> > <dependency> > <groupId>org.andromda.profiles.uml2</groupId> > <artifactId>andromda-profile</artifactId> > <type>xml.zip</type> > </dependency> > <dependency> > <groupId>org.andromda.profiles.uml14</groupId> > <artifactId>andromda-profile-seam</artifactId> > <type>xml.zip</type> > </dependency> > ... > This causes the build (mvn install) to fail with: > Downloading: > http://team.andromda.org/maven2/org/andromda/profiles/uml14/andromda-profile-seam/1.1-SNAPSHOT/andromda-profile-seam-1.1-SNAPSHOT.xml.zip > [WARNING] Unable to get resource > 'org.andromda.profiles.uml14:andromda-profile-seam:xml.zip:1.1-SNAPSHOT' from > repository andromda (http://team.andromda.org/maven2) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > Missing: > ---------- > 1) org.andromda.profiles.uml14:andromda-profile-seam:xml.zip:1.1-SNAPSHOT > Try downloading the file manually from the project website. > Then, install it using the command: > mvn install:install-file -DgroupId=org.andromda.profiles.uml14 > -DartifactId=andromda-profile-seam \ > -Dversion=1.1-SNAPSHOT -Dpackaging=xml.zip -Dfile=/path/to/file > Path to dependency: > 1) org.fmi.test:test-mda:pom:1.0 > 2) > org.andromda.profiles.uml14:andromda-profile-seam:xml.zip:1.1-SNAPSHOT > ---------- > 1 required artifact is missing. > for artifact: > org.fmi.test:test-mda:pom:1.0 > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > andromda (http://team.andromda.org/maven2) > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4 seconds > [INFO] Finished at: Tue Jun 19 15:48:09 CEST 2007 > [INFO] Final Memory: 9M/254M > [INFO] > ------------------------------------------------------------------------ -- 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/