[ http://jira.andromda.org/browse/EJB-64?page=comments#action_14530 ] 

Vance Karimi commented on EJB-64:
---------------------------------

Can you make sure your AndroMDA 3.3-SNAPSHOT source is up to date and freshly 
built. Then use the andromdapp generator to generate an ejb3 + seam sample 
project.  Build that and see if you still get this problem.  I cannot replicate 
it.  

It may possibly be due to the wrong dependency of the profile in the pom.xml 
(uml1.4 profiles in uml2 projects rather than uml2 profiles) - prior to the fix 
made a couple of days ago.

Lastly, if you still cannot get it working, maybe try cleaning your M2 
repo/andromda folder and give it another try.

Pls confirm when you can.

> Seam project won't build: missing andromda-plugins-profiles
> -----------------------------------------------------------
>
>          Key: EJB-64
>          URL: http://jira.andromda.org/browse/EJB-64
>      Project: EJB Cartridge
>         Type: Bug

>     Reporter: Leandro Hermida
>     Assignee: Vance Karimi
>     Priority: Blocker
>  Attachments: andromda-plugins-profiles-uml2-1.0-SNAPSHOT.pom
>
> When building my first Seam project (mvn install), I get the following error 
> because it cannot find a dependency:
> Downloading: 
> http://team.andromda.org/maven2/org/andromda/profiles/uml2/andromda-plugins-profiles-uml2/1.0-SNAPSHOT/andromda-plugins-profiles-uml2-1.0-SNAPSHOT.pom
> [WARNING] Unable to get resource 
> 'org.andromda.profiles.uml2:andromda-plugins-profiles-uml2:pom:1.0-SNAPSHOT' 
> from repository andromda (http://team.andromda.org/maven2)
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> GroupId: org.andromda.profiles.uml2
> ArtifactId: andromda-plugins-profiles-uml2
> Version: 1.0-SNAPSHOT
> Reason: Unable to download the artifact from any repository
>   org.andromda.profiles.uml2:andromda-plugins-profiles-uml2:pom:1.0-SNAPSHOT
> 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: 2 seconds
> [INFO] Finished at: Wed Jun 20 11:41:14 CEST 2007
> [INFO] Final Memory: 7M/254M
> [INFO] 
> ------------------------------------------------------------------------
> Examining further it is the andromda-profile-seam-1.1-SNAPSHOT that requires 
> this dependency.  In 
> $M2_REPO/org/andromda/profiles/uml2/andromda-profile-seam/1.1-SNAPSHOT/andromda-profile-seam-1.1-SNAPSHOT.pom:
> <project xmlns="http://maven.apache.org/POM/4.0.0"; 
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/maven-v4_0_0.xsd";>
>     <modelVersion>4.0.0</modelVersion>
>     <parent>
>         <groupId>org.andromda.profiles.uml2</groupId>
>         <artifactId>andromda-plugins-profiles-uml2</artifactId>
>         <version>1.0-SNAPSHOT</version>
>     </parent>
>     <packaging>xml.zip</packaging>
>     <artifactId>andromda-profile-seam</artifactId>
>     <name>AndroMDA Plugins UML 2.0 Seam Profile</name>
>     <version>1.1-SNAPSHOT</version>
>     <description>Seam UML 2.0 profile which can be used with the AndroMDA 
> Seam-EJB3 cartridges</description>
> </project>
> Where do I get or build andromda-plugins-profiles-uml2-1.0-SNAPSHOT?  It 
> seems to me that it should be like the parent of the core andromda profiles, 
> andromda-profiles-uml2-3.3-SNAPSHOT.  The 
> andromda-profiles-uml2-3.3-SNAPSHOT.pom file looks like this:
> <project>
>     <modelVersion>4.0.0</modelVersion>
>     <parent>
>         <groupId>org.andromda.profiles</groupId>
>         <artifactId>andromda-profiles</artifactId>
>         <version>3.3-SNAPSHOT</version>
>     </parent>
>     <groupId>org.andromda.profiles.uml2</groupId>
>     <artifactId>andromda-profiles-uml2</artifactId>
>     <name>AndroMDA UML 2.0 Profile</name>
>     <packaging>pom</packaging>
>       <description>
>         Contains the AndroMDA UML 2.0 profiles.
>     </description>
>     <build>
>         <plugins>
>             <plugin>
>                 <groupId>org.andromda.maven.plugins</groupId>
>                 <artifactId>andromda-model-archiver-plugin</artifactId>
>             </plugin>
>         </plugins>
>     </build>
>     <modules>
>         <module>common</module>
>         <module>datatype</module>
>         <module>messaging</module>
>         <module>meta</module>
>         <module>persistence</module>
>         <module>presentation</module>
>         <module>process</module>
>         <module>service</module>
>         <module>webservice</module>
>         <module>xml</module>
>     </modules>
> </project>
> How should I create andromda-plugins-profiles-uml2-1.0-SNAPSHOT?  Like this 
> maybe?
> <project>
>     <modelVersion>4.0.0</modelVersion>
>     <parent>
>         <groupId>org.andromda.profiles</groupId>
>         <artifactId>andromda-profiles</artifactId>
>         <version>3.3-SNAPSHOT</version>
>     </parent>
>     <groupId>org.andromda.profiles.uml2</groupId>
>     <artifactId>andromda-plugins-profiles-uml2</artifactId>
>     <name>AndroMDA Plugins UML 2.0 Profile</name>
>     <packaging>pom</packaging>
>       <description>
>         Contains the AndroMDA Plugins UML 2.0 profiles.
>     </description>
>     <build>
>         <plugins>
>             <plugin>
>                 <groupId>org.andromda.maven.plugins</groupId>
>                 <artifactId>andromda-model-archiver-plugin</artifactId>
>             </plugin>
>         </plugins>
>     </build>
>     <modules>
>         <module>seam</module>
>     </modules>
> </project>
> Thanks,
> Leandro

-- 
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/

Reply via email to