File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 81
81
<version >1.16.10</version >
82
82
<scope >provided</scope >
83
83
</dependency >
84
+ <dependency >
85
+ <groupId >com.newrelic.agent.java</groupId >
86
+ <artifactId >newrelic-agent</artifactId >
87
+ <version >3.32.0</version >
88
+ <scope >provided</scope >
89
+ </dependency >
84
90
<dependency >
85
91
<groupId >org.mariadb.jdbc</groupId >
86
92
<artifactId >mariadb-java-client</artifactId >
189
195
</execution >
190
196
</executions >
191
197
</plugin >
198
+ <plugin >
199
+ <groupId >org.apache.maven.plugins</groupId >
200
+ <artifactId >maven-dependency-plugin</artifactId >
201
+ <version >2.9</version >
202
+ <executions >
203
+ <execution >
204
+ <phase >prepare-package</phase >
205
+ <goals >
206
+ <goal >unpack-dependencies</goal >
207
+ </goals >
208
+ <configuration >
209
+ <includeArtifactIds >newrelic-agent</includeArtifactIds >
210
+ <outputDirectory >${project.build.outputDirectory} </outputDirectory >
211
+ </configuration >
212
+ </execution >
213
+ </executions >
214
+ </plugin >
215
+ <plugin >
216
+ <groupId >org.apache.maven.plugins</groupId >
217
+ <artifactId >maven-jar-plugin</artifactId >
218
+ <version >2.5</version >
219
+ <configuration >
220
+ <archive >
221
+ <manifestEntries >
222
+ <Premain-Class >com.newrelic.bootstrap.BootstrapAgent</Premain-Class >
223
+ <Can-Redefine-Classes >true</Can-Redefine-Classes >
224
+ <Can-Retransform-Classes >true</Can-Retransform-Classes >
225
+ </manifestEntries >
226
+ </archive >
227
+ </configuration >
228
+ </plugin >
192
229
</plugins >
193
230
</build >
194
231
You can’t perform that action at this time.
0 commit comments