File tree Expand file tree Collapse file tree 6 files changed +32
-7
lines changed
Expand file tree Collapse file tree 6 files changed +32
-7
lines changed Original file line number Diff line number Diff line change 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 <!-- ======================================================= -->
Original file line number Diff line number Diff line change 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 >
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 -->
296307 </repository >
297308 </repositories >
298309
299- <!-- Deployment to public servers -->
310+ <!-- Deployment to public servers
300311 <distributionManagement>
301312 <snapshotRepository>
302313 <id>ossrh</id>
311322 <url>scp://unitsofmeasurement.github.io/www/docs/uom-systems/</url>
312323 </site>
313324 </distributionManagement>
325+ -->
314326
315327 <profiles >
316328 <profile >
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
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 >
Original file line number Diff line number Diff line change 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) -->
You can’t perform that action at this time.
0 commit comments