• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Maven, how to download AndroMDA

 
Greenhorn
Posts: 1
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm following these instruction http://www.andromda.org/starting.html#Step-by-step to get Maven/andromda working.
My problem is I can't download andromda plugin with the suggested command "maven plugin:download -DgroupId=andromda -DartifactId=maven-andromdapp-plugin -Dversion=3.3"

I have tried this similar command but it still give me some errors.



C:\Users\Lorenzo>mvn plugin:download -DgroupId=andromda -DartifactId=maven-andromdapp-plugin -Dversion=3.4
[INFO] Scanning for projects...
[WARNING] The POM for org.andromda.maven.plugins:andromdapp-maven-plugin:jar:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.andromda.maven.plugins:andromdapp-maven-plugin:3.4-SNAPSHOT: Plugin org.andromda.maven.plugins:andromdapp-maven-plugin:3.4-SN
APSHOT or one of its dependencies could not be resolved: Failure to find org.andromda.maven.plugins:andromdapp-maven-plugin:jar:3.4-SNAPSHOT in http://oss.sonatype.org/content/grou
ps/public was cached in the local repository, resolution will not be reattempted until the update interval of sonatype has elapsed or updates are forced
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.442s
[INFO] Finished at: Sat Aug 24 15:28:38 CEST 2013
[INFO] Final Memory: 7M/152M
[INFO] ------------------------------------------------------------------------
[ERROR] Could not find goal 'download' in plugin org.apache.maven.plugins:maven-plugin-plugin:3.2 among available goals help, addPluginArtifactMetadata, helpmojo, updateRegistry, x
doc, report, descriptor -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException



Following suggestion from here I modifiedC:\Program Files\apache-maven-3.1.0\conf\settings.xml this way:


There is no andromda folder under M2_REPO

mvn clean
mvn install give me another error:

C:\Users\Lorenzo>mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Andromda Installer 3.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.andromda.profiles.uml14:andromda-profile:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml14:andromda-profile-datatype:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml14:andromda-profile-messaging:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml14:andromda-profile-meta:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml14:andromda-profile-persistence:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml14:andromda-profile-presentation:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml14:andromda-profile-process:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml14:andromda-profile-service:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml14:andromda-profile-webservice:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml14:andromda-profile-xml:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml2:andromda-profile:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml2:andromda-profile-datatype:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml2:andromda-profile-messaging:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml2:andromda-profile-meta:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml2:andromda-profile-persistence:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml2:andromda-profile-presentation:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml2:andromda-profile-process:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml2:andromda-profile-service:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml2:andromda-profile-webservice:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.uml2:andromda-profile-xml:xml.zip:3.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.andromda.profiles.emf.uml22:andromda-common:profile.uml:3.4-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.329s
[INFO] Finished at: Sat Aug 24 15:37:47 CEST 2013
[INFO] Final Memory: 5M/120M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project installer: Could not resolve dependencies for project org.andromda:installer:jar:3.4-SNAPSHOT: The following artifacts could not be resolv
ed: org.andromda.profiles.uml14:andromda-profile:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml14:andromda-profile-datatype:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml14:andro
mda-profile-messaging:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml14:andromda-profile-meta:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml14:andromda-profile-persistence:xml.zip
:3.4-SNAPSHOT, org.andromda.profiles.uml14:andromda-profile-presentation:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml14:andromda-profile-process:xml.zip:3.4-SNAPSHOT, org.androm
da.profiles.uml14:andromda-profile-service:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml14:andromda-profile-webservice:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml14:andromda-
profile-xml:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml2:andromda-profile:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml2:andromda-profile-datatype:xml.zip:3.4-SNAPSHOT, org.a
ndromda.profiles.uml2:andromda-profile-messaging:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml2:andromda-profile-meta:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml2:andromda-pr
ofile-persistence:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml2:andromda-profile-presentation:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml2:andromda-profile-process:xml.zip:3
.4-SNAPSHOT, org.andromda.profiles.uml2:andromda-profile-service:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.uml2:andromda-profile-webservice:xml.zip:3.4-SNAPSHOT, org.andromda.pro
files.uml2:andromda-profile-xml:xml.zip:3.4-SNAPSHOT, org.andromda.profiles.emf.uml22:andromda-common:profile.uml:3.4-SNAPSHOT: Failure to find org.andromda.profiles.uml14:andromda
-profile:xml.zip:3.4-SNAPSHOT in http://oss.sonatype.org/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of s
onatype has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
C:\Users\Lorenzo>



I suppose I havo to switch from 3.4-SNAPSHOT to 3.4 but have no idea how to do it. Moreover I have no POM.xml file now, I'm not still working with an app but just checking that everything is ok.

Other info:
Maven 3.1.0, Java jdk 1.7.0_25, Windows 8 64bit, jBoss 7,
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try this command instead:

maven plugin:download -DgroupId=org.andromda.maven.plugins -DartifactId=andromdapp-maven-plugin -Dversion=3.4

Looks like the groupId you were using is for an older location (from 2007).

By the way, it is not necessary to manually download a plugin, just using it in your pom is sufficient to get Maven to download it automatically.
 
Could you hold this puppy for a sec? I need to adjust this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic