Skip to content

Commit e5ee9a2

Browse files
committed
define the central-publishing-maven-plugin under plugins
1 parent 6f6e561 commit e5ee9a2

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

pom.xml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,6 @@
136136
<groupId>org.sonatype.central</groupId>
137137
<artifactId>central-publishing-maven-plugin</artifactId>
138138
<version>0.10.0</version>
139-
<extensions>true</extensions>
140-
<configuration>
141-
<publishingServerId>central</publishingServerId>
142-
<autoPublish>true</autoPublish>
143-
<waitUntil>published</waitUntil>
144-
</configuration>
145139
</plugin>
146140
<plugin>
147141
<groupId>org.apache.maven.plugins</groupId>
@@ -163,6 +157,16 @@
163157

164158
<plugins>
165159
<!-- if you would like to run the git-commit-id-plugin for your build, you could also include it here instead using a profile (see README.md) -->
160+
<plugin>
161+
<groupId>org.sonatype.central</groupId>
162+
<artifactId>central-publishing-maven-plugin</artifactId>
163+
<extensions>true</extensions>
164+
<configuration>
165+
<publishingServerId>central</publishingServerId>
166+
<autoPublish>true</autoPublish>
167+
<waitUntil>published</waitUntil>
168+
</configuration>
169+
</plugin>
166170
<!-- Setting built-in java compiler properties -->
167171
<plugin>
168172
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)