incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r509456 - /incubator/adffaces/tags/maven-plugin-parent-1.0.0-incubating/pom.xml
Date Tue, 20 Feb 2007 08:23:07 GMT
Author: matzew
Date: Tue Feb 20 00:23:06 2007
New Revision: 509456

URL: http://svn.apache.org/viewvc?view=rev&rev=509456
Log:
some plugin works (source and javadoc jar overhaulment)

Modified:
    incubator/adffaces/tags/maven-plugin-parent-1.0.0-incubating/pom.xml

Modified: incubator/adffaces/tags/maven-plugin-parent-1.0.0-incubating/pom.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/tags/maven-plugin-parent-1.0.0-incubating/pom.xml?view=diff&rev=509456&r1=509455&r2=509456
==============================================================================
--- incubator/adffaces/tags/maven-plugin-parent-1.0.0-incubating/pom.xml (original)
+++ incubator/adffaces/tags/maven-plugin-parent-1.0.0-incubating/pom.xml Tue Feb 20 00:23:06
2007
@@ -180,21 +180,6 @@
         <targetPath>META-INF</targetPath>
       </resource>
     </resources>
-    <!--plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-gpg-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>sign-artifacts</id>
-            <phase>verify</phase>
-            <goals>
-              <goal>sign</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins-->
   </build>
 
   <scm>
@@ -241,6 +226,22 @@
     <profile>
       <id>staging</id>
       <build>
+        <resources>
+          <resource>
+            <directory>src/main/resources</directory>
+          </resource>
+          <!-- also include license and notice files in all the jars -->
+          <resource>
+            <directory>${basedir}/</directory>
+            <includes>
+              <include>NOTICE.txt</include>
+              <include>LICENSE.txt</include>
+              <include>INCUBATOR_NOTICE.txt</include>
+            </includes>
+            <targetPath>META-INF</targetPath>
+          </resource>
+        </resources>
+      
         <plugins>
           <!-- We want to deploy the artifact to a staging location for perusal
            mvn -Pstaging -Ddeploy.altRepository=scpexe://people.apache.org/www/people.apache.org/builds/myfaces/m2-staging-repository
@@ -278,9 +279,9 @@
               </execution>
             </executions>
           </plugin>
-          <!--plugin>
+          <plugin>
             <artifactId>maven-source-plugin</artifactId>
-            <version>2.0.2</version>
+            <version>2.0.3</version>
             <executions>
               <execution>
                 <id>attach-sources</id>
@@ -289,37 +290,7 @@
                 </goals>
               </execution>
             </executions>
-          </plugin-->
-          <plugin>
-	    <!-- This should possibly better be done by using a resource
-		     definition. However, if we declare a resource with
-		     ${basedir} as the base directory, then the
-		     maven-source-plugin will add the whole directory to
-		     its contents.
-	    -->
-         <artifactId>maven-antrun-plugin</artifactId>
-         <executions>
-
-           <execution>
-             <phase>generate-resources</phase>
-             <configuration>
-              <tasks>
-                <copy todir="${project.build.outputDirectory}/META-INF">
-                  <fileset dir="${basedir}">
-                    <include name="LICENSE.txt" />
-                    <include name="NOTICE.txt" />
-
-                  </fileset>
-                </copy>
-              </tasks>
-            </configuration>
-            <goals>
-              <goal>run</goal>
-            </goals>
-          </execution>
-
-        </executions>
-      </plugin>
+          </plugin>
           <plugin>
             <artifactId>maven-javadoc-plugin</artifactId>
             <version>2.2</version>



Mime
View raw message