Update maven plugins to latest stable versions

Change-Id: I1f1e126778cb7801512fac1e6db5a57882ae28a8
This commit is contained in:
Anatol Pomozov 2010-11-09 15:56:47 -08:00 committed by Shawn O. Pearce
parent 406b4f4060
commit 0de57554cc
4 changed files with 15 additions and 15 deletions

View File

@ -73,7 +73,7 @@ limitations under the License.
<id>generate-version</id>
<phase>generate-resources</phase>
<configuration>
<tasks>
<target>
<property name="dst" location="${project.build.outputDirectory}" />
<property name="pkg" location="${dst}/com/google/gerrit/common" />
<mkdir dir="${pkg}" />
@ -82,7 +82,7 @@ limitations under the License.
<arg value="HEAD"/>
</exec>
<echo file="${pkg}/Version">${v}</echo>
</tasks>
</target>
</configuration>
<goals>
<goal>run</goal>

View File

@ -175,12 +175,12 @@ limitations under the License.
<goal>run</goal>
</goals>
<configuration>
<tasks>
<target>
<property name="dst" location="${project.build.outputDirectory}" />
<property name="pkg" location="${dst}/com/google/gerrit/client/account"/>
<mkdir dir="${pkg}"/>
<echo file="${pkg}/keyapplet_jar">gerrit-keyapplet-${keyappletVersion}.cache.jar</echo>
</tasks>
</target>
</configuration>
</execution>
</executions>
@ -216,7 +216,7 @@ limitations under the License.
<goal>run</goal>
</goals>
<configuration>
<tasks>
<target>
<property name="dst" location="${project.build.directory}/${project.build.finalName}"/>
<property name="app" location="${dst}/gerrit"/>
@ -233,7 +233,7 @@ limitations under the License.
<outputmapper type="glob" from="*" to="${app}/*.gz"/>
</redirector>
</apply>
</tasks>
</target>
</configuration>
</execution>
</executions>

View File

@ -117,7 +117,7 @@ limitations under the License.
<id>include-documentation</id>
<phase>process-classes</phase>
<configuration>
<tasks>
<target>
<property name="src" location="${basedir}/../Documentation" />
<property name="out" location="${project.build.directory}/${project.build.finalName}" />
<property name="dst" location="${out}/Documentation" />
@ -134,7 +134,7 @@ limitations under the License.
<include name="*.html" />
</fileset>
</copy>
</tasks>
</target>
</configuration>
<goals>
<goal>run</goal>
@ -186,14 +186,14 @@ limitations under the License.
<id>fix-output</id>
<phase>process-classes</phase>
<configuration>
<tasks>
<target>
<property name="src" location="${basedir}/../Documentation" />
<property name="dst" location="${project.build.directory}/${project.build.finalName}" />
<copy tofile="${dst}/LICENSES.txt"
file="${src}/licenses.txt"
overwrite="true" />
</tasks>
</target>
</configuration>
<goals>
<goal>run</goal>

10
pom.xml
View File

@ -319,25 +319,25 @@ limitations under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<version>2.3.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.2</version>
<version>1.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
<version>1.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1-beta-1</version>
<version>2.1.1</version>
</plugin>
<plugin>
@ -361,7 +361,7 @@ limitations under the License.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<version>1.6</version>
</plugin>
</plugins>
</pluginManagement>