Skip to content

Commit d5825d6

Browse files
committed
🔧 Mise à jour config pom.xml
Ajout profil Github Package
1 parent 8f021ad commit d5825d6

File tree

1 file changed

+47
-25
lines changed

1 file changed

+47
-25
lines changed

pom.xml

Lines changed: 47 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -70,36 +70,58 @@
7070
<developer>
7171
<name>Mathieu SOYSAL</name>
7272
<email>Mathieu.Soysal@outlook.fr</email>
73+
<url>https://MathieuSoysal.me/</url>
7374
<organization>com.github.devlab-umontp</organization>
7475
<organizationUrl>https://github.com/DevLab-umontp</organizationUrl>
7576
</developer>
7677
</developers>
7778

79+
<issueManagement>
80+
<system>github</system>
81+
<url>https://github.com/DevLab-umontp/Librarie-Java-EDT/issues</url>
82+
</issueManagement>
83+
7884
<scm>
7985
<connection>scm:git:git://github.com/DevLab-umontp/API-JAVA-EDT.git</connection>
8086
<developerConnection>scm:git:ssh://github.com:DevLab-umontp/API-JAVA-EDT.git</developerConnection>
8187
<url>http://github.com/DevLab-umontp/API-JAVA-EDT</url>
8288
</scm>
8389

84-
<distributionManagement>
85-
<snapshotRepository>
86-
<id>ossrh</id>
87-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
88-
</snapshotRepository>
89-
<repository>
90-
<id>ossrh</id>
91-
<name>Sonatype</name>
92-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
93-
</repository>
94-
</distributionManagement>
95-
9690

9791
<profiles>
92+
93+
<!-- Porfil : Maven Centrale -->
9894
<profile>
99-
<id>deploy</id>
95+
<id>ossrhDeploy</id>
96+
97+
<distributionManagement>
98+
<snapshotRepository>
99+
<id>ossrh</id>
100+
<name>Central Repository OSSRH</name>
101+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
102+
</snapshotRepository>
103+
<repository>
104+
<id>ossrh</id>
105+
<name>Central Repository OSSRH</name>
106+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
107+
</repository>
108+
</distributionManagement>
109+
100110
<build>
101111
<plugins>
102112

113+
<plugin>
114+
<groupId>org.sonatype.plugins</groupId>
115+
<artifactId>nexus-staging-maven-plugin</artifactId>
116+
<version>1.6.8</version>
117+
<extensions>true</extensions>
118+
<configuration>
119+
<serverId>ossrh</serverId>
120+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
121+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
122+
</configuration>
123+
</plugin>
124+
103125
<plugin>
104126
<groupId>org.apache.maven.plugins</groupId>
105127
<artifactId>maven-source-plugin</artifactId>
@@ -152,6 +174,18 @@
152174
</plugins>
153175
</build>
154176
</profile>
177+
178+
<!-- Profil : Github Apache Maven Packages -->
179+
<profile>
180+
<id>githubDeploy</id>
181+
<distributionManagement>
182+
<repository>
183+
<id>github</id>
184+
<name>GitHub DevLab-umontp Apache Maven Packages</name>
185+
<url>https://maven.pkg.github.com/DevLab-umontp/Librarie-Java-EDT</url>
186+
</repository>
187+
</distributionManagement>
188+
</profile>
155189
</profiles>
156190

157191
<build>
@@ -180,18 +214,6 @@
180214
</configuration>
181215
</plugin>
182216

183-
<plugin>
184-
<groupId>org.sonatype.plugins</groupId>
185-
<artifactId>nexus-staging-maven-plugin</artifactId>
186-
<version>1.6.8</version>
187-
<extensions>true</extensions>
188-
<configuration>
189-
<serverId>ossrh</serverId>
190-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
191-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
192-
</configuration>
193-
</plugin>
194-
195217
<plugin>
196218
<groupId>org.jacoco</groupId>
197219
<artifactId>jacoco-maven-plugin</artifactId>

0 commit comments

Comments
 (0)