commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmei...@apache.org
Subject svn commit: r775763 - in /commons/sandbox/resources/trunk: build-gump.xml build-legacy.xml build.xml pom.xml
Date Sun, 17 May 2009 21:35:48 GMT
Author: dmeikle
Date: Sun May 17 21:35:47 2009
New Revision: 775763

URL: http://svn.apache.org/viewvc?rev=775763&view=rev
Log:
Removed ant builds, set Maven to target JDK1.5 and added retrotranslator.

Removed:
    commons/sandbox/resources/trunk/build-gump.xml
    commons/sandbox/resources/trunk/build-legacy.xml
    commons/sandbox/resources/trunk/build.xml
Modified:
    commons/sandbox/resources/trunk/pom.xml

Modified: commons/sandbox/resources/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/resources/trunk/pom.xml?rev=775763&r1=775762&r2=775763&view=diff
==============================================================================
--- commons/sandbox/resources/trunk/pom.xml (original)
+++ commons/sandbox/resources/trunk/pom.xml Sun May 17 21:35:47 2009
@@ -153,8 +153,8 @@
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-        <maven.compile.source>1.3</maven.compile.source>
-        <maven.compile.target>1.3</maven.compile.target>
+        <maven.compile.source>1.5</maven.compile.source>
+        <maven.compile.target>1.5</maven.compile.target>
         <commons.componentid>resources</commons.componentid>
         <commons.release.version>1.0</commons.release.version>
         <commons.jira.id>RESOURCES</commons.jira.id>
@@ -166,6 +166,14 @@
         <sourceDirectory>src/main/java</sourceDirectory>
         <testSourceDirectory>src/test/java</testSourceDirectory>
         <plugins>
+			<plugin>
+			<artifactId>maven-compiler-plugin</artifactId>
+			<version>2.0.2</version>
+			<configuration>
+				<source>${maven.compile.source}</source>
+				<target>${maven.compile.target}</target>
+			</configuration>
+			</plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
@@ -208,6 +216,18 @@
                     </execution>
                 </executions>
             </plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>retrotranslator-maven-plugin</artifactId>
+				<version>1.0-alpha-4</version>
+				<executions>
+					<execution>
+						<goals>
+							<goal>translate-project</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
         </plugins>
     </build>
 
@@ -230,7 +250,7 @@
                 <artifactId>maven-pmd-plugin</artifactId>
                 <version>2.3</version>
                 <configuration>
-                    <targetJdk>1.3</targetJdk>
+                    <targetJdk>${maven.compile.target}</targetJdk>
                 </configuration>
                 <reportSets>
                     <reportSet>
@@ -243,5 +263,4 @@
             </plugin>
         </plugins>
     </reporting>
-
 </project>



Mime
View raw message