Parameterized the source encoding in the POM and renamed 'parent-basedir' to 'parent.basedir'. Couldn't find any references to that, and my build succeeded, but apologize if I break something!

git-svn-id: http://jclouds.googlecode.com/svn/trunk@2370 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
sharedocs1@gmail.com 2009-12-03 10:24:06 +00:00
parent b29dc8bb51
commit b9cb6c5898
1 changed files with 22 additions and 5 deletions

View File

@ -162,7 +162,8 @@
</developers> </developers>
<properties> <properties>
<parent-basedir>${basedir}</parent-basedir> <parent.basedir>${basedir}</parent.basedir>
<sourceEncoding>UTF-8</sourceEncoding>
<maven.compile.source>1.6</maven.compile.source> <maven.compile.source>1.6</maven.compile.source>
<maven.compile.target>1.6</maven.compile.target> <maven.compile.target>1.6</maven.compile.target>
<maven.compile.optimize>true</maven.compile.optimize> <maven.compile.optimize>true</maven.compile.optimize>
@ -285,7 +286,7 @@
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<encoding>UTF-8</encoding> <encoding>${sourceEncoding}</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>
@ -344,7 +345,7 @@ pageTracker._trackPageview();
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<encoding>UTF-8</encoding> <encoding>${sourceEncoding}</encoding>
<source>${maven.compile.source}</source> <source>${maven.compile.source}</source>
<target>${maven.compile.target}</target> <target>${maven.compile.target}</target>
</configuration> </configuration>
@ -352,7 +353,7 @@ pageTracker._trackPageview();
<plugin> <plugin>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
<configuration> <configuration>
<encoding>UTF-8</encoding> <encoding>${sourceEncoding}</encoding>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
@ -424,7 +425,7 @@ pageTracker._trackPageview();
<systemProperties> <systemProperties>
<property> <property>
<name>file.encoding</name> <name>file.encoding</name>
<value>UTF-8</value> <value>${sourceEncoding}</value>
</property> </property>
<property> <property>
<name>jclouds.test.initializer</name> <name>jclouds.test.initializer</name>
@ -496,6 +497,22 @@ pageTracker._trackPageview();
</reportSet> </reportSet>
</reportSets> </reportSets>
</plugin> </plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.6.1</version>
<configuration>
<encoding>${sourceEncoding}</encoding>
<quiet>true</quiet>
</configuration>
<reportSets>
<reportSet>
<id>default</id>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId> <artifactId>emma-maven-plugin</artifactId>