Skip to content

Commit f5bc041

Browse files
committed
Updated deployment
1 parent 3d0d071 commit f5bc041

File tree

6 files changed

+32
-7
lines changed

6 files changed

+32
-7
lines changed

common/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@
137137
<artifactId>maven-javadoc-plugin</artifactId>
138138
</plugin>
139139

140+
<plugin>
141+
<groupId>org.sonatype.central</groupId>
142+
<artifactId>central-publishing-maven-plugin</artifactId>
143+
</plugin>
144+
140145
<!-- ======================================================= -->
141146
<!-- Packaging (OSGi bundle) -->
142147
<!-- ======================================================= -->

pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@
188188
</excludes>
189189
</configuration>
190190
</plugin>
191+
192+
<!-- ======================================================= -->
193+
<!-- Sonatype Central -->
194+
<!-- ======================================================= -->
191195
<plugin>
192196
<groupId>org.sonatype.central</groupId>
193197
<artifactId>central-publishing-maven-plugin</artifactId>
@@ -201,6 +205,13 @@
201205
</plugin>
202206
</plugins>
203207
</pluginManagement>
208+
209+
<plugins>
210+
<plugin>
211+
<groupId>org.sonatype.central</groupId>
212+
<artifactId>central-publishing-maven-plugin</artifactId>
213+
</plugin>
214+
</plugins>
204215
</build>
205216

206217
<!-- Dependency Management -->
@@ -296,7 +307,7 @@
296307
</repository>
297308
</repositories>
298309

299-
<!-- Deployment to public servers -->
310+
<!-- Deployment to public servers
300311
<distributionManagement>
301312
<snapshotRepository>
302313
<id>ossrh</id>
@@ -311,6 +322,7 @@
311322
<url>scp://unitsofmeasurement.github.io/www/docs/uom-systems/</url>
312323
</site>
313324
</distributionManagement>
325+
-->
314326

315327
<profiles>
316328
<profile>

quantity/pom.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,10 @@
6767
<artifactId>maven-javadoc-plugin</artifactId>
6868
</plugin>
6969

70-
<!-- ======================================================= -->
71-
<!-- Sonatype Central -->
72-
<!-- =======================================================
7370
<plugin>
7471
<groupId>org.sonatype.central</groupId>
7572
<artifactId>central-publishing-maven-plugin</artifactId>
76-
</plugin -->
73+
</plugin>
7774
</plugins>
7875
</build>
7976

settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
22
<servers>
33
<server>
4-
<id>ossrh</id>
4+
<id>central</id>
55
<username>${env.CI_DEPLOY_USERNAME}</username>
66
<password>${env.CI_DEPLOY_PASSWORD}</password>
77
</server>

ucum/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
</dependency>
116116
</dependencies>
117117
<build>
118-
<plugins>
118+
<plugins>
119119
<!-- Use toolchains to select the compilers -->
120120
<plugin>
121121
<groupId>org.apache.maven.plugins</groupId>
@@ -213,6 +213,11 @@
213213
<groupId>org.apache.maven.plugins</groupId>
214214
<artifactId>maven-javadoc-plugin</artifactId>
215215
</plugin>
216+
217+
<plugin>
218+
<groupId>org.sonatype.central</groupId>
219+
<artifactId>central-publishing-maven-plugin</artifactId>
220+
</plugin>
216221
</plugins>
217222
<pluginManagement>
218223
<plugins>

unicode/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@
127127
<groupId>org.apache.maven.plugins</groupId>
128128
<artifactId>maven-javadoc-plugin</artifactId>
129129
</plugin>
130+
131+
<plugin>
132+
<groupId>org.sonatype.central</groupId>
133+
<artifactId>central-publishing-maven-plugin</artifactId>
134+
</plugin>
135+
130136

131137
<!-- ======================================================= -->
132138
<!-- Packaging (OSGi bundle) -->

0 commit comments

Comments
 (0)