Skip to content

Commit b247f59

Browse files
committed
feat: SMS-8 déploiement sur maven
1 parent cbc9528 commit b247f59

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
@@ -4,21 +4,110 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>resms</groupId>
8-
<artifactId>sdk_java</artifactId>
7+
<groupId>dev.resms</groupId>
8+
<artifactId>sdk</artifactId>
99
<version>1.0.0</version>
10+
<packaging>jar</packaging>
11+
12+
<name>reSMS Java SDK</name>
13+
<description>The Java SDK.</description>
14+
<url>https://resms.dev/</url>
15+
16+
<licenses>
17+
<license>
18+
<name>MIT License</name>
19+
<url>http://www.opensource.org/licenses/mit-license.php</url>
20+
</license>
21+
</licenses>
22+
23+
<developers>
24+
<developer>
25+
<name>Marche Jules</name>
26+
<email>[email protected]</email>
27+
<organization>reSMS</organization>
28+
<organizationUrl>https://resms.dev/</organizationUrl>
29+
</developer>
30+
</developers>
31+
32+
<scm>
33+
<connection>scm:git:git://github.com/reSMS-dev/resms-java.git</connection>
34+
<developerConnection>scm:git:ssh://github.com:reSMS-dev/resms-java.git</developerConnection>
35+
<url>https://github.com/reSMS-dev/resms-java/tree/main</url>
36+
</scm>
1037

1138
<properties>
1239
<maven.compiler.source>23</maven.compiler.source>
1340
<maven.compiler.target>23</maven.compiler.target>
1441
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1542
</properties>
1643

44+
1745
<dependencies>
1846
<dependency>
1947
<groupId>com.squareup.moshi</groupId>
2048
<artifactId>moshi</artifactId>
2149
<version>1.15.2</version>
2250
</dependency>
2351
</dependencies>
52+
53+
<build>
54+
<plugins>
55+
<plugin>
56+
<groupId>org.sonatype.central</groupId>
57+
<artifactId>central-publishing-maven-plugin</artifactId>
58+
<version>0.7.0</version>
59+
<extensions>true</extensions>
60+
<configuration>
61+
<publishingServerId>central</publishingServerId>
62+
</configuration>
63+
</plugin>
64+
65+
<plugin>
66+
<groupId>org.apache.maven.plugins</groupId>
67+
<artifactId>maven-source-plugin</artifactId>
68+
<version>2.2.1</version>
69+
<executions>
70+
<execution>
71+
<id>attach-sources</id>
72+
<goals>
73+
<goal>jar-no-fork</goal>
74+
</goals>
75+
</execution>
76+
</executions>
77+
</plugin>
78+
79+
<plugin>
80+
<groupId>org.apache.maven.plugins</groupId>
81+
<artifactId>maven-javadoc-plugin</artifactId>
82+
<version>2.9.1</version>
83+
<executions>
84+
<execution>
85+
<id>attach-javadocs</id>
86+
<goals>
87+
<goal>jar</goal>
88+
</goals>
89+
</execution>
90+
</executions>
91+
</plugin>
92+
93+
<!-- GPG signing -->
94+
<plugin>
95+
<groupId>org.apache.maven.plugins</groupId>
96+
<artifactId>maven-gpg-plugin</artifactId>
97+
<version>1.5</version>
98+
<configuration>
99+
<checksums>required</checksums>
100+
</configuration>
101+
<executions>
102+
<execution>
103+
<id>sign-artifacts</id>
104+
<phase>verify</phase>
105+
<goals>
106+
<goal>sign</goal>
107+
</goals>
108+
</execution>
109+
</executions>
110+
</plugin>
111+
</plugins>
112+
</build>
24113
</project>

0 commit comments

Comments
 (0)