Skip to content

Commit c444a81

Browse files
authored
add javadoc and source jar to maven-plugin (#7698)
1 parent db69bdd commit c444a81

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

scripts/generator/templates/template-vaadin-maven-plugin-pom.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,41 @@
129129
</execution>
130130
</executions>
131131
</plugin>
132+
<plugin>
133+
<groupId>org.apache.maven.plugins</groupId>
134+
<artifactId>maven-source-plugin</artifactId>
135+
<version>3.3.1</version>
136+
<executions>
137+
<execution>
138+
<id>attach-sources</id>
139+
<phase>package</phase>
140+
<goals>
141+
<goal>jar-no-fork</goal>
142+
</goals>
143+
</execution>
144+
</executions>
145+
</plugin>
146+
147+
<plugin>
148+
<groupId>org.apache.maven.plugins</groupId>
149+
<artifactId>maven-javadoc-plugin</artifactId>
150+
<version>3.11.2</version>
151+
<executions>
152+
<execution>
153+
<id>attach-javadocs</id>
154+
<phase>package</phase>
155+
<goals>
156+
<goal>jar</goal>
157+
</goals>
158+
</execution>
159+
</executions>
160+
<configuration>
161+
<includeDependencySources>false</includeDependencySources>Add commentMore actions
162+
<includeTransitiveDependencySources>false</includeTransitiveDependencySources>
163+
<quiet>true</quiet>
164+
<additionalparam>-Xdoclint:none</additionalparam>
165+
</configuration>
166+
</plugin>
132167
</plugins>
133168

134169
</build>

0 commit comments

Comments
 (0)