Skip to content

Commit e0280ca

Browse files
committed
G4DPZ - Added javadoc and source jar generation
1 parent 7be6f00 commit e0280ca

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

pom.xml

+37-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>uk.me.g4dpz</groupId>
77
<artifactId>predict4java</artifactId>
8-
<version>1.1-SNAPSHOT</version>
8+
<version>1.1</version>
99
<packaging>jar</packaging>
1010

1111
<name>${project.artifactId}</name>
@@ -84,6 +84,30 @@
8484
<artifactId>maven-site-plugin</artifactId>
8585
<version>3.4</version>
8686
</plugin>
87+
<plugin>
88+
<groupId>org.apache.maven.plugins</groupId>
89+
<artifactId>maven-source-plugin</artifactId>
90+
<executions>
91+
<execution>
92+
<id>attach-sources</id>
93+
<goals>
94+
<goal>jar</goal>
95+
</goals>
96+
</execution>
97+
</executions>
98+
</plugin>
99+
<plugin>
100+
<groupId>org.apache.maven.plugins</groupId>
101+
<artifactId>maven-javadoc-plugin</artifactId>
102+
<executions>
103+
<execution>
104+
<id>attach-javadocs</id>
105+
<goals>
106+
<goal>jar</goal>
107+
</goals>
108+
</execution>
109+
</executions>
110+
</plugin>
87111
</plugins>
88112
</build>
89113

@@ -153,4 +177,16 @@
153177
</plugins>
154178
</reporting>
155179

180+
<distributionManagement>
181+
<repository>
182+
<id>predict4java-releases</id>
183+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
184+
</repository>
185+
186+
<snapshotRepository>
187+
<id>predict4java-staging</id>
188+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
189+
</snapshotRepository>
190+
</distributionManagement>
191+
156192
</project>

0 commit comments

Comments
 (0)