Skip to content

Commit 7f89d0f

Browse files
committed
I modified the pom.xml to be able to publish the library to Maven Central
1 parent 2f3ba2a commit 7f89d0f

File tree

1 file changed

+91
-2
lines changed

1 file changed

+91
-2
lines changed

pom.xml

Lines changed: 91 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,97 @@
88
<artifactId>java-excel-utils</artifactId>
99
<version>0.1.0</version>
1010
<packaging>jar</packaging>
11-
<name>java-excel-tools</name>
12-
<description>Library with tools to work with Excel files</description>
11+
<name>Java library with tools for Excel files</name>
12+
<description>Java library that collects tools and methods to speed up development with Excel sheets</description>
13+
<url>https://github.com/MBenincasa/java-excel-utils</url>
14+
<build>
15+
<plugins>
16+
<plugin>
17+
<groupId>org.sonatype.plugins</groupId>
18+
<artifactId>nexus-staging-maven-plugin</artifactId>
19+
<version>1.6.13</version>
20+
<extensions>true</extensions>
21+
<configuration>
22+
<serverId>ossrh</serverId>
23+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
24+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
25+
</configuration>
26+
</plugin>
27+
<plugin>
28+
<groupId>org.apache.maven.plugins</groupId>
29+
<artifactId>maven-source-plugin</artifactId>
30+
<version>2.2.1</version>
31+
<executions>
32+
<execution>
33+
<id>attach-sources</id>
34+
<goals>
35+
<goal>jar-no-fork</goal>
36+
</goals>
37+
</execution>
38+
</executions>
39+
</plugin>
40+
<plugin>
41+
<groupId>org.apache.maven.plugins</groupId>
42+
<artifactId>maven-javadoc-plugin</artifactId>
43+
<version>2.9.1</version>
44+
<executions>
45+
<execution>
46+
<id>attach-javadocs</id>
47+
<goals>
48+
<goal>jar</goal>
49+
</goals>
50+
</execution>
51+
</executions>
52+
</plugin>
53+
<plugin>
54+
<groupId>org.apache.maven.plugins</groupId>
55+
<artifactId>maven-gpg-plugin</artifactId>
56+
<version>1.5</version>
57+
<executions>
58+
<execution>
59+
<id>sign-artifacts</id>
60+
<phase>verify</phase>
61+
<goals>
62+
<goal>sign</goal>
63+
</goals>
64+
</execution>
65+
</executions>
66+
</plugin>
67+
</plugins>
68+
</build>
69+
70+
<developers>
71+
<developer>
72+
<name>Mirko Benincasa</name>
73+
<email>[email protected]</email>
74+
<organization>io.github.mbenincasa</organization>
75+
<organizationUrl>https://github.com/MBenincasa</organizationUrl>
76+
</developer>
77+
</developers>
78+
79+
<licenses>
80+
<license>
81+
<name>GPL-v3.0</name>
82+
<url>https://www.gnu.org/licenses/gpl-3.0.txt</url>
83+
</license>
84+
</licenses>
85+
86+
<distributionManagement>
87+
<snapshotRepository>
88+
<id>ossrh</id>
89+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
90+
</snapshotRepository>
91+
<repository>
92+
<id>ossrh</id>
93+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
94+
</repository>
95+
</distributionManagement>
96+
97+
<scm>
98+
<connection>scm:git:git://github.com/MBenincasa/java-excel-utils.git</connection>
99+
<developerConnection>scm:git:ssh://github.com:MBenincasa/java-excel-utils.git</developerConnection>
100+
<url>https://github.com/MBenincasa/java-excel-utils</url>
101+
</scm>
13102

14103
<properties>
15104
<maven.compiler.source>17</maven.compiler.source>

0 commit comments

Comments
 (0)