You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2006/12/09 22:12:12 UTC

svn commit: r485060 - /maven/plugins/trunk/pom.xml

Author: jvanzyl
Date: Sat Dec  9 13:12:09 2006
New Revision: 485060

URL: http://svn.apache.org/viewvc?view=rev&rev=485060
Log:
o a new release profile that supports staging

Modified:
    maven/plugins/trunk/pom.xml

Modified: maven/plugins/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/pom.xml?view=diff&rev=485060&r1=485059&r2=485060
==============================================================================
--- maven/plugins/trunk/pom.xml (original)
+++ maven/plugins/trunk/pom.xml Sat Dec  9 13:12:09 2006
@@ -162,5 +162,72 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>stageRelease</id>
+      <build>
+        <plugins>
+          <!-- We want the sources JAR published with the release -->
+          <plugin>
+            <inherited>true</inherited>
+            <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>
+          <!-- We want the JavaDoc JAR published with the release -->
+          <plugin>
+            <inherited>true</inherited>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</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>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>deploy</goal>
+                </goals>
+                <configuration>
+                  <updateReleaseInfo>true</updateReleaseInfo>
+                  <altDeploymentRepository>jvanzyl::default::scp://people.apache.org/x1/home/jvanzyl/public_html/stage</altDeploymentRepository>              
+                </configuration>                
+              </execution>
+            </executions>            
+          </plugin>
+          <!-- We want to deploy the site to a staging location for perusal -->
+          <plugin>
+            <artifactId>maven-site-plugin</artifactId>
+            <version>2.0-SNAPSHOT</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>stage-deploy</goal>
+                </goals>
+                <configuration>
+                  <stagingSiteURL>scp://people.apache.org/x1/home/jvanzyl/public_html/stage</stagingSiteURL>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>                    
+        </plugins>
+      </build>
+    </profile>       
   </profiles>
 </project>



Re: svn commit: r485060 - /maven/plugins/trunk/pom.xml

Posted by Jason van Zyl <ja...@maven.org>.
On 10 Dec 06, at 6:29 AM 10 Dec 06, Dennis Lundberg wrote:

> We need to use a <username> from a suitable <server> section from  
> settings.xml in both <altDeploymentRepository> and  
> <stagingSiteURL>. These two both have jvanzyl hard coded in them.
>

Yes, I fully realize. The next phase is doing the copying to of the  
artifacts and I'm working on this with Tom. The purpose of the  
profile was to display what's being produced to people could comment  
on the output. I'll get the configuration sorted out before any  
releases are made. Thanks for mentioning it though.

Jason.

> -- 
> Dennis Lundberg
>
> jvanzyl@apache.org wrote:
>> Author: jvanzyl
>> Date: Sat Dec  9 13:12:09 2006
>> New Revision: 485060
>> URL: http://svn.apache.org/viewvc?view=rev&rev=485060
>> Log:
>> o a new release profile that supports staging
>> Modified:
>>     maven/plugins/trunk/pom.xml
>> Modified: maven/plugins/trunk/pom.xml
>> URL: http://svn.apache.org/viewvc/maven/plugins/trunk/pom.xml? 
>> view=diff&rev=485060&r1=485059&r2=485060
>> ===================================================================== 
>> =========
>> --- maven/plugins/trunk/pom.xml (original)
>> +++ maven/plugins/trunk/pom.xml Sat Dec  9 13:12:09 2006
>> @@ -162,5 +162,72 @@
>>          </plugins>
>>        </build>
>>      </profile>
>> +    <profile>
>> +      <id>stageRelease</id>
>> +      <build>
>> +        <plugins>
>> +          <!-- We want the sources JAR published with the release  
>> -->
>> +          <plugin>
>> +            <inherited>true</inherited>
>> +            <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>
>> +          <!-- We want the JavaDoc JAR published with the release  
>> -->
>> +          <plugin>
>> +            <inherited>true</inherited>
>> +            <groupId>org.apache.maven.plugins</groupId>
>> +            <artifactId>maven-javadoc-plugin</artifactId>
>> +            <executions>
>> +              <execution>
>> +                <id>attach-javadocs</id>
>> +                <goals>
>> +                  <goal>jar</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>
>> +            <executions>
>> +              <execution>
>> +                <goals>
>> +                  <goal>deploy</goal>
>> +                </goals>
>> +                <configuration>
>> +                  <updateReleaseInfo>true</updateReleaseInfo>
>> +                   
>> <altDeploymentRepository>jvanzyl::default::scp://people.apache.org/ 
>> x1/home/jvanzyl/public_html/stage</ 
>> altDeploymentRepository>              +                </ 
>> configuration>                +              </execution>
>> +            </executions>            +          </plugin>
>> +          <!-- We want to deploy the site to a staging location  
>> for perusal -->
>> +          <plugin>
>> +            <artifactId>maven-site-plugin</artifactId>
>> +            <version>2.0-SNAPSHOT</version>
>> +            <executions>
>> +              <execution>
>> +                <goals>
>> +                  <goal>stage-deploy</goal>
>> +                </goals>
>> +                <configuration>
>> +                  <stagingSiteURL>scp://people.apache.org/x1/home/ 
>> jvanzyl/public_html/stage</stagingSiteURL>
>> +                </configuration>
>> +              </execution>
>> +            </executions>
>> +          </plugin>                    +        </plugins>
>> +      </build>
>> +    </profile>          </profiles>
>>  </project>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


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


