aboutsummaryrefslogtreecommitdiff
path: root/maven-plugin/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'maven-plugin/pom.xml')
-rw-r--r--maven-plugin/pom.xml45
1 files changed, 44 insertions, 1 deletions
diff --git a/maven-plugin/pom.xml b/maven-plugin/pom.xml
index d6ea1eca..44731eed 100644
--- a/maven-plugin/pom.xml
+++ b/maven-plugin/pom.xml
@@ -8,7 +8,7 @@
<maven-plugin-anno.version>1.4.1</maven-plugin-anno.version>
<maven.version>3.0.5</maven.version>
<plexus.version>3.0.22</plexus.version>
- <kotlinVersion>1.0.0-rc-1036</kotlinVersion>
+ <kotlinVersion>1.0.1-2</kotlinVersion>
</properties>
<dependencies>
<dependency>
@@ -27,11 +27,21 @@
<version>${maven.version}</version>
</dependency>
<dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-archiver</artifactId>
+ <version>2.5</version>
+ </dependency>
+ <dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>${plexus.version}</version>
</dependency>
<dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-archiver</artifactId>
+ <version>2.5</version>
+ </dependency>
+ <dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.4</version>
@@ -43,6 +53,13 @@
<type>jar</type>
<scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>com.sun</groupId>
+ <artifactId>tools</artifactId>
+ <version>1.8.0</version>
+ <scope>system</scope>
+ <systemPath>${toolsjar}</systemPath>
+ </dependency>
</dependencies>
<build>
<sourceDirectory>src/main/kotlin</sourceDirectory>
@@ -135,4 +152,30 @@
</snapshots>
</pluginRepository>
</pluginRepositories>
+ <profiles>
+ <profile>
+ <id>default-profile</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ <file>
+ <exists>${java.home}/../lib/tools.jar</exists>
+ </file>
+ </activation>
+ <properties>
+ <toolsjar>${java.home}/../lib/tools.jar</toolsjar>
+ </properties>
+ </profile>
+ <profile>
+ <id>mac-profile</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ <file>
+ <exists>${java.home}/../Classes/classes.jar</exists>
+ </file>
+ </activation>
+ <properties>
+ <toolsjar>${java.home}/../Classes/classes.jar</toolsjar>
+ </properties>
+ </profile>
+ </profiles>
</project>