|
| 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/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <groupId>org.springframework.boot.maven.it</groupId> |
| 6 | + <artifactId>jar-with-kotlin-module</artifactId> |
| 7 | + <version>0.0.1.BUILD-SNAPSHOT</version> |
| 8 | + <properties> |
| 9 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 10 | + <maven.compiler.source>@java.version@</maven.compiler.source> |
| 11 | + <maven.compiler.target>@java.version@</maven.compiler.target> |
| 12 | + </properties> |
| 13 | + <build> |
| 14 | + <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> |
| 15 | + <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> |
| 16 | + <plugins> |
| 17 | + <plugin> |
| 18 | + <groupId>@project.groupId@</groupId> |
| 19 | + <artifactId>@project.artifactId@</artifactId> |
| 20 | + <version>@project.version@</version> |
| 21 | + <executions> |
| 22 | + <execution> |
| 23 | + <goals> |
| 24 | + <goal>repackage</goal> |
| 25 | + </goals> |
| 26 | + <configuration> |
| 27 | + <requiresUnpack> |
| 28 | + <dependency> |
| 29 | + <groupId>org.jetbrains.kotlin</groupId> |
| 30 | + <artifactId>kotlin-compiler</artifactId> |
| 31 | + </dependency> |
| 32 | + </requiresUnpack> |
| 33 | + </configuration> |
| 34 | + </execution> |
| 35 | + </executions> |
| 36 | + </plugin> |
| 37 | + <plugin> |
| 38 | + <groupId>org.apache.maven.plugins</groupId> |
| 39 | + <artifactId>maven-jar-plugin</artifactId> |
| 40 | + <version>@maven-jar-plugin.version@</version> |
| 41 | + <configuration> |
| 42 | + <archive> |
| 43 | + <manifestEntries> |
| 44 | + <Not-Used>Foo</Not-Used> |
| 45 | + </manifestEntries> |
| 46 | + </archive> |
| 47 | + </configuration> |
| 48 | + </plugin> |
| 49 | + <plugin> |
| 50 | + <groupId>org.jetbrains.kotlin</groupId> |
| 51 | + <artifactId>kotlin-maven-plugin</artifactId> |
| 52 | + <version>@kotlin.version@</version> |
| 53 | + <executions> |
| 54 | + <execution> |
| 55 | + <id>compile</id> |
| 56 | + <phase>process-resources</phase> |
| 57 | + <goals> |
| 58 | + <goal>compile</goal> |
| 59 | + </goals> |
| 60 | + </execution> |
| 61 | + <execution> |
| 62 | + <id>test-compile</id> |
| 63 | + <phase>process-test-resources</phase> |
| 64 | + <goals> |
| 65 | + <goal>compile</goal> |
| 66 | + </goals> |
| 67 | + </execution> |
| 68 | + </executions> |
| 69 | + </plugin> |
| 70 | + </plugins> |
| 71 | + </build> |
| 72 | + <dependencies> |
| 73 | + <dependency> |
| 74 | + <groupId>org.springframework</groupId> |
| 75 | + <artifactId>spring-context</artifactId> |
| 76 | + <version>@spring.version@</version> |
| 77 | + </dependency> |
| 78 | + <dependency> |
| 79 | + <groupId>javax.servlet</groupId> |
| 80 | + <artifactId>javax.servlet-api</artifactId> |
| 81 | + <version>@servlet-api.version@</version> |
| 82 | + <scope>provided</scope> |
| 83 | + </dependency> |
| 84 | + <dependency> |
| 85 | + <groupId>org.apache.logging.log4j</groupId> |
| 86 | + <artifactId>log4j-api</artifactId> |
| 87 | + <version>@log4j2.version@</version> |
| 88 | + </dependency> |
| 89 | + |
| 90 | + <dependency> |
| 91 | + <groupId>org.jetbrains.kotlin</groupId> |
| 92 | + <artifactId>kotlin-stdlib-jdk8</artifactId> |
| 93 | + <version>@kotlin.version@</version> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>org.jetbrains.kotlin</groupId> |
| 97 | + <artifactId>kotlin-reflect</artifactId> |
| 98 | + <version>@kotlin.version@</version> |
| 99 | + </dependency> |
| 100 | + <dependency> |
| 101 | + <groupId>org.jetbrains.kotlin</groupId> |
| 102 | + <artifactId>kotlin-compiler</artifactId> |
| 103 | + <version>@kotlin.version@</version> |
| 104 | + </dependency> |
| 105 | + </dependencies> |
| 106 | +</project> |
0 commit comments