Skip to content

Commit 8511314

Browse files
committed
Fix rule failure while trying to close staging repository
See #74
1 parent aab8987 commit 8511314

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

pom.xml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,35 @@
169169
</profile>
170170

171171
<!-- Profile for deploying to Sonatype OSSRH -->
172-
173172
<profile>
174173
<id>central</id>
175174
<build>
176175
<pluginManagement>
177176
<plugins>
177+
<plugin>
178+
<groupId>org.apache.maven.plugins</groupId>
179+
<artifactId>maven-source-plugin</artifactId>
180+
<executions>
181+
<execution>
182+
<id>attach-sources</id>
183+
<goals>
184+
<goal>jar-no-fork</goal>
185+
</goals>
186+
</execution>
187+
</executions>
188+
</plugin>
189+
<plugin>
190+
<groupId>org.apache.maven.plugins</groupId>
191+
<artifactId>maven-javadoc-plugin</artifactId>
192+
<executions>
193+
<execution>
194+
<id>attach-javadocs</id>
195+
<goals>
196+
<goal>jar</goal>
197+
</goals>
198+
</execution>
199+
</executions>
200+
</plugin>
178201
<plugin>
179202
<groupId>org.sonatype.plugins</groupId>
180203
<artifactId>nexus-staging-maven-plugin</artifactId>

0 commit comments

Comments
 (0)