You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2008/09/04 11:01:47 UTC
svn commit: r691936 -
/servicemix/maven-plugins/maven-plugins-pom/trunk/pom.xml
Author: gnodet
Date: Thu Sep 4 02:01:45 2008
New Revision: 691936
URL: http://svn.apache.org/viewvc?rev=691936&view=rev
Log:
Fix maven-plugins parent pom
Modified:
servicemix/maven-plugins/maven-plugins-pom/trunk/pom.xml
Modified: servicemix/maven-plugins/maven-plugins-pom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/maven-plugins/maven-plugins-pom/trunk/pom.xml?rev=691936&r1=691935&r2=691936&view=diff
==============================================================================
--- servicemix/maven-plugins/maven-plugins-pom/trunk/pom.xml (original)
+++ servicemix/maven-plugins/maven-plugins-pom/trunk/pom.xml Thu Sep 4 02:01:45 2008
@@ -26,7 +26,7 @@
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>maven-plugins-pom</artifactId>
- <version>2-SNAPSHOT</version>
+ <version>1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>ServiceMix :: Maven2 Plugins POM</name>
@@ -37,6 +37,10 @@
<url>http://svn.apache.org/viewcvs.cgi/servicemix/maven-plugins/maven-plugins-pom/trunk</url>
</scm>
+ <properties>
+ <servicemix.legal.version>1.0</servicemix.legal.version>
+ </properties>
+
<reporting>
<plugins>
<plugin>
@@ -55,16 +59,84 @@
</reporting>
<build>
+ <defaultGoal>install</defaultGoal>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <useReleaseProfile>false</useReleaseProfile>
+ <preparationGoals>clean install</preparationGoals>
+ <goals>deploy</goals>
+ <arguments>-Prelease,deploy</arguments>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.0</version>
+ <executions>
+ <execution>
+ <id>copy-legal</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.servicemix.legal</groupId>
+ <artifactId>legal</artifactId>
+ <version>${servicemix.legal.version}</version>
+ <type>xml</type>
+ <outputDirectory>target/legal/</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ <stripVersion>true</stripVersion>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <resourceBundles>
+ <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+ </resourceBundles>
+ <supplementalModels>
+ <supplementalModel>target/legal/legal.xml</supplementalModel>
+ </supplementalModels>
+ <properties>
+ <addLicense>true</addLicense>
+ <addArtifact>true</addArtifact>
+ <projectName>Apache ServiceMix</projectName>
+ </properties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>