Changeset: df918607a249 for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java/rev/df918607a249
Modified Files:
        pom.xml
Branch: mvn
Log Message:

Do not hardcode the gpg key id


diffs (48 lines):

diff --git a/pom.xml b/pom.xml
--- a/pom.xml
+++ b/pom.xml
@@ -34,6 +34,8 @@
     </scm>
 
     <properties>
+        <signing-key>Please run with -Dsigning-key=...</signing-key>
+
         <maven.compiler.source>8</maven.compiler.source>
         <maven.compiler.target>8</maven.compiler.target>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -296,7 +298,7 @@
                 </executions>
                 <configuration>
                     <useAgent>true</useAgent>
-                    <keyname>9FC6C7E952E4E586C432C13A273BF13AC4816244</keyname>
+                    <keyname>${signing-key}</keyname>
                 </configuration>
             </plugin>
 
@@ -329,7 +331,7 @@
                 <executions></executions>
                 <configuration>
                     <tagNameFormat>v@{project.version}</tagNameFormat>
-                    <arguments>-DskipTests</arguments>
+                    <arguments>-DskipTests 
-Dsigning-key="${signing-key}"</arguments>
                     <!-- only record changes and tags locally, do not push -->
                     <pushChanges>false</pushChanges>
                     <localCheckout>true</localCheckout>
@@ -376,17 +378,6 @@
             </build>
         </profile>
 
-        <!-- the 'sign' profile enables GPG-signing the jar files -->
-        <profile>
-            <id>sign</id>
-            <build>
-                <plugins>
-
-                </plugins>
-            </build>
-        </profile>
-
-
     </profiles>
 
 
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to