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 9
9
<artifactId >sparkpost-samples-app</artifactId >
10
10
<name >Example use SparkPost library</name >
11
11
<url >/apps/sparkpost-samples-app/</url >
12
+ <packaging >jar</packaging >
12
13
13
14
<dependencies >
14
15
<dependency >
73
74
</execution >
74
75
</executions >
75
76
</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 >
76
102
</plugins >
77
103
</build >
78
104
You can’t perform that action at this time.
0 commit comments