Skip to content

Commit 85f105e

Browse files
committed
[bugfix] Ensure that sources and javadocs are attached to the Maven Release.
Fixes a regression introduced in 30f363a
1 parent e44e759 commit 85f105e

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
@@ -590,6 +590,32 @@
590590
<id>elemental-release</id>
591591
<build>
592592
<plugins>
593+
<plugin>
594+
<groupId>org.apache.maven.plugins</groupId>
595+
<artifactId>maven-source-plugin</artifactId>
596+
<executions>
597+
<execution>
598+
<id>attach-sources</id>
599+
<phase>package</phase>
600+
<goals>
601+
<goal>jar-no-fork</goal>
602+
</goals>
603+
</execution>
604+
</executions>
605+
</plugin>
606+
<plugin>
607+
<groupId>org.apache.maven.plugins</groupId>
608+
<artifactId>maven-javadoc-plugin</artifactId>
609+
<executions>
610+
<execution>
611+
<id>attach-sources</id>
612+
<phase>package</phase>
613+
<goals>
614+
<goal>jar</goal>
615+
</goals>
616+
</execution>
617+
</executions>
618+
</plugin>
593619
<plugin>
594620
<groupId>org.apache.maven.plugins</groupId>
595621
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)