Author: brett
Date: Thu Nov 12 23:42:20 2009
New Revision: 835644

URL: http://svn.apache.org/viewvc?rev=835644&view=rev
Log:
[MNG-4439] apache-maven project should not deploy a source JAR or JAR, as it is 
only a distribution module

Modified:
    maven/maven-3/trunk/apache-maven/pom.xml
    maven/maven-3/trunk/apache-maven/src/main/assembly/bin.xml

Modified: maven/maven-3/trunk/apache-maven/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/maven-3/trunk/apache-maven/pom.xml?rev=835644&r1=835643&r2=835644&view=diff
==============================================================================
--- maven/maven-3/trunk/apache-maven/pom.xml (original)
+++ maven/maven-3/trunk/apache-maven/pom.xml Thu Nov 12 23:42:20 2009
@@ -24,6 +24,7 @@
     <version>3.0-SNAPSHOT</version>
   </parent>
   <artifactId>apache-maven</artifactId>
+  <packaging>pom</packaging>
   <name>Maven Distribution</name>
   <dependencies>
     <dependency>
@@ -60,6 +61,19 @@
   <build>
     <plugins>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>test-compile</id>
+            <goals>
+              <goal>testCompile</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
           <systemProperties>
@@ -69,6 +83,14 @@
             </property>
           </systemProperties>
         </configuration>
+        <executions>
+          <execution>
+            <id>test</id>
+            <goals>
+              <goal>test</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>

Modified: maven/maven-3/trunk/apache-maven/src/main/assembly/bin.xml
URL: 
http://svn.apache.org/viewvc/maven/maven-3/trunk/apache-maven/src/main/assembly/bin.xml?rev=835644&r1=835643&r2=835644&view=diff
==============================================================================
--- maven/maven-3/trunk/apache-maven/src/main/assembly/bin.xml (original)
+++ maven/maven-3/trunk/apache-maven/src/main/assembly/bin.xml Thu Nov 12 
23:42:20 2009
@@ -33,9 +33,8 @@
     <dependencySet>
       <outputDirectory>lib</outputDirectory>
       <excludes>
-      <exclude>org.codehaus.plexus:plexus-classworlds</exclude>
+        <exclude>org.codehaus.plexus:plexus-classworlds</exclude>
         <exclude>junit:junit</exclude>
-        <exclude>org.apache.maven:apache-maven</exclude>
         <exclude>log4j:log4j</exclude>
         <exclude>commons-logging:commons-logging-api</exclude>
       
@@ -45,6 +44,7 @@
         <exclude>junit:junit</exclude>
         <exclude>jmock:jmock</exclude>
         <exclude>xml-apis:xml-apis</exclude>
+        <exclude>org.apache.maven:apache-maven</exclude>
         <exclude>org.apache.maven:maven-artifact</exclude>
         <exclude>org.apache.maven:maven-monitor</exclude>
         <exclude>org.apache.maven:maven-plugin-descriptor</exclude>


Reply via email to