You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ni...@apache.org on 2009/05/18 01:56:41 UTC

svn commit: r775781 - /commons/sandbox/resources/trunk/pom.xml

Author: niallp
Date: Sun May 17 23:56:40 2009
New Revision: 775781

URL: http://svn.apache.org/viewvc?rev=775781&view=rev
Log:
Various m2 build corrections:
 - remove compiler plugin configuration (duplicates whats already in commons-parent)
 - remove tieing site and assembly plugins to "package" phase (the "rc" profile already does this)
 - move retrostranslator before assembly plugin (jdk 1.4 jar gets included in the binary distro)

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=775781&r1=775780&r2=775781&view=diff
==============================================================================
--- commons/sandbox/resources/trunk/pom.xml (original)
+++ commons/sandbox/resources/trunk/pom.xml Sun May 17 23:56:40 2009
@@ -171,14 +171,6 @@
         <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>
@@ -189,50 +181,29 @@
                     <excludes/>
                 </configuration>
             </plugin>
-            <plugin>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <configuration>
-                    <descriptors>
-                        <descriptor>src/assembly/bin.xml</descriptor>
-                        <descriptor>src/assembly/src.xml</descriptor>
-                    </descriptors>
-                    <tarLongFileMode>gnu</tarLongFileMode>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>make-assembly</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>assembly</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-site-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>make-site</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>site</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
 			<plugin>
 				<groupId>org.codehaus.mojo</groupId>
 				<artifactId>retrotranslator-maven-plugin</artifactId>
 				<version>1.0-alpha-4</version>
 				<executions>
 					<execution>
+						<phase>package</phase>
 						<goals>
 							<goal>translate-project</goal>
 						</goals>
 					</execution>
 				</executions>
 			</plugin>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <configuration>
+                    <descriptors>
+                        <descriptor>src/assembly/bin.xml</descriptor>
+                        <descriptor>src/assembly/src.xml</descriptor>
+                    </descriptors>
+                    <tarLongFileMode>gnu</tarLongFileMode>
+                </configuration>
+            </plugin>
         </plugins>
     </build>