[
https://issues.apache.org/jira/browse/ATLAS-2974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16850157#comment-16850157
]
Nigel Jones commented on ATLAS-2974:
------------------------------------
Just as a FYI I was able to build the docker image ok off master.
The maven enforcer plugin checks various conditions for the build. If you look
further up the log from that ERROR there should be a message with more info.
Perhaps worth posting the log as a gist or similar?
Typical checks would be for maven version & java version (the atlas top level
pom checks for maven > 3.5 & java > 1.8.0-151, - but since this docker build
runs the atlas build within a container that should be pretty fixed (though
updates are applied), so I'm not sure why you see different results? Did you
change anything in the Dockerfile? Switch the compiler version for example (it
was failing with some versions of the J9 jvm)
> Docker build: Failed to execute goal
> org.apache.maven.plugins:maven-enforcer-plugin...
> --------------------------------------------------------------------------------------
>
> Key: ATLAS-2974
> URL: https://issues.apache.org/jira/browse/ATLAS-2974
> Project: Atlas
> Issue Type: Bug
> Reporter: Dmitry Goryunov
> Assignee: Xinran Tinney
> Priority: Major
> Attachments: tmp
>
>
> Version: commit 945de013f5466ffcf71d16c6ec1772fdee83e2f6 (Also reproducable
> with 1.1.0-rc2)
>
> Runnign command:
> {code:java}
> docker build -t atlas_docker .
> {code}
> Breaks at some point with:
> {code:java}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce
> (enforce-versions) on project apache-atlas: Some Enforcer rules have failed.
> Look above for specific messages explaining why the rule failed. -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :apache-atlas
> The command '/bin/sh -c mvn clean install -DskipTests
> -Pdist,embedded-hbase-solr -f ./atlas/pom.xml' returned a non-zero code: 1
> {code}
> The complete logs are attached.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)