Skip to content

Commit 918d79b

Browse files
authored
chore: add javadoc and source jar to maven-plugin (#7695)
1 parent ea077c2 commit 918d79b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

vaadin-maven-plugin/pom.xml

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

140175
</build>

0 commit comments

Comments
 (0)