|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <groupId>works.buddy.samples</groupId> |
| 6 | + <artifactId>works-with-heroku</artifactId> |
| 7 | + <version>1.0</version> |
| 8 | + <packaging>war</packaging> |
| 9 | + |
| 10 | + <!-- Updated Java version to 17 --> |
| 11 | + <properties> |
| 12 | + <maven.compiler.source>17</maven.compiler.source> |
| 13 | + <maven.compiler.target>17</maven.compiler.target> |
| 14 | + </properties> |
| 15 | + |
| 16 | + <dependencies> |
| 17 | + <dependency> |
| 18 | + <groupId>javax.servlet</groupId> |
| 19 | + <artifactId>servlet-api</artifactId> |
| 20 | + <version>2.5</version> |
| 21 | + <scope>provided</scope> |
| 22 | + </dependency> |
| 23 | + <dependency> |
| 24 | + <groupId>junit</groupId> |
| 25 | + <artifactId>junit</artifactId> |
| 26 | + <version>4.12</version> |
| 27 | + <scope>test</scope> |
| 28 | + </dependency> |
| 29 | + <dependency> |
| 30 | + <groupId>org.mockito</groupId> |
| 31 | + <artifactId>mockito-core</artifactId> |
| 32 | + <version>3.12.4</version> |
| 33 | + <scope>test</scope> |
| 34 | + </dependency> |
| 35 | + </dependencies> |
| 36 | + |
| 37 | + <build> |
| 38 | + <plugins> |
| 39 | + <plugin> |
| 40 | + <groupId>org.apache.maven.plugins</groupId> |
| 41 | + <artifactId>maven-war-plugin</artifactId> |
| 42 | + <version>3.3.1</version> |
| 43 | + </plugin> |
| 44 | + <plugin> |
| 45 | + <groupId>org.apache.maven.plugins</groupId> |
| 46 | + <artifactId>maven-dependency-plugin</artifactId> |
| 47 | + <version>3.4.0</version> |
| 48 | + <executions> |
| 49 | + <execution> |
| 50 | + <phase>package</phase> |
| 51 | + <goals><goal>copy</goal></goals> |
| 52 | + <configuration> |
| 53 | + <artifactItems> |
| 54 | + <artifactItem> |
| 55 | + <groupId>org.eclipse.jetty</groupId> |
| 56 | + <artifactId>jetty-runner</artifactId> |
| 57 | + <version>9.3.3.v20150827</version> |
| 58 | + <destFileName>jetty-runner.jar</destFileName> |
| 59 | + </artifactItem> |
| 60 | + </artifactItems> |
| 61 | + </configuration> |
| 62 | + </execution> |
| 63 | + </executions> |
| 64 | + </plugin> |
| 65 | + </plugins> |
| 66 | + </build> |
| 67 | +</project> |
0 commit comments