Re: svn commit: r485060 - /maven/plugins/trunk/pom.xml

Posted by Dennis Lundberg <de...@apache.org>.
We need to use a <username> from a suitable <server> section from 
settings.xml in both <altDeploymentRepository> and <stagingSiteURL>. 
These two both have jvanzyl hard coded in them.

-- 
Dennis Lundberg

jvanzyl@apache.org wrote:
> Author: jvanzyl
> Date: Sat Dec  9 13:12:09 2006
> New Revision: 485060
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=485060
> Log:
> o a new release profile that supports staging
> 
> Modified:
>     maven/plugins/trunk/pom.xml
> 
> Modified: maven/plugins/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/maven/plugins/trunk/pom.xml?view=diff&rev=485060&r1=485059&r2=485060
> ==============================================================================
> --- maven/plugins/trunk/pom.xml (original)
> +++ maven/plugins/trunk/pom.xml Sat Dec  9 13:12:09 2006
> @@ -162,5 +162,72 @@
>          </plugins>
>        </build>
>      </profile>
> +    <profile>
> +      <id>stageRelease</id>
> +      <build>
> +        <plugins>
> +          <!-- We want the sources JAR published with the release -->
> +          <plugin>
> +            <inherited>true</inherited>
> +            <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>
> +          <!-- We want the JavaDoc JAR published with the release -->
> +          <plugin>
> +            <inherited>true</inherited>
> +            <groupId>org.apache.maven.plugins</groupId>
> +            <artifactId>maven-javadoc-plugin</artifactId>
> +            <executions>
> +              <execution>
> +                <id>attach-javadocs</id>
> +                <goals>
> +                  <goal>jar</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>
> +            <executions>
> +              <execution>
> +                <goals>
> +                  <goal>deploy</goal>
> +                </goals>
> +                <configuration>
> +                  <updateReleaseInfo>true</updateReleaseInfo>
> +                  <altDeploymentRepository>jvanzyl::default::scp://people.apache.org/x1/home/jvanzyl/public_html/stage</altDeploymentRepository>              
> +                </configuration>                
> +              </execution>
> +            </executions>            
> +          </plugin>
> +          <!-- We want to deploy the site to a staging location for perusal -->
> +          <plugin>
> +            <artifactId>maven-site-plugin</artifactId>
> +            <version>2.0-SNAPSHOT</version>
> +            <executions>
> +              <execution>
> +                <goals>
> +                  <goal>stage-deploy</goal>
> +                </goals>
> +                <configuration>
> +                  <stagingSiteURL>scp://people.apache.org/x1/home/jvanzyl/public_html/stage</stagingSiteURL>
> +                </configuration>
> +              </execution>
> +            </executions>
> +          </plugin>                    
> +        </plugins>
> +      </build>
> +    </profile>       
>    </profiles>
>  </project>
> 
> 


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