Skip to content

Commit 998cfbc

Browse files
authored
Merge pull request #53 from evolvedbinary/6.x.x/hotfix/maven-release
[6.x.x] Fix an issue with the Maven Release of sources and javadocs
2 parents 3afd68a + 0c339f8 commit 998cfbc

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

elemental-parent/pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,32 @@
604604
<id>elemental-release</id>
605605
<build>
606606
<plugins>
607+
<plugin>
608+
<groupId>org.apache.maven.plugins</groupId>
609+
<artifactId>maven-source-plugin</artifactId>
610+
<executions>
611+
<execution>
612+
<id>attach-sources</id>
613+
<phase>package</phase>
614+
<goals>
615+
<goal>jar-no-fork</goal>
616+
</goals>
617+
</execution>
618+
</executions>
619+
</plugin>
620+
<plugin>
621+
<groupId>org.apache.maven.plugins</groupId>
622+
<artifactId>maven-javadoc-plugin</artifactId>
623+
<executions>
624+
<execution>
625+
<id>attach-sources</id>
626+
<phase>package</phase>
627+
<goals>
628+
<goal>jar</goal>
629+
</goals>
630+
</execution>
631+
</executions>
632+
</plugin>
607633
<plugin>
608634
<groupId>org.apache.maven.plugins</groupId>
609635
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)