Eclipse UML 2 Setup

The current version of the source code is dependent upon an old version of the Eclipse UML2 binaries that are not commonly carried in the global Maven repositories.  As a consequence these jar files need to be manually downloaded from the Eclipse UML2 site and installed in your local Maven repository.

1.Download the UML2 1.1.1 jar files

Go to http://archive.eclipse.org/modeling/mdt/uml2/downloads/drops/1.1.1/R200509282050/

Download the zip fie, uml2-1.1.1.zip

Unzip the contents into a temporary directory, ~/tmp

cd eclipse/plugins

2.Manually install org.eclipse.uml2.common_1.1.1.jar

Issue the following command:

mvn install:install-file -DgroupId=org.eclipse.uml2 -DartifactId=eclipse-uml2-common -Dversion=1.1.1 -Dpackaging=jar -Dfile=./org.eclipse.uml2.common_1.1.1.jar -DgeneratePom=true

This should result output similar to the following:

[INFO] Scanning for projects...

[INFO] Searching repository for plugin with prefix: 'install'.

[INFO] ------------------------------------------------------------------------

[INFO] Building Maven Default Project

[INFO]    task-segment: [install:install-file] (aggregator-style)

[INFO] ------------------------------------------------------------------------

[INFO] [install:install-file {execution: default-cli}]

[INFO] Installing C:\Documents and Settings\user\My Documents\usr\tmp\maven\eclipse\plugins\org.eclipse.uml2.common_1.1.1.jar to C

:\Documents and Settings\user\.m2\repository\org\eclipse\uml2\eclipse-uml2-common\1.1.1\eclipse-uml2-common-1.1.1.jar

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESSFUL

[INFO] ------------------------------------------------------------------------

[INFO] Total time: < 1 second

[INFO] Finished at: Thu Oct 21 20:29:39 BST 2010

[INFO] Final Memory: 3M/6M

[INFO] ------------------------------------------------------------------------


3.Manually install org.eclipse.uml2_1.1.1.jar

Issue the following command:

mvn install:install-file -DgroupId=org.eclipse.uml2 -DartifactId=eclipse-uml2 -Dversion=1.1.1 -Dpackaging=jar -Dfile=./org.eclipse.uml2_1.1.1.jar -DgeneratePom=true

Which will result in output similar to the following:

[INFO] Scanning for projects...

[INFO] Searching repository for plugin with prefix: 'install'.

[INFO] ------------------------------------------------------------------------

[INFO] Building Maven Default Project

[INFO]    task-segment: [install:install-file] (aggregator-style)

[INFO] ------------------------------------------------------------------------

[INFO] [install:install-file {execution: default-cli}]

[INFO] Installing C:\Documents and Settings\user\My Documents\usr\tmp\maven\eclipse\plugins\org.eclipse.uml2_1.1.1.jar to C:\Documents and Settings\user\.m2\repository\org\eclipse\uml2\eclipse-uml2\1.1.1\eclipse-uml2-1.1.1.jar

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESSFUL

[INFO] ------------------------------------------------------------------------

[INFO] Total time: < 1 second

[INFO] Finished at: Thu Oct 21 20:37:41 BST 2010

[INFO] Final Memory: 3M/6M

   [INFO] ------------------------------------------------------------------------