svn commit: r19855 - trunk: src/argouml-app tools/maven

[email protected] Fri, 30 Dec 2011 05:07:00 -0800 (PST)
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: linus
Date: 2011-12-30 05:07:00-0800
New Revision: 19855

Modified:
   trunk/src/argouml-app/pom.xml
   trunk/tools/maven/parentpom.xml

Log:
Allow to run the application from maven.

Modified: trunk/src/argouml-app/pom.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/pom.xml?view=diff&pathrev=19855&r1=19854&r2=19855
==============================================================================
--- trunk/src/argouml-app/pom.xml	(original)
+++ trunk/src/argouml-app/pom.xml	2011-12-30 05:07:00-0800
@@ -40,7 +40,7 @@
       <groupId>commons-logging</groupId>
       <artifactId>commons-logging</artifactId>
       <version>1.0.2-6</version>
-      <scope>test</scope>
+      <scope>runtime</scope>
     </dependency>
 
     <dependency>
@@ -105,7 +105,7 @@
       <groupId>org.argouml</groupId>
       <artifactId>argouml-mdr</artifactId>
       <version>${project.version}</version>
-      <scope>test</scope>
+      <scope>runtime</scope>
     </dependency>
 
     <dependency>
@@ -113,7 +113,7 @@
       <artifactId>java-interfaces</artifactId>
       <version>0.33.1</version>
       <type>jar</type>
-      <scope>test</scope>
+      <scope>runtime</scope>
     </dependency>
 
     <dependency>
@@ -121,42 +121,42 @@
       <artifactId>jmi</artifactId>
       <version>1.0-5</version>
       <type>jar</type>
-      <scope>test</scope>
+      <scope>runtime</scope>
     </dependency>
     <dependency>
       <groupId>jmi</groupId>
       <artifactId>mof</artifactId>
       <version>0.0-5</version>
       <type>jar</type>
-      <scope>test</scope>
+      <scope>runtime</scope>
     </dependency>
     <dependency>
       <groupId>org.netbeans.mdr</groupId>
       <artifactId>jmiutils</artifactId>
       <version>0.0-5</version>
       <type>jar</type>
-      <scope>test</scope>
+      <scope>runtime</scope>
     </dependency>
     <dependency>
       <groupId>org.netbeans.mdr</groupId>
       <artifactId>mdrapi</artifactId>
       <version>0.0-5</version>
       <type>jar</type>
-      <scope>test</scope>
+      <scope>runtime</scope>
     </dependency>
     <dependency>
       <groupId>org.netbeans.mdr</groupId>
       <artifactId>openide-util</artifactId>
       <version>0.0-5</version>
       <type>jar</type>
-      <scope>test</scope>
+      <scope>runtime</scope>
     </dependency>
     <dependency>
       <groupId>org.netbeans.mdr</groupId>
       <artifactId>nbmdr</artifactId>
       <version>0.0-5</version>
       <type>jar</type>
-      <scope>test</scope>
+      <scope>runtime</scope>
     </dependency>
 
     <!-- Other test stuff -->

Modified: trunk/tools/maven/parentpom.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tools/maven/parentpom.xml?view=diff&pathrev=19855&r1=19854&r2=19855
==============================================================================
--- trunk/tools/maven/parentpom.xml	(original)
+++ trunk/tools/maven/parentpom.xml	2011-12-30 05:07:00-0800
@@ -125,6 +125,14 @@
 				<artifactId>maven-assembly-plugin</artifactId>
 				<version>2.2-beta-2</version>
 			</plugin>
+
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>exec-maven-plugin</artifactId>
+				<configuration>
+					<mainClass>org.argouml.application.Main</mainClass>
+				</configuration>
+			</plugin>
 		</plugins>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2902484

To unsubscribe from this discussion, e-mail: [[email protected]].