Revision: 9836
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9836&view=rev
Author:   dnaber
Date:     2013-04-01 09:46:49 +0000 (Mon, 01 Apr 2013)
Log Message:
-----------
undo the "inherited" change as the sonatype validation on "Close" complained 
about missing *.asc signatures - use a profile instead to sign only on release, 
as suggested by the sonatype documentation

Modified Paths:
--------------
    trunk/languagetool/pom.xml

Modified: trunk/languagetool/pom.xml
===================================================================
--- trunk/languagetool/pom.xml  2013-03-31 22:43:34 UTC (rev 9835)
+++ trunk/languagetool/pom.xml  2013-04-01 09:46:49 UTC (rev 9836)
@@ -40,26 +40,42 @@
           <mavenExecutorId>forked-path</mavenExecutorId>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-gpg-plugin</artifactId>
-        <version>1.4</version>
-        <inherited>false</inherited> 
-        <configuration>
-          <useAgent>true</useAgent>  
-        </configuration>
-        <executions>
-          <execution>
-            <id>sign-artifacts</id>
-            <phase>verify</phase>
-            <goals>
-              <goal>sign</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
+
+  <profiles>
+    <!-- taken from 
https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven
 -->
+    <profile>
+      <id>release-sign-artifacts</id>
+      <activation>
+        <property>
+          <name>performRelease</name>
+          <value>true</value>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>1.4</version>
+            <configuration>
+              <useAgent>true</useAgent>  
+            </configuration>
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
     
   <modules>
     <module>languagetool-core</module>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to