I have not seen this before. Have you tried deleting the folder /home/hadoop2/.m2/repository/org/springframework/spring-beans and recompiling?
Thanks Bosco On 6/10/15, 6:09 AM, "Amith sha" <[email protected]> wrote: >Hi Bosco, > > >I am getting the following Errors while Building Ranger 0.4.1 Using >maven in centos 6.6 Could you suggest > > >Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property >'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is >not recognized. >Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property >'http://javax.xml.XMLConstants/property/accessExternalDTD' is not >recognized.' >Warning: org.apache.xerces.parsers.SAXParser: Feature >'http://javax.xml.XMLConstants/feature/secure-processing' is not >recognized. >Warning: org.apache.xerces.parsers.SAXParser: Property >'http://javax.xml.XMLConstants/property/accessExternalDTD' is not >recognized. >Warning: org.apache.xerces.parsers.SAXParser: Property >'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is >not recognized. >[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 >generated: 0 approved: 6 licence. >[INFO] >[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ >unixauthclient --- >[INFO] Installing >/opt/ranger/incubator-ranger-ranger-0.4.1-rc1/unixauthclient/target/unixau >thclient-0.4.1.jar >to >/home/hadoop2/.m2/repository/org/apache/ranger/unixauthclient/0.4.1/unixau >thclient-0.4.1.jar >[INFO] Installing >/opt/ranger/incubator-ranger-ranger-0.4.1-rc1/unixauthclient/pom.xml >to >/home/hadoop2/.m2/repository/org/apache/ranger/unixauthclient/0.4.1/unixau >thclient-0.4.1.pom >[INFO] >[INFO] >------------------------------------------------------------------------ >[INFO] Building Security Admin Web Application 0.4.1 >[INFO] >------------------------------------------------------------------------ >[WARNING] The POM for tomcat:commons-el:jar:5.5.23 is missing, no >dependency information available >[INFO] >[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ >security-admin-web --- >[INFO] >[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ >security-admin-web --- >[WARNING] Missing POM for tomcat:commons-el:jar:5.5.23 >[WARNING] Cannot read metadata from >'/home/hadoop2/.m2/repository/org/springframework/spring-beans/maven-metad >ata-Codehaus.xml': >end tag name </head> must be the same as start tag <meta> from line 4 >(position: TEXT seen ...<title>ACCESS MESSAGE</title>\n\t</head>... >@6:9) >[WARNING] Missing POM for >org.apache.calcite:calcite-core:jar:0.9.2-incubating-SNAPSHOT >[WARNING] Missing POM for >org.apache.calcite:calcite-avatica:jar:0.9.2-incubating-SNAPSHOT >[INFO] >[INFO] >------------------------------------------------------------------------ >[INFO] Skipping ranger >[INFO] This project has been banned from the build due to previous >failures. >[INFO] >------------------------------------------------------------------------ >[INFO] >------------------------------------------------------------------------ >[INFO] Reactor Summary: >[INFO] >[INFO] ranger ............................................ SUCCESS >[10.847s] >[INFO] Credential Support ................................ SUCCESS >[14.316s] >[INFO] Audit Component ................................... SUCCESS >[10.769s] >[INFO] Common library for Plugins ........................ SUCCESS >[8.776s] >[INFO] Hdfs Security Plugin .............................. SUCCESS >[8.823s] >[INFO] Hive Security Agent ............................... SUCCESS >[17.199s] >[INFO] HBaseSecurityAgents ............................... SUCCESS >[26.152s] >[INFO] Knox Security Plugin .............................. SUCCESS >[5.422s] >[INFO] Credential Builder ................................ SUCCESS >[6.880s] >[INFO] Storm Security Plugin ............................. SUCCESS >[9.738s] >[INFO] Agent Implementation Libary ....................... SUCCESS >[30.390s] >[INFO] Installer Support Component ....................... SUCCESS >[5.727s] >[INFO] Embeded Web Server Invoker ........................ SUCCESS >[1.806s] >[INFO] Resource Lookup API Implementation ................ SUCCESS >[9.191s] >[INFO] Unix Authentication Client ........................ SUCCESS >[3.356s] >[INFO] Security Admin Web Application .................... FAILURE >[4.770s] >[INFO] Unix User Group Synchronizer ...................... SKIPPED >[INFO] Unix Authentication Service ....................... SKIPPED >[INFO] Unix Native Authenticator ......................... SKIPPED >[INFO] >------------------------------------------------------------------------ >[INFO] BUILD FAILURE >[INFO] >------------------------------------------------------------------------ >[INFO] Total time: 2:58.445s >[INFO] Finished at: Wed Jun 10 18:34:44 IST 2015 >[INFO] Final Memory: 43M/142M >[INFO] >------------------------------------------------------------------------ >[ERROR] Failed to execute goal >org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1:process >(default) on project security-admin-web: Failed to resolve >dependencies for one or more projects in the reactor. Reason: No >versions are present in the repository for the artifact with a range >[2.5.2,3) >[ERROR] org.springframework:spring-core:jar:null >[ERROR] >[ERROR] from the specified remote repositories: >[ERROR] apache.snapshots.https >(https://repository.apache.org/content/repositories/snapshots, >releases=true, snapshots=true), >[ERROR] apache.public.https >(https://repository.apache.org/content/repositories/public, >releases=true, snapshots=false), >[ERROR] apache.snapshots (http://repository.apache.org/snapshots, >releases=false, snapshots=true), >[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, >snapshots=false) >[ERROR] Path to dependency: >[ERROR] 1) org.apache.ranger:security-admin-web:war:0.4.1 >[ERROR] 2) com.sun.jersey.contribs:jersey-spring:jar:1.4 >[ERROR] -> [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. > > > >Thanks & Regards >Amithsha
