You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2007/03/19 22:59:37 UTC

svn commit: r520118 - /cocoon/trunk/pom.xml

Author: reinhard
Date: Mon Mar 19 14:59:34 2007
New Revision: 520118

URL: http://svn.apache.org/viewvc?view=rev&rev=520118
Log:
configure gpg plugin

Modified:
    cocoon/trunk/pom.xml

Modified: cocoon/trunk/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/pom.xml?view=diff&rev=520118&r1=520117&r2=520118
==============================================================================
--- cocoon/trunk/pom.xml (original)
+++ cocoon/trunk/pom.xml Mon Mar 19 14:59:34 2007
@@ -677,7 +677,7 @@
           <outputDirectory>target</outputDirectory>
           <workDirectory>target/assembly</workDirectory>
         </configuration>
-      </plugin>
+      </plugin> 
     </plugins>
   </build>
 
@@ -847,6 +847,26 @@
   </properties>
 
   <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.0-alpha-3</version>
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>          
+        </plugins>
+      </build>
+    </profile>
     <profile>
       <id>all-reports</id>
       <pluginRepositories>



Re: svn commit: r520118 - /cocoon/trunk/pom.xml

Posted by Reinhard Poetz <re...@apache.org>.
Jorg Heymans wrote:
> Do the source and javadoc binaries get signed as well with this 
> configuration ? I had to do some extra config for excalibur to get this 
> to work (http://svn.apache.org/repos/asf/excalibur/trunk/pom.xml)

yes, see 
http://people.apache.org/~reinhard/gpg-test-release/org/apache/cocoon/cocoon-configuration-api/1.0.0-gpg-test-release-5/

After playing around with Maven for about 2 hours I finally got it working with 
the cited configuration and following command

mvn -N release:perform -Darguments="-N 
-Dgpg.passphrase='[secret_passphrase_here]'" -P release

HTH

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------

Re: svn commit: r520118 - /cocoon/trunk/pom.xml

Posted by Jorg Heymans <jh...@apache.org>.
Do the source and javadoc binaries get signed as well with this 
configuration ? I had to do some extra config for excalibur to get this 
to work (http://svn.apache.org/repos/asf/excalibur/trunk/pom.xml)

Jorg

reinhard@apache.org wrote:
> Author: reinhard
> Date: Mon Mar 19 14:59:34 2007
> New Revision: 520118
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=520118
> Log:
> configure gpg plugin
> 
> Modified:
>     cocoon/trunk/pom.xml
> 
> Modified: cocoon/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/cocoon/trunk/pom.xml?view=diff&rev=520118&r1=520117&r2=520118
> ==============================================================================
> --- cocoon/trunk/pom.xml (original)
> +++ cocoon/trunk/pom.xml Mon Mar 19 14:59:34 2007
> @@ -677,7 +677,7 @@
>            <outputDirectory>target</outputDirectory>
>            <workDirectory>target/assembly</workDirectory>
>          </configuration>
> -      </plugin>
> +      </plugin> 
>      </plugins>
>    </build>
>  
> @@ -847,6 +847,26 @@
>    </properties>
>  
>    <profiles>
> +    <profile>
> +      <id>release</id>
> +      <build>
> +        <plugins>
> +          <plugin>
> +            <artifactId>maven-gpg-plugin</artifactId>
> +            <version>1.0-alpha-3</version>
> +            <executions>
> +              <execution>
> +                <id>sign-artifacts</id>
> +                <phase>verify</phase>
> +                <goals>
> +                  <goal>sign</goal>
> +                </goals>
> +              </execution>
> +            </executions>
> +          </plugin>          
> +        </plugins>
> +      </build>
> +    </profile>
>      <profile>
>        <id>all-reports</id>
>        <pluginRepositories>
> 
> 
>