This will detail the basic steps to create a new Andromda 3.5-SNAPSHOT project
This assumes you have maven 3.x installed and java 1.7
1 - Create a new maven project from the maven archetypes:
mvn archetype:generate -DgroupId=com.mdahatter.androtest -DartifactId=sampleapplication -Dversion=1.0-SNAPSHOT
2 - Accept all of the defaults to create a new project
3 - Navigate into the newly created project folder and edit the pom.xml
4 - Add the following section after the dependencies section:
<build>
<defaultGoal>compile</defaultGoal>
<plugins>
<plugin>
<groupId>org.andromda.maven.plugins</groupId>
<artifactId>andromdapp-maven-plugin</artifactId>
<version>3.5-SNAPSHOT</version>
</plugin>
</plugins>
</build>
5 - edit the /conf/settings.xml file in your maven install directory %M2_HOME% add the following section:
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>sonatype</id>
<name>Sonatype Repository</name>
<url>http://oss.sonatype.org/content/groups/public</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>jboss</id>
<name>JBoss Repository</name>
<url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>sonatype</id>
<name>Sonatype Repository</name>
<url>http://oss.sonatype.org/content/groups/public</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
6 - From this folder run mvn without any arguements. This will download the AndroMDA 3.5-SNAPSHOT plugin for use.
7 - You can delete the folder you just created, you do not need that anymore. The AndroMDA 3.5-SNAPSHOT plugin is now in your mvn repository.
8 - Run the following command to create a new Andromda project:
mvn org.andromda.maven.plugins:andromdapp-maven-plugin:3.5-SNAPSHOT:generate