Skip to content

Commit fd0b9cb

Browse files
build: jar and src for webtau shaded
1 parent d86a6a1 commit fd0b9cb

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

webtau-shaded/pom.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,40 @@
122122
</execution>
123123
</executions>
124124
</plugin>
125+
<plugin>
126+
<groupId>org.apache.maven.plugins</groupId>
127+
<artifactId>maven-jar-plugin</artifactId>
128+
<executions>
129+
<execution>
130+
<id>empty-sources-jar</id>
131+
<phase>package</phase>
132+
<goals>
133+
<goal>jar</goal>
134+
</goals>
135+
<configuration>
136+
<classifier>sources</classifier>
137+
<classesDirectory>${project.basedir}/src</classesDirectory>
138+
<includes>
139+
<include>**/*.java</include>
140+
</includes>
141+
</configuration>
142+
</execution>
143+
<execution>
144+
<id>empty-javadoc-jar</id>
145+
<phase>package</phase>
146+
<goals>
147+
<goal>jar</goal>
148+
</goals>
149+
<configuration>
150+
<classifier>javadoc</classifier>
151+
<classesDirectory>${project.basedir}/src</classesDirectory>
152+
<includes>
153+
<include>**/*.java</include>
154+
</includes>
155+
</configuration>
156+
</execution>
157+
</executions>
158+
</plugin>
125159
</plugins>
126160
</build>
127161
</project>

0 commit comments

Comments
 (0)