Преглед на файлове

Prepare pom.xml for the upcoming release.

Timur Sağlam преди 4 години
родител
ревизия
2bdabcabce
променени са 1 файла, в които са добавени 38 реда и са изтрити 0 реда
  1. 38 0
      pom.xml

+ 38 - 0
pom.xml

@@ -19,6 +19,16 @@
     <system>GitHub Actions</system>
     <url>https://github.com/jplag/jplag/actions</url>
   </ciManagement>
+  <distributionManagement>
+    <snapshotRepository>
+      <id>ossrh</id>
+      <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
+    </snapshotRepository>
+    <repository>
+      <id>ossrh</id>
+      <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
+    </repository>
+  </distributionManagement>
   <organization>
     <name>Karlsruhe Institute of Technology (KIT), Institute for Program Structures and Data Organization</name>
     <url>http://www.ipd.kit.edu</url>
@@ -96,6 +106,34 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-gpg-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>sign-artifacts</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>sign</goal>
+            </goals>
+            <configuration>
+              <keyname>0xC6E9DAC2</keyname>
+              <passphraseServerId>${gpg.passphrase}</passphraseServerId>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.sonatype.plugins</groupId>
+        <artifactId>nexus-staging-maven-plugin</artifactId>
+        <version>1.6.7</version>
+        <extensions>true</extensions>
+        <configuration>
+          <serverId>ossrh</serverId>
+          <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
+          <autoReleaseAfterClose>true</autoReleaseAfterClose>
+        </configuration>
+      </plugin>
     </plugins>
     <pluginManagement>
       <plugins>