[MNG-4439] apache-maven project should not deploy a source JAR or JAR, as it is only a distribution module

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@835644 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2009-11-12 23:42:20 +00:00
parent 2049ab9e80
commit def1fef6d9
2 changed files with 24 additions and 2 deletions

View File

@ -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>

View File

@ -33,9 +33,8 @@ under the License.
<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 @@ under the License.
<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>