Skip to content

Commit

Permalink
I modified the pom.xml to be able to publish the library to Maven Cen…
Browse files Browse the repository at this point in the history
…tral
  • Loading branch information
MBenincasa committed Jan 16, 2023
1 parent 2f3ba2a commit 7f89d0f
Showing 1 changed file with 91 additions and 2 deletions.
93 changes: 91 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,97 @@
<artifactId>java-excel-utils</artifactId>
<version>0.1.0</version>
<packaging>jar</packaging>
<name>java-excel-tools</name>
<description>Library with tools to work with Excel files</description>
<name>Java library with tools for Excel files</name>
<description>Java library that collects tools and methods to speed up development with Excel sheets</description>
<url>https://github.com/MBenincasa/java-excel-utils</url>
<build>
<plugins>
<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://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.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>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<developers>
<developer>
<name>Mirko Benincasa</name>
<email>mirkobenincasa44@gmail.com</email>
<organization>io.github.mbenincasa</organization>
<organizationUrl>https://github.com/MBenincasa</organizationUrl>
</developer>
</developers>

<licenses>
<license>
<name>GPL-v3.0</name>
<url>https://www.gnu.org/licenses/gpl-3.0.txt</url>
</license>
</licenses>

<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>

<scm>
<connection>scm:git:git://github.com/MBenincasa/java-excel-utils.git</connection>
<developerConnection>scm:git:ssh://github.com:MBenincasa/java-excel-utils.git</developerConnection>
<url>https://github.com/MBenincasa/java-excel-utils</url>
</scm>

<properties>
<maven.compiler.source>17</maven.compiler.source>
Expand Down

0 comments on commit 7f89d0f

Please sign in to comment.