Skip to content

Commit

Permalink
Added maven central config for release
Browse files Browse the repository at this point in the history
  • Loading branch information
KodeMunkie committed May 11, 2024
1 parent 38d2486 commit e907361
Showing 1 changed file with 76 additions and 8 deletions.
84 changes: 76 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,88 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>uk.co.silentsoftware</groupId>
<artifactId>gameboy-camera-lib</artifactId>
<version>1.2.0</version>
<name>Gameboy Camera Lib</name>
<description>A Gameboy Camera image (2bpp) encoder and decoder library</description>
<url>https://github.com/KodeMunkie/gameboycameralib</url>
<licenses>
<license>
<name>GNU Affero General Public License v3</name>
<url>http://www.fsf.org/licensing/licenses/agpl-3.0.html</url>
</license>
</licenses>

<developers>
<developer>
<name>Benjamin Brown</name>
</developer>
</developers>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.4.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<tokenAuth>true</tokenAuth>
<!--<skipPublishing>true</skipPublishing>-->
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
<dependency>
Expand All @@ -38,11 +109,8 @@
</dependency>
</dependencies>

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub KodeMunkie Apache Maven Packages</name>
<url>https://maven.pkg.github.com/kodemunkie/gameboycameralib</url>
</repository>
</distributionManagement>
<scm>
<url>https://github.com/KodeMunkie/gameboycameralib</url>
<connection>scm:git:git://github.com/KodeMunkie/gameboycameralib.git</connection>
</scm>
</project>

0 comments on commit e907361

Please sign in to comment.