You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alexander Herr (JIRA)" <ji...@apache.org> on 2014/09/02 17:38:20 UTC

[jira] [Commented] (AMBARI-7005) ambari trunk commit build fails due to unresolvable eclipselink plugin when the first time mvn build

    [ https://issues.apache.org/jira/browse/AMBARI-7005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14118272#comment-14118272 ] 

Alexander Herr commented on AMBARI-7005:
----------------------------------------

Hit the same error today. You can edit the ambari-project/pom.xml to reflect the latest 2.4 version of eclipselink (2.4.2) to circumvent this error. In fact, only 2.4.2 is listed of the old 2.4 builds on maven central. This dependency needs to be updated (most recent release trunk of eclipselink is 2.6). 

> ambari trunk commit build fails due to unresolvable eclipselink plugin when the first time mvn build
> ----------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-7005
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7005
>             Project: Ambari
>          Issue Type: Bug
>          Components: infra
>            Reporter: jun aoki
>
> https://builds.apache.org/job/Ambari-trunk-Commit/
> has been failing. The latest failure shows some dependency not found error.
> I will try to reproduce on my environment.
> {code}
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [  5.919 s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [  0.887 s]
> [INFO] Ambari Web ........................................ SUCCESS [ 45.660 s]
> [INFO] Ambari Views ...................................... SUCCESS [ 10.575 s]
> [INFO] Ambari Admin View ................................. SUCCESS [02:16 min]
> [INFO] Ambari Server ..................................... FAILURE [01:11 min]
> [INFO] Ambari Agent ...................................... SKIPPED
> [INFO] Ambari Client ..................................... SKIPPED
> [INFO] Ambari Python Client .............................. SKIPPED
> [INFO] Ambari Groovy Client .............................. SKIPPED
> [INFO] Ambari Shell ...................................... SKIPPED
> [INFO] Ambari Python Shell ............................... SKIPPED
> [INFO] Ambari Groovy Shell ............................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 04:35 min
> [INFO] Finished at: 2014-08-25T18:09:29+00:00
> [INFO] Final Memory: 41M/344M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal au.com.alderaan:eclipselink-staticweave-maven-plugin:1.0.4:weave (default) on project ambari-server: Execution default of goal au.com.alderaan:eclipselink-staticweave-maven-plugin:1.0.4:weave failed: Plugin au.com.alderaan:eclipselink-staticweave-maven-plugin:1.0.4 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.eclipse.persistence:eclipselink:jar:2.4.0, commonj.sdo:commonj.sdo:jar:2.1.1.v201112051852: Could not find artifact org.eclipse.persistence:eclipselink:jar:2.4.0 in maven2-repository.dev.java.net (http://download.java.net/maven/2/) -> [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/PluginResolutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :ambari-server
> Build step 'Execute shell' marked build as failure
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)