Author: phidias Date: 2011-08-10 21:53:17-0700 New Revision: 19658 Modified: trunk/tools/maven/parentpom.xml
Log: Task 6348: Get the POM working http://argouml.tigris.org/issues/show_bug.cgi?id=6348 Modified: trunk/tools/maven/parentpom.xml Url: http://argouml.tigris.org/source/browse/argouml/trunk/tools/maven/parentpom.xml?view=diff&pathrev=19658&r1=19657&r2=19658 ============================================================================== --- trunk/tools/maven/parentpom.xml (original) +++ trunk/tools/maven/parentpom.xml 2011-08-10 21:53:17-0700 @@ -1,183 +1,185 @@ -<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 +<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> + <modelVersion>4.0.0</modelVersion> - <!-- - Experimenting with maven for the nightly build. - --> - - <groupId>org.argouml</groupId> - <artifactId>parentpom</artifactId> - <!-- As of 2011-05-29 Linus Tolke has not figured out how - this pom can be included in the automatic updates - of the version number. Until that is resolved - references to this pom need to updated manually - when this changes and no snapshot versions are - possible. - --> - <version>0.5</version> - <packaging>pom</packaging> - <name>parentpom</name> - <description> + <!-- Experimenting with maven for the nightly build. --> + + <groupId>org.argouml</groupId> + <artifactId>parentpom</artifactId> + <!-- As of 2011-05-29 Linus Tolke has not figured out how this pom can be + included in the automatic updates of the version number. Until that is resolved + references to this pom need to updated manually when this changes and no + snapshot versions are possible. --> + <version>0.5</version> + <packaging>pom</packaging> + <name>parentpom</name> + <description> The ArgoUML project contains separate projects for plugins. This is the pom, the parentpom, or the ArgoUML super pom that contains the common parts of all ArgoUML projects. </description> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.8.2</version> - <type>jar</type> - <scope>test</scope> - <optional>true</optional> - </dependency> - </dependencies> - - <properties> - <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding> - </properties> - - <!-- Build Settings --> - <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> - <version>2.3.1</version> - <configuration> - <source>1.6</source> - <target>1.6</target> - <showDeprecation>true</showDeprecation> - <showWarnings>true</showWarnings> - </configuration> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.8.1</version> - <configuration> - <forkMode>always</forkMode> - <!-- systemPropertyValues does not work. Wrong version of maven? --> - <systemProperties> - <property> - <name>test.model.uml</name> - <value>../argouml-core-model-mdr/src/org/argouml/model/mdr/mof/01-02-15.xml</value> - </property> - <property> - <name>java.awt.headless</name> - <value>true</value> - </property> - <property> - <name>log4j.configuration</name> - <value>org/argouml/resource/default_console.lcf</value> - </property> - </systemProperties> - </configuration> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.5</version> - <dependencies> - <dependency> - <groupId>org.argouml</groupId> - <artifactId>tools</artifactId> - <version>0.2</version> - </dependency> - </dependencies> - </plugin> - </plugins> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.5</version> - <configuration> - <configLocation>checkstyle/checkstyle5_argouml.xml</configLocation> - </configuration> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>2.3.1</version> - <configuration> - <timeout>18000000</timeout> - </configuration> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <version>2.4</version> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>jdepend-maven-plugin</artifactId> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-pmd-plugin</artifactId> - <version>2.5</version> - <configuration> - <linkXref>true</linkXref> - <sourceEncoding>utf-8</sourceEncoding> - <minimumTokens>100</minimumTokens> - <targetJdk>1.6</targetJdk> - <excludeRoots> - <excludeRoot>src_generated</excludeRoot> - </excludeRoots> - </configuration> - </plugin> - - </plugins> - </reporting> - - <!-- Environment Settings --> - <issueManagement> - <system>Issuezilla</system> - <url>http://argouml.tigris.org/project_bugs.html</url> - </issueManagement> - - <ciManagement> - <system>Jenkins</system> - <url>http://closettop.homelinux.org:8080/</url> - </ciManagement> - - - <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> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.8.2</version> + <type>jar</type> + <scope>test</scope> + <optional>true</optional> + </dependency> + </dependencies> + + <properties> + <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding> + </properties> + + <!-- Build Settings --> + <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> + <version>2.3.1</version> + <configuration> + <source>1.6</source> + <target>1.6</target> + <showDeprecation>true</showDeprecation> + <showWarnings>true</showWarnings> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.8.1</version> + <configuration> + <forkMode>always</forkMode> + <!-- systemPropertyValues does not work. Wrong version of maven? --> + <systemProperties> + <property> + <name>test.model.uml</name> + <value>../argouml-core-model-mdr/src/org/argouml/model/mdr/mof/01-02-15.xml</value> + </property> + <property> + <name>java.awt.headless</name> + <value>true</value> + </property> + <property> + <name>log4j.configuration</name> + <value>org/argouml/resource/default_console.lcf</value> + </property> + </systemProperties> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>2.5</version> + <dependencies> + <dependency> + <groupId>org.argouml</groupId> + <artifactId>tools</artifactId> + <version>0.2</version> + </dependency> + </dependencies> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.2-beta-2</version> + </plugin> + </plugins> + + + </build> + + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>2.5</version> + <configuration> + <configLocation>checkstyle/checkstyle5_argouml.xml</configLocation> + </configuration> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.3.1</version> + <configuration> + <timeout>18000000</timeout> + </configuration> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <version>2.4</version> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>jdepend-maven-plugin</artifactId> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <version>2.5</version> + <configuration> + <linkXref>true</linkXref> + <sourceEncoding>utf-8</sourceEncoding> + <minimumTokens>100</minimumTokens> + <targetJdk>1.6</targetJdk> + <excludeRoots> + <excludeRoot>src_generated</excludeRoot> + </excludeRoots> + </configuration> + </plugin> + + </plugins> + </reporting> + + <!-- Environment Settings --> + <issueManagement> + <system>Issuezilla</system> + <url>http://argouml.tigris.org/project_bugs.html</url> + </issueManagement> + + <ciManagement> + <system>Jenkins</system> + <url>http://closettop.homelinux.org:8080/</url> + </ciManagement> + + + <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> </project> ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2814922 To unsubscribe from this discussion, e-mail: [commits-unsubscr...@argouml.tigris.org].