File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
apps/sparkpost-samples-app Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 99 <artifactId >sparkpost-samples-app</artifactId >
1010 <name >Example use SparkPost library</name >
1111 <url >/apps/sparkpost-samples-app/</url >
12+ <packaging >jar</packaging >
1213
1314 <dependencies >
1415 <dependency >
7374 </execution >
7475 </executions >
7576 </plugin >
77+
78+ <!-- Maven Shade Plugin -->
79+ <plugin >
80+ <groupId >org.apache.maven.plugins</groupId >
81+ <artifactId >maven-shade-plugin</artifactId >
82+ <version >2.3</version >
83+ <executions >
84+ <!-- Run shade goal on package phase -->
85+ <execution >
86+ <phase >package</phase >
87+ <goals >
88+ <goal >shade</goal >
89+ </goals >
90+ <configuration >
91+ <transformers >
92+ <!-- add Main-Class to manifest file -->
93+ <transformer
94+ implementation=" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
95+ <mainClass >com.sparkpost.samples.DeliverabilityMetricsSample</mainClass >
96+ </transformer >
97+ </transformers >
98+ </configuration >
99+ </execution >
100+ </executions >
101+ </plugin >
76102 </plugins >
77103 </build >
78104
You can’t perform that action at this time.
0 commit comments