Skip to content

Commit 2fc7f3b

Browse files
committed
pom update to publish to maven central
1 parent 5c1df7d commit 2fc7f3b

1 file changed

Lines changed: 92 additions & 16 deletions

File tree

pom.xml

Lines changed: 92 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,31 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4+
<description>Globs library used to instantiate a globs from a command line argument or env variables</description>
5+
<url>https://globsframework.org</url>
46
<groupId>org.globsframework</groupId>
57
<packaging>jar</packaging>
68
<artifactId>globs-commandline</artifactId>
79
<name>Generic Lightweight ObjectS command line</name>
8-
<version>4.1.0</version>
10+
<version>4.1.1</version>
11+
12+
<developers>
13+
<developer>
14+
<name>Marc Guiot</name>
15+
<email>marc.guiot@free.fr</email>
16+
</developer>
17+
</developers>
18+
19+
<licenses>
20+
<license>
21+
<name>Apache License</name>
22+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
23+
</license>
24+
</licenses>
25+
26+
<properties>
27+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
28+
</properties>
929

1030
<repositories>
1131
<repository>
@@ -14,6 +34,75 @@
1434
</repository>
1535
</repositories>
1636

37+
<scm>
38+
<url>https://github.com/globsframework/globs-commandline</url>
39+
</scm>
40+
41+
<profiles>
42+
<profile>
43+
<id>release</id>
44+
<build>
45+
<plugins>
46+
<plugin>
47+
<groupId>org.sonatype.central</groupId>
48+
<artifactId>central-publishing-maven-plugin</artifactId>
49+
<version>0.7.0</version>
50+
<extensions>true</extensions>
51+
<configuration>
52+
<publishingServerId>central</publishingServerId>
53+
</configuration>
54+
</plugin>
55+
<plugin>
56+
<groupId>org.apache.maven.plugins</groupId>
57+
<artifactId>maven-source-plugin</artifactId>
58+
<version>2.2.1</version>
59+
<executions>
60+
<execution>
61+
<id>attach-sources</id>
62+
<goals>
63+
<goal>jar-no-fork</goal>
64+
</goals>
65+
</execution>
66+
</executions>
67+
</plugin>
68+
<plugin>
69+
<groupId>org.apache.maven.plugins</groupId>
70+
<artifactId>maven-javadoc-plugin</artifactId>
71+
<version>2.9.1</version>
72+
<executions>
73+
<execution>
74+
<id>attach-javadocs</id>
75+
<goals>
76+
<goal>jar</goal>
77+
</goals>
78+
</execution>
79+
</executions>
80+
</plugin>
81+
<plugin>
82+
<groupId>org.apache.maven.plugins</groupId>
83+
<artifactId>maven-gpg-plugin</artifactId>
84+
<version>1.5</version>
85+
<executions>
86+
<execution>
87+
<id>sign-artifacts</id>
88+
<phase>verify</phase>
89+
<goals>
90+
<goal>sign</goal>
91+
</goals>
92+
<configuration>
93+
<gpgArguments>
94+
<arg>--pinentry-mode</arg>
95+
<arg>loopback</arg>
96+
</gpgArguments>
97+
</configuration>
98+
</execution>
99+
</executions>
100+
</plugin>
101+
</plugins>
102+
</build>
103+
</profile>
104+
</profiles>
105+
17106
<distributionManagement>
18107
<repository>
19108
<id>github-globsframework</id>
@@ -27,33 +116,20 @@
27116
<plugin>
28117
<groupId>org.apache.maven.plugins</groupId>
29118
<artifactId>maven-compiler-plugin</artifactId>
30-
<version>3.8.1</version>
119+
<version>3.11.0</version>
31120
<configuration>
32121
<source>17</source>
33122
<target>17</target>
34123
</configuration>
35124
</plugin>
36-
<plugin>
37-
<groupId>org.apache.maven.plugins</groupId>
38-
<artifactId>maven-source-plugin</artifactId>
39-
<version>3.2.1</version>
40-
<executions>
41-
<execution>
42-
<id>attach-sources</id>
43-
<goals>
44-
<goal>jar</goal>
45-
</goals>
46-
</execution>
47-
</executions>
48-
</plugin>
49125
</plugins>
50126
</build>
51127

52128
<dependencies>
53129
<dependency>
54130
<groupId>org.globsframework</groupId>
55131
<artifactId>globs</artifactId>
56-
<version>4.1.0</version>
132+
<version>4.1.1</version>
57133
</dependency>
58134
<!-- <dependency>-->
59135
<!-- <groupId>org.globsframework</groupId>-->

0 commit comments

Comments
 (0)