Removed redundant org.apache.maven.plugins specifications (it's the default), merged plugin declarations and added platform-independent encoding

git-svn-id: http://jclouds.googlecode.com/svn/trunk@2262 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
sharedocs1@gmail.com 2009-11-12 11:35:52 +00:00
parent 628a2a4369
commit 0ac65c8aa7
1 changed files with 50 additions and 57 deletions

View File

@ -56,25 +56,15 @@
<mailingLists> <mailingLists>
<mailingList> <mailingList>
<name>Contributors</name> <name>Contributors</name>
<subscribe> <subscribe>http://groups.google.com/group/jclouds-contributors</subscribe>
http://groups.google.com/group/jclouds-contributors <unsubscribe>http://groups.google.com/group/jclouds-contributors</unsubscribe>
</subscribe>
<unsubscribe>
http://groups.google.com/group/jclouds-contributors
</unsubscribe>
<post>jclouds-contributors@googlegroups.com</post> <post>jclouds-contributors@googlegroups.com</post>
<archive> <archive>http://groups.google.com/group/jclouds-contributors</archive>
http://groups.google.com/group/jclouds-contributors
</archive>
</mailingList> </mailingList>
<mailingList> <mailingList>
<name>SVN Commits</name> <name>SVN Commits</name>
<subscribe> <subscribe>http://groups.google.com/group/jclouds-commits</subscribe>
http://groups.google.com/group/jclouds-commits <unsubscribe>http://groups.google.com/group/jclouds-commits</unsubscribe>
</subscribe>
<unsubscribe>
http://groups.google.com/group/jclouds-commits
</unsubscribe>
<post>jclouds-commits@googlegroups.com</post> <post>jclouds-commits@googlegroups.com</post>
<archive>http://groups.google.com/group/jclouds-commits</archive> <archive>http://groups.google.com/group/jclouds-commits</archive>
</mailingList> </mailingList>
@ -140,6 +130,15 @@
<url>http://www.jclouds.org</url> <url>http://www.jclouds.org</url>
<timezone>+0</timezone> <timezone>+0</timezone>
</developer> </developer>
<developer>
<name>Andrew Phillips</name>
<id>sharedocs1</id>
<email>aphillips -at- qrmedia.com</email>
<roles>
<role>Apprentice</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers> </developers>
<properties> <properties>
@ -175,7 +174,6 @@
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<executions> <executions>
<execution> <execution>
@ -244,7 +242,6 @@
</plugin> </plugin>
<!-- Make sure we generate src jars too --> <!-- Make sure we generate src jars too -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<inherited>true</inherited> <inherited>true</inherited>
<executions> <executions>
@ -257,7 +254,6 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<executions> <executions>
<execution> <execution>
@ -266,10 +262,14 @@
<goals> <goals>
<goal>jar</goal> <goal>jar</goal>
</goals> </goals>
</execution>
</executions>
<configuration> <configuration>
<encoding>UTF-8</encoding>
<quiet>true</quiet> <quiet>true</quiet>
<links> <links>
<link>http://java.sun.com/javase/6/docs/api/</link> <link>http://java.sun.com/javase/6/docs/api/</link>
<link>http://java.sun.com/javaee/6/docs/api/</link>
</links> </links>
<footer><![CDATA[ <footer><![CDATA[
<!-- Google Analytics --> <!-- Google Analytics -->
@ -284,11 +284,8 @@ pageTracker._trackPageview();
} catch(err) {}</script> } catch(err) {}</script>
]]></footer> ]]></footer>
</configuration> </configuration>
</execution>
</executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-enforcer-plugin</artifactId>
<executions> <executions>
<execution> <execution>
@ -300,11 +297,26 @@ pageTracker._trackPageview();
<rules> <rules>
<bannedDependencies> <bannedDependencies>
<excludes> <excludes>
<exclude>:maven-depedency-plugin</exclude> <exclude>:maven-dependency-plugin</exclude>
</excludes> </excludes>
</bannedDependencies> </bannedDependencies>
</rules> </rules>
<fail>true</fail> </configuration>
</execution>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[1.6,)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[2.2.1,)</version>
</requireMavenVersion>
</rules>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
@ -312,10 +324,17 @@ pageTracker._trackPageview();
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<encoding>UTF-8</encoding>
<source>${maven.compile.source}</source> <source>${maven.compile.source}</source>
<target>${maven.compile.target}</target> <target>${maven.compile.target}</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
<executions> <executions>
@ -340,31 +359,8 @@ pageTracker._trackPageview();
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId> <artifactId>maven-site-plugin</artifactId>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[1.6,)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[2.2.1,)</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
<extensions> <extensions>
<extension> <extension>
@ -380,7 +376,6 @@ pageTracker._trackPageview();
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<executions> <executions>
<execution> <execution>
@ -458,7 +453,6 @@ pageTracker._trackPageview();
<reporting> <reporting>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId> <artifactId>maven-project-info-reports-plugin</artifactId>
<reportSets> <reportSets>
<reportSet> <reportSet>
@ -492,7 +486,6 @@ pageTracker._trackPageview();
<inherited>true</inherited> <inherited>true</inherited>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId> <artifactId>maven-pmd-plugin</artifactId>
<configuration> <configuration>
<targetJdk>${maven.compile.source}</targetJdk> <targetJdk>${maven.compile.source}</targetJdk>