Skip to content

Commit

Permalink
Add management and release config.
Browse files Browse the repository at this point in the history
Use Maven plugins to automatise releasing and publishing to Maven
Central.
  • Loading branch information
gouttegd committed Jun 25, 2023
1 parent 502db56 commit 0cb0273
Showing 1 changed file with 73 additions and 2 deletions.
75 changes: 73 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,49 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.incenp</groupId>
<artifactId>kgcl</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>KGCL for Java</name>
<version>0.1.0-SNAPSHOT</version>
<name>KGCL-Java</name>
<description>KGCL for Java and ROBOT</description>
<url>https://incenp.org/dvlpt/kgcl-java/</url>

<licenses>
<license>
<name>GPL-3.0-or-later</name>
<url>https://www.gnu.org/licenses/gpl-3.0-standalone.html</url>
<distribution>manual</distribution>
<comments>GNU General Public License v3.0 or later</comments>
</license>
<license>
<name>MIT</name>
</license>
</licenses>

<developers>
<developer>
<id>damien</id>
<name>Damien Goutte-Gattat</name>
<email>[email protected]</email>
</developer>
</developers>

<scm>
<connection>scm:git:https://github.com/gouttegd/kgcl-java.git</connection>
<developerConnection>scm:git:ssh://[email protected]/gouttegd/kgcl-java.git</developerConnection>
<url>https://github.com/gouttegd/kgcl-java</url>
<tag>HEAD</tag>
</scm>

<issueManagement>
<system>GitHub</system>
<url>https://github.com/gouttegd/kgcl-java/issues</url>
</issueManagement>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

<dependencies>
<dependency>
Expand Down Expand Up @@ -161,6 +202,36 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 0cb0273

Please sign in to comment.