This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch MCOMPILER-379
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git

commit 72d0d8d67e7a50b3bc255604e98f46e18217e379
Author: Karl Heinz Marbaise <[email protected]>
AuthorDate: Sun Mar 31 14:25:26 2019 +0200

    [MCOMPILER-379] - Fatal error compiling: basedir ... 
arget/generated-sources/annotations does not exist
     - Created Integration test which currently fails.
---
 src/it/MCOMPILER-379/invoker.properties            | 18 +++++++++++
 src/it/MCOMPILER-379/module1/pom.xml               | 21 +++++++++++++
 .../MCOMPILER-379/module1/src/main/java/.gitkeep   |  0
 src/it/MCOMPILER-379/module2/pom.xml               | 15 ++++++++++
 .../module2/src/main/java/com/natros/mcp/Foo.java  |  4 +++
 src/it/MCOMPILER-379/pom.xml                       | 35 ++++++++++++++++++++++
 6 files changed, 93 insertions(+)

diff --git a/src/it/MCOMPILER-379/invoker.properties 
b/src/it/MCOMPILER-379/invoker.properties
new file mode 100644
index 0000000..0659ac5
--- /dev/null
+++ b/src/it/MCOMPILER-379/invoker.properties
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+invoker.goals = compile
diff --git a/src/it/MCOMPILER-379/module1/pom.xml 
b/src/it/MCOMPILER-379/module1/pom.xml
new file mode 100644
index 0000000..7194075
--- /dev/null
+++ b/src/it/MCOMPILER-379/module1/pom.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+               <groupId>org.apache.maven.plugins.compiler.it</groupId>
+               <artifactId>mcompiler-379</artifactId>
+               <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>module1</artifactId>
+
+  <dependencies>
+    <dependency>
+                       <groupId>org.apache.maven.plugins.compiler.it</groupId>
+      <artifactId>module2</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+</project>
diff --git a/src/it/MCOMPILER-379/module1/src/main/java/.gitkeep 
b/src/it/MCOMPILER-379/module1/src/main/java/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/src/it/MCOMPILER-379/module2/pom.xml 
b/src/it/MCOMPILER-379/module2/pom.xml
new file mode 100644
index 0000000..976b59e
--- /dev/null
+++ b/src/it/MCOMPILER-379/module2/pom.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+               <groupId>org.apache.maven.plugins.compiler.it</groupId>
+               <artifactId>mcompiler-379</artifactId>
+               <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>module2</artifactId>
+
+
+</project>
diff --git a/src/it/MCOMPILER-379/module2/src/main/java/com/natros/mcp/Foo.java 
b/src/it/MCOMPILER-379/module2/src/main/java/com/natros/mcp/Foo.java
new file mode 100644
index 0000000..d23adf1
--- /dev/null
+++ b/src/it/MCOMPILER-379/module2/src/main/java/com/natros/mcp/Foo.java
@@ -0,0 +1,4 @@
+package com.natros.mcp;
+
+public class Foo {
+}
diff --git a/src/it/MCOMPILER-379/pom.xml b/src/it/MCOMPILER-379/pom.xml
new file mode 100644
index 0000000..4ef532b
--- /dev/null
+++ b/src/it/MCOMPILER-379/pom.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugins.compiler.it</groupId>
+  <artifactId>mcompiler-379</artifactId>
+  <version>1.0-SNAPSHOT</version>
+       <packaging>pom</packaging>
+
+  <properties>
+    <project.build.outputEncoding>UTF-8</project.build.outputEncoding>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+
+  <modules>
+    <module>module1</module>
+    <module>module2</module>
+  </modules>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+                               <version>@project.version@</version>
+        <configuration>
+                                       <source>8</source>
+                                       <target>8</target>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Reply via email to