Fix various maven pom problems:
- Add relativePath to samples pom. - Specify versions of plugins
This commit is contained in:
@@ -162,6 +162,11 @@
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>1.7</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-project</artifactId>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>kotlin-stdlib-samples</artifactId>
|
||||
|
||||
@@ -87,6 +87,7 @@
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>1.2.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>download-idl</id>
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
<configuration>
|
||||
<workingDirectory>${project.build.directory}</workingDirectory>
|
||||
<systemPropertyVariables>
|
||||
<compilerJar>${artifactId}-${parent.version}.jar</compilerJar>
|
||||
<compilerJar>${project.artifactId}-${project.parent.version}.jar</compilerJar>
|
||||
</systemPropertyVariables>
|
||||
</configuration>
|
||||
<executions>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<configuration>
|
||||
<includeScope>compile</includeScope>
|
||||
<includeGroupIds>${project.parent.groupId}</includeGroupIds>
|
||||
<outputDirectory>${build.outputDirectory}</outputDirectory>
|
||||
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
||||
<excludes>**/MANIFEST.MF</excludes>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
Reference in New Issue
Block a user