maven error

asked 2014-10-07 03:16:04 -0700

Janki gravatar image

updated 2014-11-25 12:51:48 -0700

I downloaded source code of ODL from github. I am having maven-3.2.3. mvn clean install gives the following error

[INFO] Scanning for projects... [WARNING] The metadata /root/.m2/repository/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/maven-metadata-opendaylight-snapshot.xml is invalid: unexpected markup d (position: START_DOCUMENT seen https://repo.maven.apache.org/maven2/org/apache/felix/maven-bundle-plugin/2.4.0/maven-bundle-plugin-2.4.0.pom

[ERROR] The build could not read 88 projects -> [Help 1] [ERROR]
[ERROR] The project org.opendaylight.controller:distribution.opendaylight:0.1.2-SNAPSHOT (/home/eInfochips/Desktop/opendaylight/controller-master/opendaylight/distribution/opendaylight/pom.xml) has 1 error [ERROR] Non-parseable POM /root/.m2/repository/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/odlparent-1.4.2-SNAPSHOT.pom: unexpected markup DOCUMENT seen [Help 2] [ERROR]
[ERROR] The project org.opendaylight.controller:forwarding.staticrouting:0.5.2-SNAPSHOT (/home/eInfochips/Desktop/opendaylight/controller-master/opendaylight/forwarding/staticrouting/pom.xml) has 1 error [ERROR] Non-parseable POM /root/.m2/repository/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/odlparent-1.4.2-SNAPSHOT.pom: unexpected markup DOCUMENT seen [Help 2] [ERROR]
[ERROR] The project org.opendaylight.controller:clustering.services:0.5.1-SNAPSHOT (/home/eInfochips/Desktop/opendaylight/controller-master/opendaylight/clustering/services/pom.xml) has 1 error [ERROR] Non-parseable POM /root/.m2/repository/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/odlparent-1.4.2-SNAPSHOT.pom: unexpected markup DOCUMENT seen [Help 2] [ERROR]
[ERROR] The project org.opendaylight.controller:clustering.services-implementation:0.4.3-SNAPSHOT (/home/eInfochips/Desktop/opendaylight/controller-master/opendaylight/clustering/servicesimplementation/pom.xml) has 1 error [ERROR] Non-parseable POM /root/.m2/repository/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/odlparent-1.4.2-SNAPSHOT.pom: unexpected markup DOCUMENT seen [Help 2] [ERROR]
[ERROR] The project org.opendaylight.controller:clustering.stub:0.4.2-SNAPSHOT (/home/eInfochips/Desktop/opendaylight/controller-master/opendaylight/clustering/stub/pom.xml) has 1 error [ERROR] Non-parseable POM /root/.m2/repository/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/odlparent-1.4.2-SNAPSHOT.pom: unexpected markup DOCUMENT seen [Help 2] [ERROR]
[ERROR] The project org.opendaylight.controller:clustering.test:0.4.2-SNAPSHOT (/home/eInfochips/Desktop/opendaylight/controller-master/opendaylight/clustering/test/pom.xml) has 1 error [ERROR] Non-parseable POM /root/.m2/repository/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/odlparent-1.4.2-SNAPSHOT.pom: unexpected markup DOCUMENT seen [Help 2] [ERROR]
[ERROR] The project org.opendaylight.controller:configuration:0.4.3-SNAPSHOT (/home/eInfochips/Desktop/opendaylight/controller-master/opendaylight/configuration/api/pom.xml) has 1 error [ERROR] Non-parseable POM /root/.m2/repository/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/odlparent-1.4.2-SNAPSHOT.pom: unexpected markup DOCUMENT seen [Help 2] [ERROR]
[ERROR] The project org.opendaylight.controller:configuration.implementation:0.4.3-SNAPSHOT (/home/eInfochips/Desktop/opendaylight/controller-master/opendaylight/configuration/implementation/pom.xml) has 1 error [ERROR] Non-parseable POM /root/.m2/repository/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/odlparent-1.4.2-SNAPSHOT.pom: unexpected markup DOCUMENT seen [Help 2] [ERROR]
[ERROR] The project org.opendaylight.controller:routing.dijkstraimplementation:0.4.2-SNAPSHOT (/home/eInfochips/Desktop/opendaylight/controller-master/opendaylight/routing/dijkstraimplementation/pom.xml) has 1 error [ERROR] Non-parseable POM /root/.m2/repository/org/opendaylight/odlparent/odlparent/1.4.2-SNAPSHOT/odlparent-1.4.2-SNAPSHOT ... (more)

edit retag flag offensive close merge delete

Comments

Have you tried redownloading code? Projects are continuosly integrated and this type or errors do not appear. From your logs it seems you have connection problems Plugin org.apache.felix:maven-bundle-plugin:2.4.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.felix:maven-bundle-plugin:jar:2.4.0: Could not transfer artifact org.apache.felix:maven-bundle-plugin:pom:2.4.0 from/to central ( https://repo.maven.apache.org/maven2 ): Connection reset

Tony Tkacik ( 2014-11-10 01:12:36 -0700 )edit