Skip to content

Commit 3d27a5f

Browse files
author
Gérard Collin
committed
fix: Publishable to Sonatype now
1 parent 5982467 commit 3d27a5f

4 files changed

Lines changed: 55 additions & 2 deletions

File tree

pom.xml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>net.dontcode.common</groupId>
66
<artifactId>parent</artifactId>
7-
<name>Dont-code Quarkus Mongo</name>
7+
<name>Dont-code Quarkus Mongo Parent</name>
8+
<description>Parent pom for Quarkus - Mongo support to Dont-code.</description>
9+
<url>https://dont-code.net</url>
810
<version>0.4.0</version>
911
<packaging>pom</packaging>
1012
<properties>
@@ -13,6 +15,7 @@
1315
<javadoc-plugin.version>3.6.3</javadoc-plugin.version>
1416
<gpg-plugin.version>3.2.1</gpg-plugin.version>
1517
<maven.compiler.release>25</maven.compiler.release>
18+
<central-publishing-maven-plugin.version>0.9.0</central-publishing-maven-plugin.version>
1619
<jandex-plugin.version>3.1.7</jandex-plugin.version>
1720
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1821
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -34,6 +37,16 @@
3437
</dependencyManagement>
3538
<build>
3639
<finalName>${project.artifactId}</finalName>
40+
<plugins>
41+
<plugin>
42+
<groupId>org.apache.maven.plugins</groupId>
43+
<artifactId>maven-gpg-plugin</artifactId>
44+
</plugin>
45+
<plugin>
46+
<groupId>org.sonatype.central</groupId>
47+
<artifactId>central-publishing-maven-plugin</artifactId>
48+
</plugin>
49+
</plugins>
3750
<pluginManagement>
3851
<plugins>
3952
<plugin>
@@ -153,6 +166,15 @@
153166
</execution>
154167
</executions>
155168
</plugin>
169+
<plugin>
170+
<groupId>org.sonatype.central</groupId>
171+
<artifactId>central-publishing-maven-plugin</artifactId>
172+
<version>${central-publishing-maven-plugin.version}</version>
173+
<extensions>true</extensions>
174+
<configuration>
175+
<publishingServerId>central</publishingServerId>
176+
</configuration>
177+
</plugin>
156178
</plugins>
157179
</pluginManagement>
158180
</build>

quarkus-mongo-test/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
44
<modelVersion>4.0.0</modelVersion>
55
<artifactId>quarkus-mongo-test</artifactId>
6+
<name>Dont-code Quarkus Mongo Test</name>
7+
<description>Quarkus - Mongo Test support to Dont-code.</description>
8+
<url>https://dont-code.net</url>
69
<parent>
710
<groupId>net.dontcode.common</groupId>
811
<artifactId>parent</artifactId>
@@ -59,9 +62,26 @@
5962
<groupId>net.dontcode</groupId>
6063
<artifactId>core</artifactId>
6164
</dependency>
65+
6266
</dependencies>
6367
<build>
6468
<plugins>
69+
<plugin>
70+
<groupId>org.apache.maven.plugins</groupId>
71+
<artifactId>maven-javadoc-plugin</artifactId>
72+
</plugin>
73+
<plugin>
74+
<groupId>org.apache.maven.plugins</groupId>
75+
<artifactId>maven-source-plugin</artifactId>
76+
</plugin>
77+
<plugin>
78+
<groupId>org.apache.maven.plugins</groupId>
79+
<artifactId>maven-gpg-plugin</artifactId>
80+
</plugin>
81+
<plugin>
82+
<groupId>org.sonatype.central</groupId>
83+
<artifactId>central-publishing-maven-plugin</artifactId>
84+
</plugin>
6585
</plugins>
6686
</build>
6787
<scm>

quarkus-mongo/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
44
<modelVersion>4.0.0</modelVersion>
55
<artifactId>quarkus-mongo</artifactId>
6+
<name>Dont-code Quarkus Mongo</name>
7+
<description>Quarkus - Mongo support to Dont-code.</description>
8+
<url>https://dont-code.net</url>
69
<parent>
710
<groupId>net.dontcode.common</groupId>
811
<artifactId>parent</artifactId>
@@ -84,6 +87,14 @@
8487
<groupId>io.smallrye</groupId>
8588
<artifactId>jandex-maven-plugin</artifactId>
8689
</plugin>
90+
<plugin>
91+
<groupId>org.apache.maven.plugins</groupId>
92+
<artifactId>maven-gpg-plugin</artifactId>
93+
</plugin>
94+
<plugin>
95+
<groupId>org.sonatype.central</groupId>
96+
<artifactId>central-publishing-maven-plugin</artifactId>
97+
</plugin>
8798
</plugins>
8899
</build>
89100
<scm>

quarkus-mongo/src/main/docker/Dockerfile.legacy-jar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Before building the container image run:
55
#
6-
# ./mvnw package -Dquarkus.package.type=legacy-jar
6+
# ./mvnw package -Dquarkus.package.jar.type=legacy-jar
77
#
88
# Then, build the image with:
99
#

0 commit comments

Comments
 (0)