Skip to content

Commit 59aad2b

Browse files
committed
added javadoc and source jar goals to publish-to-maven-central profile
1 parent ce2c8a4 commit 59aad2b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,30 @@
11041104

11051105
<build>
11061106
<plugins>
1107+
<plugin>
1108+
<groupId>org.apache.maven.plugins</groupId>
1109+
<artifactId>maven-source-plugin</artifactId>
1110+
<executions>
1111+
<execution>
1112+
<id>attach-sources</id>
1113+
<goals>
1114+
<goal>jar</goal>
1115+
</goals>
1116+
</execution>
1117+
</executions>
1118+
</plugin>
1119+
<plugin>
1120+
<groupId>org.apache.maven.plugins</groupId>
1121+
<artifactId>maven-javadoc-plugin</artifactId>
1122+
<executions>
1123+
<execution>
1124+
<id>attach-javadocs</id>
1125+
<goals>
1126+
<goal>jar</goal>
1127+
</goals>
1128+
</execution>
1129+
</executions>
1130+
</plugin>
11071131
<plugin>
11081132
<groupId>org.apache.maven.plugins</groupId>
11091133
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)