[jboss-svn-commits] JBL Code SVN: r10341 - labs/jbossbuild/jboss-parent/trunk.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Mar 19 16:55:56 EDT 2007
Author: pgier
Date: 2007-03-19 16:55:56 -0400 (Mon, 19 Mar 2007)
New Revision: 10341
Added:
labs/jbossbuild/jboss-parent/trunk/pom.xml
Log:
Added: labs/jbossbuild/jboss-parent/trunk/pom.xml
===================================================================
--- labs/jbossbuild/jboss-parent/trunk/pom.xml (rev 0)
+++ labs/jbossbuild/jboss-parent/trunk/pom.xml 2007-03-19 20:55:56 UTC (rev 10341)
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ A parent pom with default settings for jboss projects.
+ Each jboss project should have something similar to the following lines in their pom file.
+ <parent>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-parent</artifactId>
+ <version>1</version>
+ </parent>
+
+ To build this project maven 2 should be installed and "mvn" should be in the system path. From the command line
+ run "mvn". This will run the default build goal "install".
+-->
+<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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>jboss</groupId>
+ <version>1</version>
+ <artifactId>jboss-parent</artifactId>
+ <packaging>pom</packaging>
+ <name>JBoss Parent POM</name>
+ <description>Parent POM for all JBoss Projects. Provides default project build configuration.</description>
+ <url>http://www.jboss.org</url>
+ <prerequisites>
+ <maven>2.0</maven>
+ </prerequisites>
+ <issueManagement>
+ <system>jira</system>
+ <url>http://jira.jboss.com/</url>
+ </issueManagement>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+ <organization>
+ <name>JBoss Inc.</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <!-- define how we want compilation to take place
+ here, we accept most of the defaults but say that we want the
+ optimization flag set, and define the source and target to be 1.5,
+ these setting will be inherited by child projects -->
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0</version>
+ <configuration>
+ <optimize>true</optimize>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <!-- define that we wish to create src jars -->
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <inherited>true</inherited>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <repositories>
+ <repository>
+ <id>jboss</id>
+ <name>JBoss Repository</name>
+ <layout>default</layout>
+ <url>http://repository.jboss.com/maven2/</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>jbosspluginrepo</id>
+ <name>JBoss Plugin Repository</name>
+ <url>http://repository.jboss.com/maven2</url>
+ <layout>default</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ <distributionManagement>
+ <repository>
+ <!-- Copy the distribution jar file to a local checkout of the maven repository -->
+ <id>cvs-file-repository</id>
+ <url>file://${maven.cvs.root}</url>
+ </repository>
+ </distributionManagement>
+</project>
Property changes on: labs/jbossbuild/jboss-parent/trunk/pom.xml
___________________________________________________________________
Name: svn:executable
+ *
More information about the jboss-svn-commits
mailing list