You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2014/10/07 14:38:33 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=14161839#comment-14161839 ] 

Jonathan Hurley commented on AMBARI-7005:
-----------------------------------------

It was not reverted, but I did remove that code by hand. When we upgraded to EclipseLink 2.4.2, we needed to change repositories as per https://wiki.eclipse.org/EclipseLink/Maven

So, that old maven repository is no longer valid.

> 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
>            Assignee: jun aoki
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7005.patch
>
>
> 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)