Skip to content

Commit f79a253

Browse files
committed
Build source JARs
Modified module POMs to build source JARs alongside the usual artifacts. Doing so is required by Sonatype when making releases in central.
1 parent ec2c9a3 commit f79a253

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

module/core/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,13 @@
4343
You likely wont depend on this directly unless you're implementing
4444
JSON->URL with a new interface/library/framework.
4545
</description>
46+
47+
<build>
48+
<plugins>
49+
<plugin>
50+
<groupId>org.apache.maven.plugins</groupId>
51+
<artifactId>maven-source-plugin</artifactId>
52+
</plugin>
53+
</plugins>
54+
</build>
4655
</project>

module/jsonorg/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,13 @@
6161
<version>${org.json.parser}</version>
6262
</dependency>
6363
</dependencies>
64+
65+
<build>
66+
<plugins>
67+
<plugin>
68+
<groupId>org.apache.maven.plugins</groupId>
69+
<artifactId>maven-source-plugin</artifactId>
70+
</plugin>
71+
</plugins>
72+
</build>
6473
</project>

module/jsr374/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,13 @@
6666
<scope>test</scope>
6767
</dependency>
6868
</dependencies>
69+
70+
<build>
71+
<plugins>
72+
<plugin>
73+
<groupId>org.apache.maven.plugins</groupId>
74+
<artifactId>maven-source-plugin</artifactId>
75+
</plugin>
76+
</plugins>
77+
</build>
6978
</project>

0 commit comments

Comments
 (0)