james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r940945 - in /james/mailet/standard/trunk: pom.xml src/assemble/bin.xml
Date Tue, 04 May 2010 16:49:04 GMT
Author: norman
Date: Tue May  4 16:49:03 2010
New Revision: 940945

URL: http://svn.apache.org/viewvc?rev=940945&view=rev
Log:
Adjust build to not generate to source artifacts
Remove duplicated files

Modified:
    james/mailet/standard/trunk/pom.xml
    james/mailet/standard/trunk/src/assemble/bin.xml

Modified: james/mailet/standard/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/mailet/standard/trunk/pom.xml?rev=940945&r1=940944&r2=940945&view=diff
==============================================================================
--- james/mailet/standard/trunk/pom.xml (original)
+++ james/mailet/standard/trunk/pom.xml Tue May  4 16:49:03 2010
@@ -316,5 +316,50 @@
       </plugin>
     </plugins>
   </reporting>
-  
+  <profiles>
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+     
+          <!-- We want to sign the artifact, the POM, and all attached artifacts -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <configuration>
+              <passphrase>${gpg.passphrase}</passphrase>
+            </configuration>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <!-- We want to deploy the artifact to a staging location for perusal -->
+          <plugin>
+            <inherited>true</inherited>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <configuration>
+              <updateReleaseInfo>true</updateReleaseInfo>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-source-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-sources</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>

Modified: james/mailet/standard/trunk/src/assemble/bin.xml
URL: http://svn.apache.org/viewvc/james/mailet/standard/trunk/src/assemble/bin.xml?rev=940945&r1=940944&r2=940945&view=diff
==============================================================================
--- james/mailet/standard/trunk/src/assemble/bin.xml (original)
+++ james/mailet/standard/trunk/src/assemble/bin.xml Tue May  4 16:49:03 2010
@@ -47,9 +47,6 @@
       <outputDirectory>/</outputDirectory>
       <includes>
         <include>RELEASE_NOTES.txt</include>
-        <include>LICENSE.txt</include>
-        <include>NOTICE.txt</include>
-        
       </includes>
     </fileSet>
     <fileSet>
@@ -61,7 +58,7 @@
     <file>
       <source>LICENSE.apache</source>
       <outputDirectory>lib</outputDirectory>
-      <destName>apache-mailet-LICENSE</destName>
+      <destName>apache-mailet.LICENSE</destName>
     </file>
     <file>
       <source>LICENSE.apache</source>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message