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

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


The following commit(s) were added to refs/heads/MCOMPILER-323 by this push:
     new 1e4d6e7  Trying to figure out why multiproject fails on build.a.o
1e4d6e7 is described below

commit 1e4d6e7da52526b46f93bef88d1b256af6c1611e
Author: rfscholte <[email protected]>
AuthorDate: Sun Jul 8 14:14:26 2018 +0200

    Trying to figure out why multiproject fails on build.a.o
---
 pom.xml                                                 | 1 +
 src/it/multirelease-patterns/multiproject/verify.groovy | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/pom.xml b/pom.xml
index 6a077db..4c7df92 100644
--- a/pom.xml
+++ b/pom.xml
@@ -362,6 +362,7 @@ under the License.
                 <pomExcludes>
                   
<pomExclude>multirelease-patterns/singleproject-toolchains/pom.xml</pomExclude>
                 </pomExcludes>
+                <streamLogs>true</streamLogs> <!-- TEMPORARY FOR ANALYSIS -->
               </configuration>
             </plugin>
           </plugins>
diff --git a/src/it/multirelease-patterns/multiproject/verify.groovy 
b/src/it/multirelease-patterns/multiproject/verify.groovy
index 38cdec0..07bc887 100644
--- a/src/it/multirelease-patterns/multiproject/verify.groovy
+++ b/src/it/multirelease-patterns/multiproject/verify.groovy
@@ -19,6 +19,11 @@
 
 import java.util.jar.JarFile
 
+def log = new File(basedir,'build.log')
+assert 1 == log.text.count('[INFO] Building multirelease-parent 
1.0.0-SNAPSHOT') : 'parent should be built once'
+assert 2 == log.text.count('[INFO] Building Base 1.0.0-SNAPSHOT')              
  : 'base should be built twice'
+assert 1 == log.text.count('[INFO] Building multirelease-nine 1.0.0-SNAPSHOT') 
  : 'nine should be built once'
+
 def mrjar = new JarFile(new 
File(basedir,'multirelease-base/target/multirelease-1.0.0-SNAPSHOT.jar'))
 
 assert mrjar.manifest.mainAttributes.getValue('Multi-Release') == 'true' : 
'Multi-Release attribute in manifest should be true'

Reply via email to