Skip to content

Commit 80d1e58

Browse files
author
Aurélien Baudet
committed
[TECH] add required javadoc generation
1 parent 5d9f8ae commit 80d1e58

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

pom.xml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<name>SII plugin parent</name>
1212
<description>SII plugin consumes reports generated by external tools and save information into Sonar</description>
1313
<url>${project.url}</url>
14-
14+
1515
<properties>
1616
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1717

@@ -30,7 +30,7 @@
3030
<maven.release.plugin.version>2.5.2</maven.release.plugin.version>
3131
<nexus.staging.plugin.version>1.6.3</nexus.staging.plugin.version>
3232
<gpg.plugin.version>1.6</gpg.plugin.version>
33-
33+
3434
<github.url>https://github.com/groupe-sii/sonar-web-frontend-plugin</github.url>
3535
<scm.url>https://github.com/groupe-sii/sonar-web-frontend-plugin.git</scm.url>
3636
<project.url>https://github.com/groupe-sii/sonar-web-frontend-plugin</project.url>
@@ -133,6 +133,32 @@
133133
</execution>
134134
</executions>
135135
</plugin>
136+
<plugin>
137+
<groupId>org.apache.maven.plugins</groupId>
138+
<artifactId>maven-source-plugin</artifactId>
139+
<version>2.2.1</version>
140+
<executions>
141+
<execution>
142+
<id>attach-sources</id>
143+
<goals>
144+
<goal>jar-no-fork</goal>
145+
</goals>
146+
</execution>
147+
</executions>
148+
</plugin>
149+
<plugin>
150+
<groupId>org.apache.maven.plugins</groupId>
151+
<artifactId>maven-javadoc-plugin</artifactId>
152+
<version>2.9.1</version>
153+
<executions>
154+
<execution>
155+
<id>attach-javadocs</id>
156+
<goals>
157+
<goal>jar</goal>
158+
</goals>
159+
</execution>
160+
</executions>
161+
</plugin>
136162
<!-- IDE -->
137163
<plugin>
138164
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)