Skip to content

Commit 73612c6

Browse files
ALikhachevSpace Team
authored andcommitted
[Maven] Add a test for KT-81414
1 parent f96daf3 commit 73612c6

File tree

12 files changed

+218
-0
lines changed

12 files changed

+218
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
invoker.environmentVariables.MAVEN_OPTS = -XX:MaxMetaspaceSize=150M
2+
invoker.buildResult = failure
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
<parent>
8+
<groupId>org.jetbrains.kotlin</groupId>
9+
<artifactId>test-multimodule-in-process-root</artifactId>
10+
<version>1.0-SNAPSHOT</version>
11+
<relativePath>../pom.xml</relativePath>
12+
</parent>
13+
14+
<artifactId>test-multimodule-in-process-module1</artifactId>
15+
16+
<build>
17+
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
18+
<plugins>
19+
<plugin>
20+
<artifactId>kotlin-maven-plugin</artifactId>
21+
<groupId>org.jetbrains.kotlin</groupId>
22+
<version>${kotlin.version}</version>
23+
<executions>
24+
<execution>
25+
<id>compile</id>
26+
<phase>process-sources</phase>
27+
<goals>
28+
<goal>compile</goal>
29+
</goals>
30+
</execution>
31+
</executions>
32+
</plugin>
33+
</plugins>
34+
</build>
35+
36+
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fun module1() {}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
<parent>
8+
<groupId>org.jetbrains.kotlin</groupId>
9+
<artifactId>test-multimodule-in-process-root</artifactId>
10+
<version>1.0-SNAPSHOT</version>
11+
<relativePath>../pom.xml</relativePath>
12+
</parent>
13+
14+
<artifactId>test-multimodule-in-process-module2</artifactId>
15+
16+
<build>
17+
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
18+
<plugins>
19+
<plugin>
20+
<artifactId>kotlin-maven-plugin</artifactId>
21+
<groupId>org.jetbrains.kotlin</groupId>
22+
<version>${kotlin.version}</version>
23+
<executions>
24+
<execution>
25+
<id>compile</id>
26+
<phase>process-sources</phase>
27+
<goals>
28+
<goal>compile</goal>
29+
</goals>
30+
</execution>
31+
</executions>
32+
</plugin>
33+
</plugins>
34+
</build>
35+
36+
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fun module1() {}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
<parent>
8+
<groupId>org.jetbrains.kotlin</groupId>
9+
<artifactId>test-multimodule-in-process-root</artifactId>
10+
<version>1.0-SNAPSHOT</version>
11+
<relativePath>../pom.xml</relativePath>
12+
</parent>
13+
14+
<artifactId>test-multimodule-in-process-module3</artifactId>
15+
16+
<build>
17+
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
18+
<plugins>
19+
<plugin>
20+
<artifactId>kotlin-maven-plugin</artifactId>
21+
<groupId>org.jetbrains.kotlin</groupId>
22+
<version>${kotlin.version}</version>
23+
<executions>
24+
<execution>
25+
<id>compile</id>
26+
<phase>process-sources</phase>
27+
<goals>
28+
<goal>compile</goal>
29+
</goals>
30+
</execution>
31+
</executions>
32+
</plugin>
33+
</plugins>
34+
</build>
35+
36+
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fun module3() {}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
<parent>
8+
<groupId>org.jetbrains.kotlin</groupId>
9+
<artifactId>test-multimodule-in-process-root</artifactId>
10+
<version>1.0-SNAPSHOT</version>
11+
<relativePath>../pom.xml</relativePath>
12+
</parent>
13+
14+
<artifactId>test-multimodule-in-process-module4</artifactId>
15+
16+
<build>
17+
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
18+
<plugins>
19+
<plugin>
20+
<artifactId>kotlin-maven-plugin</artifactId>
21+
<groupId>org.jetbrains.kotlin</groupId>
22+
<version>${kotlin.version}</version>
23+
<executions>
24+
<execution>
25+
<id>compile</id>
26+
<phase>process-sources</phase>
27+
<goals>
28+
<goal>compile</goal>
29+
</goals>
30+
</execution>
31+
</executions>
32+
</plugin>
33+
</plugins>
34+
</build>
35+
36+
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fun module4() {}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
<parent>
8+
<groupId>org.jetbrains.kotlin</groupId>
9+
<artifactId>test-multimodule-in-process-root</artifactId>
10+
<version>1.0-SNAPSHOT</version>
11+
<relativePath>../pom.xml</relativePath>
12+
</parent>
13+
14+
<artifactId>test-multimodule-in-process-module5</artifactId>
15+
16+
<build>
17+
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
18+
<plugins>
19+
<plugin>
20+
<artifactId>kotlin-maven-plugin</artifactId>
21+
<groupId>org.jetbrains.kotlin</groupId>
22+
<version>${kotlin.version}</version>
23+
<executions>
24+
<execution>
25+
<id>compile</id>
26+
<phase>process-sources</phase>
27+
<goals>
28+
<goal>compile</goal>
29+
</goals>
30+
</execution>
31+
</executions>
32+
</plugin>
33+
</plugins>
34+
</build>
35+
36+
</project>

0 commit comments

Comments
 (0)