added version numbers to various plugins.

replaced now deprecated ${version} with ${project.version}
This commit is contained in:
Inderjeet Singh 2011-01-18 23:03:58 +00:00
parent 9a792a9952
commit b3685cff1e

View File

@ -62,6 +62,7 @@
<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.3.2</version>
<configuration> <configuration>
<source>1.5</source> <source>1.5</source>
<target>1.5</target> <target>1.5</target>
@ -70,6 +71,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
@ -99,6 +101,7 @@
<!-- TODO(inder): add manifest entry for maven group, artifact, and classifier ids --> <!-- TODO(inder): add manifest entry for maven group, artifact, and classifier ids -->
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions> <executions>
<execution> <execution>
<id>attach-sources</id> <id>attach-sources</id>
@ -113,6 +116,7 @@
<!-- TODO(inder): add manifest entry for maven group, artifact, and classifier ids --> <!-- TODO(inder): add manifest entry for maven group, artifact, and classifier ids -->
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>attach-javadocs</id>
@ -132,6 +136,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId> <artifactId>maven-eclipse-plugin</artifactId>
<version>2.8</version>
<configuration> <configuration>
<downloadSources>true</downloadSources> <downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs> <downloadJavadocs>true</downloadJavadocs>
@ -146,10 +151,12 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId> <artifactId>maven-jxr-plugin</artifactId>
<version>2.2</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId> <artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
<configuration> <configuration>
<targetJdk>1.5</targetJdk> <targetJdk>1.5</targetJdk>
<rulesets> <rulesets>
@ -163,6 +170,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId> <artifactId>maven-checkstyle-plugin</artifactId>
<version>2.6</version>
<configuration> <configuration>
<!-- configLocation>config/sun_checks.xml</configLocation --> <!-- configLocation>config/sun_checks.xml</configLocation -->
<configLocation>config/maven_checks.xml</configLocation> <configLocation>config/maven_checks.xml</configLocation>
@ -171,18 +179,18 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId> <artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version>
<configuration> <configuration>
<multipleLineComments>true</multipleLineComments>
<tags> <tags>
<tag>TODO</tag> <tag>TODO</tag>
<tag>@todo</tag>
<tag>FIXME</tag>
<tag>XXX</tag>
</tags> </tags>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId> <artifactId>cobertura-maven-plugin</artifactId>
<version>2.4</version>
<executions> <executions>
<execution> <execution>
<id>clean</id> <id>clean</id>
@ -195,6 +203,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId> <artifactId>maven-release-plugin</artifactId>
<version>2.1</version>
<configuration> <configuration>
<arguments>-DenableCiProfile=true</arguments> <arguments>-DenableCiProfile=true</arguments>
<tagBase>https://google-gson.googlecode.com/svn/tags/</tagBase> <tagBase>https://google-gson.googlecode.com/svn/tags/</tagBase>
@ -202,9 +211,10 @@
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<version>2.2</version>
<configuration> <configuration>
<descriptor>src/main/resources/assembly-descriptor.xml</descriptor> <descriptor>src/main/resources/assembly-descriptor.xml</descriptor>
<finalName>google-gson-${version}</finalName> <finalName>google-gson-${project.version}</finalName>
<outputDirectory>target/dist</outputDirectory> <outputDirectory>target/dist</outputDirectory>
<workDirectory>target/assembly/work</workDirectory> <workDirectory>target/assembly/work</workDirectory>
</configuration> </configuration>
@ -216,6 +226,7 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId> <artifactId>findbugs-maven-plugin</artifactId>
<version>2.3.1</version>
<configuration> <configuration>
<xmlOutput>true</xmlOutput> <xmlOutput>true</xmlOutput>
<!-- Optional derectory to put findbugs xdoc xml report --> <!-- Optional derectory to put findbugs xdoc xml report -->
@ -226,6 +237,7 @@
<!-- if this fails, it means you have no svn installed --> <!-- if this fails, it means you have no svn installed -->
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId> <artifactId>maven-changelog-plugin</artifactId>
<version>2.2</version>
<configuration> <configuration>
<type>range</type> <type>range</type>
<range>3650</range> <range>3650</range>
@ -234,6 +246,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId> <artifactId>maven-changes-plugin</artifactId>
<version>2.3</version>
<reportSets> <reportSets>
<reportSet> <reportSet>
<reports> <reports>
@ -242,16 +255,6 @@
</reportSet> </reportSet>
</reportSets> </reportSets>
</plugin> </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<configuration>
<multipleLineComments>true</multipleLineComments>
<tags>
<tag>TODO</tag>
</tags>
</configuration>
</plugin>
</plugins> </plugins>
</reporting> </reporting>
<developers> <developers>