Skip to content

Commit

Permalink
updates for deploying to maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofab1rd committed Aug 24, 2024
1 parent dc4d3ef commit 1f368f8
Showing 1 changed file with 63 additions and 2 deletions.
65 changes: 63 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<groupId>com.univocity</groupId>
<groupId>com.sonofab1rd</groupId>
<artifactId>univocity-parsers</artifactId>
<version>2.9.2-SNAPSHOT</version>
<version>2.10.0-SNAPSHOT</version>
<name>univocity-parsers</name>
<packaging>jar</packaging>
<description>univocity's open source parsers for processing different text formats using a consistent API</description>
<url>https://github.com/sonofab1rd/univocity-parsers</url>

<licenses>
<license>
Expand All @@ -18,6 +19,31 @@
</license>
</licenses>

<scm>
<url>https://github.com/sonofab1rd/univocity-parsers</url>
<connection>scm:git:git://github.com/sonofab1rd/univocity-parsers.git</connection>
<developerConnection>scm:git:[email protected]/sonofab1rd/univocity-parsers.git</developerConnection>
</scm>

<developers>
<developer>
<id>parsers</id>
<name>univocity parser development team</name>
</developer>
</developers>

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

<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -141,6 +167,41 @@
</executions>
</plugin>

<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.5.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<configuration>
<keyname>${gpg.keyname}</keyname>
<passphraseServerId>${gpg.keyname}</passphraseServerId>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>

Expand Down

0 comments on commit 1f368f8

Please sign in to comment.