Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
Description
Root cause: Bamboo doesn't pass "java.version" system property when calling maven embedder.
Test case: put sth. like this in settings.xml
<profile>
<id>blah</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.7</jdk>
</activation>
</profile>
Following error shows up in the logs:
.... 16-Jan-2015 03:48:17 Finished task 'deploy' with result: Success 16-Jan-2015 03:48:17 Starting task 'auto dependency task' of type 'com.atlassian.bamboo.plugins.maven:task.mvn.dependencies.processor' 16-Jan-2015 03:48:18 Automatic Maven plan dependencies processing failed: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:[ERROR] Failed to determine Java version for profile doclint-java8-disable @ com.abcd.platform:platform:2015.3-SNAPSHOT, /home/abcd/.m2/repository/com/abcd/platform/platform/2015.3-SNAPSHOT/platform-2015.3-SNAPSHOT.pom, line 77, column 20 16-Jan-2015 03:48:18 Finished task 'auto dependency task' with result: Failed 16-Jan-2015 03:48:18 Running post build plugin 'Artifact Copier' 16-Jan-2015 03:48:18 Running post build plugin 'npm Cache Cleanup' ...
Attachments
Issue Links
- causes
-
BSP-11647 Loading...