JastRedd

Untitled

Sep 13th, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.example</groupId>
  7. <version>1.0-SNAPSHOT</version>
  8. <artifactId>helloworld</artifactId>
  9. <packaging>war</packaging>
  10.  
  11. <dependencies>
  12. <dependency>
  13. <groupId>org.eclipse.jetty</groupId>
  14. <artifactId>jetty-servlet</artifactId>
  15. <version>9.2.11.v20150529</version>
  16. </dependency>
  17. <dependency>
  18. <groupId>javax.servlet</groupId>
  19. <artifactId>javax.servlet-api</artifactId>
  20. <version>3.1.0</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.newrelic.agent.java</groupId>
  24. <artifactId>newrelic-agent</artifactId>
  25. <version>3.18.0</version>
  26. <scope>provided</scope>
  27. </dependency>
  28. </dependencies>
  29. <build>
  30. <plugins>
  31. <plugin>
  32. <groupId>com.heroku.sdk</groupId>
  33. <artifactId>heroku-maven-plugin</artifactId>
  34. <version>1.2.0</version>
  35. <configuration>
  36. <includes>
  37. <include>target/dependency/newrelic-agent.jar</include>
  38. </includes>
  39. </configuration>
  40. </plugin>
  41. <plugin>
  42. <groupId>org.apache.maven.plugins</groupId>
  43. <artifactId>maven-dependency-plugin</artifactId>
  44. <version>2.6</version>
  45. <executions>
  46. <execution>
  47. <id>copy-new-relic</id>
  48. <phase>package</phase>
  49. <goals>
  50. <goal>copy-dependencies</goal>
  51. </goals>
  52. <configuration>
  53. <includeGroupIds>com.newrelic.agent.java</includeGroupIds>
  54. <includeArtifactIds>newrelic-agent</includeArtifactIds>
  55. <stripVersion>true</stripVersion>
  56. </configuration>
  57. </execution>
  58. </executions>
  59. </plugin>
  60. </plugins>
  61. </build>
  62. </project>
Advertisement
Add Comment
Please, Sign In to add comment