openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r738902 - /incubator/openwebbeans/trunk/pom.xml
Date Thu, 29 Jan 2009 15:55:20 GMT
Author: struberg
Date: Thu Jan 29 15:55:19 2009
New Revision: 738902

URL: http://svn.apache.org/viewvc?rev=738902&view=rev
Log:
OWB-37 enable deploy.altRepository for release

Modified:
    incubator/openwebbeans/trunk/pom.xml

Modified: incubator/openwebbeans/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/pom.xml?rev=738902&r1=738901&r2=738902&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/pom.xml (original)
+++ incubator/openwebbeans/trunk/pom.xml Thu Jan 29 15:55:19 2009
@@ -450,18 +450,53 @@
 	</properties>
 
     <profiles>
+        <!-- START release profile -->
         <profile>
-            <id>release-profile</id>
-            <activation>
-                <property>
-                    <name>distribute</name>
-                    <value>true</value>
-                </property>
-            </activation>
-	    <modules>
-		<module>distribution</module>
-            </modules>
-        </profile>
+            <id>release</id>
+            <build>
+                <plugins>
+                <!-- 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>
+                            <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+                            <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>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <configuration>
+                            <encoding>${project.build.sourceEncoding}</encoding>
+                        </configuration>
+                        <executions>
+                            <execution>
+                                <id>attach-javadocs</id>
+                                <goals>
+                                   <goal>jar</goal>
+                                </goals>
+                            </execution>
+                    </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>  
+        <!-- END release profile -->
+        
     </profiles>
 
 </project>



Mime
View raw message