Update maven plugins to latest stable versions
Change-Id: I1f1e126778cb7801512fac1e6db5a57882ae28a8
This commit is contained in:
parent
406b4f4060
commit
0de57554cc
@ -73,7 +73,7 @@ limitations under the License.
|
|||||||
<id>generate-version</id>
|
<id>generate-version</id>
|
||||||
<phase>generate-resources</phase>
|
<phase>generate-resources</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tasks>
|
<target>
|
||||||
<property name="dst" location="${project.build.outputDirectory}" />
|
<property name="dst" location="${project.build.outputDirectory}" />
|
||||||
<property name="pkg" location="${dst}/com/google/gerrit/common" />
|
<property name="pkg" location="${dst}/com/google/gerrit/common" />
|
||||||
<mkdir dir="${pkg}" />
|
<mkdir dir="${pkg}" />
|
||||||
@ -82,7 +82,7 @@ limitations under the License.
|
|||||||
<arg value="HEAD"/>
|
<arg value="HEAD"/>
|
||||||
</exec>
|
</exec>
|
||||||
<echo file="${pkg}/Version">${v}</echo>
|
<echo file="${pkg}/Version">${v}</echo>
|
||||||
</tasks>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
|
@ -175,12 +175,12 @@ limitations under the License.
|
|||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tasks>
|
<target>
|
||||||
<property name="dst" location="${project.build.outputDirectory}" />
|
<property name="dst" location="${project.build.outputDirectory}" />
|
||||||
<property name="pkg" location="${dst}/com/google/gerrit/client/account"/>
|
<property name="pkg" location="${dst}/com/google/gerrit/client/account"/>
|
||||||
<mkdir dir="${pkg}"/>
|
<mkdir dir="${pkg}"/>
|
||||||
<echo file="${pkg}/keyapplet_jar">gerrit-keyapplet-${keyappletVersion}.cache.jar</echo>
|
<echo file="${pkg}/keyapplet_jar">gerrit-keyapplet-${keyappletVersion}.cache.jar</echo>
|
||||||
</tasks>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
@ -216,7 +216,7 @@ limitations under the License.
|
|||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tasks>
|
<target>
|
||||||
<property name="dst" location="${project.build.directory}/${project.build.finalName}"/>
|
<property name="dst" location="${project.build.directory}/${project.build.finalName}"/>
|
||||||
<property name="app" location="${dst}/gerrit"/>
|
<property name="app" location="${dst}/gerrit"/>
|
||||||
|
|
||||||
@ -233,7 +233,7 @@ limitations under the License.
|
|||||||
<outputmapper type="glob" from="*" to="${app}/*.gz"/>
|
<outputmapper type="glob" from="*" to="${app}/*.gz"/>
|
||||||
</redirector>
|
</redirector>
|
||||||
</apply>
|
</apply>
|
||||||
</tasks>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
@ -117,7 +117,7 @@ limitations under the License.
|
|||||||
<id>include-documentation</id>
|
<id>include-documentation</id>
|
||||||
<phase>process-classes</phase>
|
<phase>process-classes</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tasks>
|
<target>
|
||||||
<property name="src" location="${basedir}/../Documentation" />
|
<property name="src" location="${basedir}/../Documentation" />
|
||||||
<property name="out" location="${project.build.directory}/${project.build.finalName}" />
|
<property name="out" location="${project.build.directory}/${project.build.finalName}" />
|
||||||
<property name="dst" location="${out}/Documentation" />
|
<property name="dst" location="${out}/Documentation" />
|
||||||
@ -134,7 +134,7 @@ limitations under the License.
|
|||||||
<include name="*.html" />
|
<include name="*.html" />
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
</tasks>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
@ -186,14 +186,14 @@ limitations under the License.
|
|||||||
<id>fix-output</id>
|
<id>fix-output</id>
|
||||||
<phase>process-classes</phase>
|
<phase>process-classes</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tasks>
|
<target>
|
||||||
<property name="src" location="${basedir}/../Documentation" />
|
<property name="src" location="${basedir}/../Documentation" />
|
||||||
<property name="dst" location="${project.build.directory}/${project.build.finalName}" />
|
<property name="dst" location="${project.build.directory}/${project.build.finalName}" />
|
||||||
|
|
||||||
<copy tofile="${dst}/LICENSES.txt"
|
<copy tofile="${dst}/LICENSES.txt"
|
||||||
file="${src}/licenses.txt"
|
file="${src}/licenses.txt"
|
||||||
overwrite="true" />
|
overwrite="true" />
|
||||||
</tasks>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
|
10
pom.xml
10
pom.xml
@ -319,25 +319,25 @@ limitations under the License.
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>2.0.2</version>
|
<version>2.3.2</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
<version>1.2</version>
|
<version>1.4</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.3</version>
|
<version>1.6</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-war-plugin</artifactId>
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
<version>2.1-beta-1</version>
|
<version>2.1.1</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -361,7 +361,7 @@ limitations under the License.
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
<version>1.3</version>
|
<version>1.6</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user