svn commit: r18517 - trunk: src/argouml-core-model tools/maven

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: linus
Date: 2010-07-15 22:57:51-0700
New Revision: 18517

Added:
   trunk/src/argouml-core-model/pom.xml
   trunk/tools/maven/   (props changed)
   trunk/tools/maven/parentpom-for-modules.xml
   trunk/tools/maven/parentpom.xml
   trunk/tools/maven/toppom.xml
Modified:
   trunk/src/argouml-core-model/   (props changed)

Log:
Adding first attempt at maven poms for the nightly build.

Added: trunk/src/argouml-core-model/pom.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model/pom.xml?view=markup&pathrev=18517
==============================================================================
--- (empty file)
+++ trunk/src/argouml-core-model/pom.xml	2010-07-15 22:57:51-0700
@@ -0,0 +1,20 @@
+<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/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <!-- 
+    Experimenting with maven for the nightly build.
+  -->
+
+  <parent>
+    <groupId>org.argouml</groupId>
+    <artifactId>parentpom</artifactId>
+    <version>0.1</version>
+    <relativePath>../../tools/maven/parentpom.xml</relativePath>
+  </parent>
+
+  <artifactId>argouml-core-model</artifactId>
+
+</project>

Added: trunk/tools/maven/parentpom-for-modules.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tools/maven/parentpom-for-modules.xml?view=markup&pathrev=18517
==============================================================================
--- (empty file)
+++ trunk/tools/maven/parentpom-for-modules.xml	2010-07-15 22:57:51-0700
@@ -0,0 +1,41 @@
+<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/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <!-- 
+    Experimenting with maven for the nightly build.
+  -->
+
+  <!--
+    This contains things (relative paths) that are different for modules
+    i.e. for things not under argouml/src/blabla but under argouml-modules.
+  -->
+
+  <groupId>org.argouml</groupId>
+  <artifactId>parentpom-for-modules</artifactId>
+  <version>0.1</version>
+  <packaging>pom</packaging>
+
+  <parent>
+    <groupId>org.argouml</groupId>
+    <artifactId>parentpom</artifactId>
+    <version>0.1</version>
+    <relativePath>parentpom.xml</relativePath>
+  </parent>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>2.5</version>
+        <configuration>
+          <configLocation>${basedir}/../argouml/tools/checkstyle/checkstyle5_argouml.xml</configLocation>
+        </configuration>
+      </plugin>
+    </plugins>
+  </reporting>
+
+</project>

Added: trunk/tools/maven/parentpom.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tools/maven/parentpom.xml?view=markup&pathrev=18517
==============================================================================
--- (empty file)
+++ trunk/tools/maven/parentpom.xml	2010-07-15 22:57:51-0700
@@ -0,0 +1,71 @@
+<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/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <!-- 
+    Experimenting with maven for the nightly build.
+  -->
+
+  <groupId>org.argouml</groupId>
+  <artifactId>parentpom</artifactId>
+  <version>0.1</version>
+  <packaging>pom</packaging>
+
+  <repositories>
+    <repository>
+      <id>argouml</id>
+      <name>ArgoUML Release Repository</name>
+      <layout>default</layout>
+      <url>http://argouml-downloads.tigris.org/maven2</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+    </repository>
+  </repositories>
+
+  <build>
+    <sourceDirectory>${project.basedir}/src</sourceDirectory>
+    <testSourceDirectory>${project.basedir}/tests</testSourceDirectory>
+    <resources>
+      <resource>
+        <directory>${project.basedir}/src</directory>
+      </resource>
+    </resources>
+    <testResources>
+      <testResource>
+        <directory>${project.basedir}/tests</directory>
+      </testResource>
+    </testResources>
+
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>2.5</version>
+        <configuration>
+          <configLocation>${basedir}/../../tools/checkstyle/checkstyle5_argouml.xml</configLocation>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+        <version>2.3.1</version>
+      </plugin>
+    </plugins>
+  </reporting>
+
+</project>

Added: trunk/tools/maven/toppom.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tools/maven/toppom.xml?view=markup&pathrev=18517
==============================================================================
--- (empty file)
+++ trunk/tools/maven/toppom.xml	2010-07-15 22:57:51-0700
@@ -0,0 +1,20 @@
+<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/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <!-- 
+    Experimenting with maven for the nightly build.
+  -->
+
+  <groupId>org.argouml</groupId>
+  <artifactId>allArgoUMLProjects</artifactId>
+  <version>0.1</version>
+  <packaging>pom</packaging>
+
+  <modules>
+    <module>../../src/argouml-core-model</module>
+    <module>../../../argouml-actionscript3</module>
+  </modules>
+</project>

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

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.