Author: dblevins
Date: Wed Sep 26 10:30:08 2007
New Revision: 579723

URL: http://svn.apache.org/viewvc?rev=579723&view=rev
Log:
Added release muck to the pom

Modified:
    openejb/branches/3.0-beta-1/pom.xml

Modified: openejb/branches/3.0-beta-1/pom.xml
URL: 
http://svn.apache.org/viewvc/openejb/branches/3.0-beta-1/pom.xml?rev=579723&r1=579722&r2=579723&view=diff
==============================================================================
--- openejb/branches/3.0-beta-1/pom.xml (original)
+++ openejb/branches/3.0-beta-1/pom.xml Wed Sep 26 10:30:08 2007
@@ -143,6 +143,16 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+       <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-release-plugin</artifactId>
+       <version>2.0-beta-4</version>
+       <configuration>
+         <useReleaseProfile>false</useReleaseProfile>
+         <goals>deploy</goals>
+         <arguments>-Prelease</arguments>
+       </configuration>
+      </plugin>
     </plugins>
   </build>
 
@@ -164,6 +174,64 @@
       <modules>
         <module>assembly</module>
       </modules>
+    </profile>
+    <profile>
+      <id>release</id>
+      <build>
+       <plugins>
+         <!-- We want to sign the artifact, the POM, and all attached 
artifacts -->
+         <plugin>
+           <artifactId>maven-gpg-plugin</artifactId>
+           <version>1.0-alpha-3</version>
+           <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>
+           <artifactId>maven-deploy-plugin</artifactId>
+           <version>2.3</version>
+           <configuration>
+             
<altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+             <updateReleaseInfo>true</updateReleaseInfo>
+           </configuration>
+         </plugin>
+         <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-source-plugin</artifactId>
+           <version>2.0.2</version>
+           <executions>
+             <execution>
+               <id>attach-sources</id>
+               <goals>
+                 <goal>jar</goal>
+               </goals>
+             </execution>
+           </executions>
+         </plugin>
+         <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-javadoc-plugin</artifactId>
+           <version>2.2</version>
+           <executions>
+             <execution>
+               <id>attach-javadocs</id>
+               <goals>
+                 <goal>jar</goal>
+               </goals>
+             </execution>
+           </executions>
+         </plugin>
+       </plugins>
+      </build>
     </profile>
   </profiles>
 


Reply via email to