Skip to content

Commit b9b890b

Browse files
committed
Configuring Maven to generate sources and docs artifacts.
1 parent 7d0857d commit b9b890b

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

pom.xml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<scm>
3434
<connection>scm:git:git@github.com:BeauneNuits/OVH-API-Java.git</connection>
35-
<developerConnection>scm:git:git@github.com:BeauneNuits/OVH-API-Java.git</developerConnection>
35+
<developerConnection>scm:git:git@git.rabian.fr:adrien/OVH-API.git</developerConnection>
3636
<url>https://github.com/BeauneNuits/OVH-API-Java</url>
3737
</scm>
3838

@@ -63,6 +63,27 @@
6363
<show>private</show>
6464
<nohelp>true</nohelp>
6565
</configuration>
66+
<executions>
67+
<execution>
68+
<id>attach-javadocs</id>
69+
<goals>
70+
<goal>jar</goal>
71+
</goals>
72+
</execution>
73+
</executions>
74+
</plugin>
75+
76+
<plugin>
77+
<groupId>org.apache.maven.plugins</groupId>
78+
<artifactId>maven-source-plugin</artifactId>
79+
<executions>
80+
<execution>
81+
<id>attach-sources</id>
82+
<goals>
83+
<goal>jar</goal>
84+
</goals>
85+
</execution>
86+
</executions>
6687
</plugin>
6788
</plugins>
6889
</build>

0 commit comments

Comments
 (0)