Skip to content

Commit a206d9b

Browse files
committed
Build simple JAR
1 parent 4bbc976 commit a206d9b

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

pom.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,33 @@
280280
<groupId>org.apache.felix</groupId>
281281
<artifactId>maven-bundle-plugin</artifactId>
282282
</plugin>
283+
<plugin>
284+
<groupId>org.apache.maven.plugins</groupId>
285+
<artifactId>maven-shade-plugin</artifactId>
286+
<executions>
287+
<execution>
288+
<id>assemble-killbill-email-notification-plugin-classes</id>
289+
<goals>
290+
<goal>shade</goal>
291+
</goals>
292+
<phase>package</phase>
293+
<configuration>
294+
<createSourcesJar>false</createSourcesJar>
295+
<shadedArtifactAttached>true</shadedArtifactAttached>
296+
<shadedClassifierName>classes</shadedClassifierName>
297+
<filters>
298+
<filter>
299+
<artifact>*:*</artifact> <!-- This includes your own project -->
300+
<includes>
301+
<include>org/killbill/billing/plugin/notification/api/**</include>
302+
<include>org/killbill/billing/plugin/notification/generator/formatters/**</include>
303+
</includes>
304+
</filter>
305+
</filters>
306+
</configuration>
307+
</execution>
308+
</executions>
309+
</plugin>
283310
<plugin>
284311
<groupId>org.apache.rat</groupId>
285312
<artifactId>apache-rat-plugin</artifactId>

0 commit comments

Comments
 (0)