Skip to content

Commit 85983cb

Browse files
committed
Add source plugin back to POM
1 parent 0b423de commit 85983cb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,20 @@ POSSIBILITY OF SUCH DAMAGE.
9292
<skipDeploy>false</skipDeploy> <!-- This is `true` in parent pom -->
9393
</configuration>
9494
</plugin>
95+
<!-- Generate source JARs (required for Maven Central deployment) -->
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-source-plugin</artifactId>
99+
<version>3.3.1</version>
100+
<executions>
101+
<execution>
102+
<id>attach-sources</id>
103+
<goals>
104+
<goal>jar-no-fork</goal>
105+
</goals>
106+
</execution>
107+
</executions>
108+
</plugin>
95109
</plugins>
96110
</build>
97111

0 commit comments

Comments
 (0)