|
47 | 47 | </developers> |
48 | 48 |
|
49 | 49 |
|
50 | | - <repositories> |
51 | | - <repository> |
52 | | - <id>central</id> |
53 | | - <name>Maven Central</name> |
54 | | - <layout>default</layout> |
55 | | - <url>https://repo1.maven.org/maven2</url> |
56 | | - <snapshots> |
57 | | - <enabled>false</enabled> |
58 | | - </snapshots> |
59 | | - </repository> |
60 | | - </repositories> |
61 | | - |
62 | 50 | <scm> |
63 | 51 | <connection> |
64 | 52 | scm:git:https://github.com/eclipse-basyx/basyx-java-server-sdk.git</connection> |
|
166 | 154 | </execution> |
167 | 155 | </executions> |
168 | 156 | </plugin> |
| 157 | + <!-- Central Publishing Plugin --> |
| 158 | + <plugin> |
| 159 | + <groupId>org.sonatype.central</groupId> |
| 160 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 161 | + <version>0.7.0</version> |
| 162 | + <extensions>true</extensions> |
| 163 | + <configuration> |
| 164 | + <publishingServerId>central</publishingServerId> |
| 165 | + <autoPublish>true</autoPublish> |
| 166 | + <waitUntil>published</waitUntil> |
| 167 | + <centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl> |
| 168 | + </configuration> |
| 169 | + </plugin> |
| 170 | + <plugin> |
| 171 | + <groupId>org.apache.maven.plugins</groupId> |
| 172 | + <artifactId>maven-gpg-plugin</artifactId> |
| 173 | + <version>1.5</version> |
| 174 | + <executions> |
| 175 | + <execution> |
| 176 | + <id>sign-artifacts</id> |
| 177 | + <phase>verify</phase> |
| 178 | + <goals> |
| 179 | + <goal>sign</goal> |
| 180 | + </goals> |
| 181 | + </execution> |
| 182 | + </executions> |
| 183 | + </plugin> |
169 | 184 | </plugins> |
170 | 185 | <pluginManagement> |
171 | 186 | <plugins> |
|
211 | 226 | </execution> |
212 | 227 | </executions> |
213 | 228 | </plugin> |
214 | | - |
215 | | - <!-- Upload to Maven Central --> |
216 | | - <plugin> |
217 | | - <groupId>org.sonatype.plugins</groupId> |
218 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
219 | | - <version>1.7.0</version> |
220 | | - <extensions>true</extensions> |
221 | | - <configuration> |
222 | | - <serverId>ossrh</serverId> |
223 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
224 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
225 | | - <stagingProfileId>2d2ac71e07682f</stagingProfileId> |
226 | | - </configuration> |
227 | | - </plugin> |
228 | 229 | <plugin> |
229 | 230 | <groupId>io.fabric8</groupId> |
230 | 231 | <artifactId>docker-maven-plugin</artifactId> |
|
1402 | 1403 | </dependencies> |
1403 | 1404 |
|
1404 | 1405 | <profiles> |
1405 | | - <profile> |
1406 | | - <id>MavenCentral</id> |
1407 | | - <distributionManagement> |
1408 | | - <snapshotRepository> |
1409 | | - <id>ossrh</id> |
1410 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
1411 | | - </snapshotRepository> |
1412 | | - <repository> |
1413 | | - <id>ossrh</id> |
1414 | | - <url> |
1415 | | - https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
1416 | | - </repository> |
1417 | | - </distributionManagement> |
1418 | | - <build> |
1419 | | - <plugins> |
1420 | | - <!-- Upload to maven central --> |
1421 | | - <plugin> |
1422 | | - <groupId>org.sonatype.plugins</groupId> |
1423 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
1424 | | - </plugin> |
1425 | | - |
1426 | | - <!-- Signing the artifacts --> |
1427 | | - <plugin> |
1428 | | - <groupId>org.apache.maven.plugins</groupId> |
1429 | | - <artifactId>maven-gpg-plugin</artifactId> |
1430 | | - </plugin> |
1431 | | - <plugin> |
1432 | | - <groupId>org.eclipse.dash</groupId> |
1433 | | - <artifactId>license-tool-plugin</artifactId> |
1434 | | - <version>1.1.1-SNAPSHOT</version> |
1435 | | - <executions> |
1436 | | - <execution> |
1437 | | - <id>license-check</id> |
1438 | | - <goals> |
1439 | | - <goal>license-check</goal> |
1440 | | - </goals> |
1441 | | - </execution> |
1442 | | - </executions> |
1443 | | - </plugin> |
1444 | | - <plugin> |
1445 | | - <groupId>org.apache.maven.plugins</groupId> |
1446 | | - <artifactId>maven-javadoc-plugin</artifactId> |
1447 | | - <executions> |
1448 | | - <execution> |
1449 | | - <id>attach-javadocs</id> |
1450 | | - <goals> |
1451 | | - <goal>jar</goal> |
1452 | | - </goals> |
1453 | | - </execution> |
1454 | | - </executions> |
1455 | | - </plugin> |
1456 | | - </plugins> |
1457 | | - </build> |
1458 | | - </profile> |
1459 | 1406 | <profile> |
1460 | 1407 | <id>docker-push</id> |
1461 | 1408 | <build> |
|
0 commit comments