|
| 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/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <groupId>com.pulumi</groupId> |
| 8 | + <artifactId>issue-2787-javaa</artifactId> |
| 9 | + <version>1.0-SNAPSHOT</version> |
| 10 | + |
| 11 | + <properties> |
| 12 | + <encoding>UTF-8</encoding> |
| 13 | + <maven.compiler.source>11</maven.compiler.source> |
| 14 | + <maven.compiler.target>11</maven.compiler.target> |
| 15 | + <maven.compiler.release>11</maven.compiler.release> |
| 16 | + <mainClass>myproject.App</mainClass> |
| 17 | + <mainArgs/> |
| 18 | + </properties> |
| 19 | + |
| 20 | + <dependencies> |
| 21 | + <dependency> |
| 22 | + <groupId>com.pulumi</groupId> |
| 23 | + <artifactId>pulumi</artifactId> |
| 24 | + <version>(,1.0]</version> |
| 25 | + </dependency> |
| 26 | + <dependency> |
| 27 | + <groupId>com.pulumi</groupId> |
| 28 | + <artifactId>kubernetes</artifactId> |
| 29 | + <version>(,5.0]</version> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>com.google.code.findbugs</groupId> |
| 33 | + <artifactId>jsr305</artifactId> |
| 34 | + <version>3.0.2</version> |
| 35 | + </dependency> |
| 36 | + </dependencies> |
| 37 | + |
| 38 | + <build> |
| 39 | + <plugins> |
| 40 | + <plugin> |
| 41 | + <groupId>org.apache.maven.plugins</groupId> |
| 42 | + <artifactId>maven-jar-plugin</artifactId> |
| 43 | + <version>3.2.2</version> |
| 44 | + <configuration> |
| 45 | + <archive> |
| 46 | + <manifest> |
| 47 | + <addClasspath>true</addClasspath> |
| 48 | + <mainClass>${mainClass}</mainClass> |
| 49 | + </manifest> |
| 50 | + </archive> |
| 51 | + </configuration> |
| 52 | + </plugin> |
| 53 | + <plugin> |
| 54 | + <groupId>org.apache.maven.plugins</groupId> |
| 55 | + <artifactId>maven-assembly-plugin</artifactId> |
| 56 | + <version>3.3.0</version> |
| 57 | + <configuration> |
| 58 | + <archive> |
| 59 | + <manifest> |
| 60 | + <addClasspath>true</addClasspath> |
| 61 | + <mainClass>${mainClass}</mainClass> |
| 62 | + </manifest> |
| 63 | + </archive> |
| 64 | + <descriptorRefs> |
| 65 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 66 | + </descriptorRefs> |
| 67 | + </configuration> |
| 68 | + <executions> |
| 69 | + <execution> |
| 70 | + <id>make-my-jar-with-dependencies</id> |
| 71 | + <phase>package</phase> |
| 72 | + <goals> |
| 73 | + <goal>single</goal> |
| 74 | + </goals> |
| 75 | + </execution> |
| 76 | + </executions> |
| 77 | + </plugin> |
| 78 | + <plugin> |
| 79 | + <groupId>org.codehaus.mojo</groupId> |
| 80 | + <artifactId>exec-maven-plugin</artifactId> |
| 81 | + <version>3.0.0</version> |
| 82 | + <configuration> |
| 83 | + <mainClass>${mainClass}</mainClass> |
| 84 | + <commandlineArgs>${mainArgs}</commandlineArgs> |
| 85 | + </configuration> |
| 86 | + </plugin> |
| 87 | + <plugin> |
| 88 | + <groupId>org.apache.maven.plugins</groupId> |
| 89 | + <artifactId>maven-wrapper-plugin</artifactId> |
| 90 | + <version>3.1.0</version> |
| 91 | + <configuration> |
| 92 | + <mavenVersion>3.8.5</mavenVersion> |
| 93 | + </configuration> |
| 94 | + </plugin> |
| 95 | + </plugins> |
| 96 | + </build> |
| 97 | +</project> |
0 commit comments