Author: wsmoak
Date: Sat Mar  8 08:38:45 2008
New Revision: 635005

URL: http://svn.apache.org/viewvc?rev=635005&view=rev
Log:
Make sure that maven-source-plugin 2.0.4 is used for the release so that 
LICENSE and NOTICE will be presend in the -sources jar.

Modified:
    maven/plugins/trunk/maven-javadoc-plugin/pom.xml

Modified: maven/plugins/trunk/maven-javadoc-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/pom.xml?rev=635005&r1=635004&r2=635005&view=diff
==============================================================================
--- maven/plugins/trunk/maven-javadoc-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-javadoc-plugin/pom.xml Sat Mar  8 08:38:45 2008
@@ -279,5 +279,26 @@
         </plugins>
       </build>
     </profile>
+    <!-- Temporarily force the source plugin version to make sure LICENSE and 
NOTICE are included. -->
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-source-plugin</artifactId>
+            <version>2.0.4</version>
+            <executions>
+              <execution>
+                <id>attach-sources</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>


Reply via email to