04-05-2012 11:15 AM
Hi everyone,
Thanks for your time, as you can see in the title I got an issue in order to build nuxeo sources. I have follow the online documentation on doc.nuxeo.com. I ran into fews problems and the only differences from the doc is me running this:
>python clone.py release-5.5
Instead of:
>python clone.py
cause the second crash with errors.
And when i run:
>mvn -Dmaven.test.skip=true install -Paddons
I get those errors:
[INFO] Building Nuxeo WebEngine JAX-RS
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 20120405-150730 at timestamp: 1333631250875
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: null:jersey-server:jar:null
Reason: Cannot find parent: com.sun.jersey:jersey-project for project: null:jers
ey-server:jar:null for project null:jersey-server:jar:null
Thanks for reading, I hope someone could help me. If anyone need futher informations, feel free to ask.
Regards, LR
04-10-2012 11:21 AM
This is due to the glassfish repository, which is hardcoded in the jerser-server-1.1.5.pom, returning a junk artifact (some HTML with a nginx message instead of a real pom).
You can work around this by adding this to the "mirrors" section of your settings.xml:
<mirror>
<id>glassfish-mirror</id>
<name>glassfish mirror</name>
<url>http://maven.nuxeo.org/nexus/content/repositories/public-releases</url>
<mirrorOf>glassfish-repository</mirrorOf>
</mirror>
and removing all "com.sun.jersey" artifacts from your local repository (rm -rf ~/.m2/repository/com/sun/jersey)
04-05-2012 11:22 AM
This is the full trace error
04-06-2012 07:48 AM
Hello,
Maybe you got a corrupted file (i.e. during a download issue).
Could you look at C:\Documents and Settings\lregnault\.m2\repository\com\sun\jersey\jersey-project\1.1.5\jersey-project-1.1.5.pom and compare it with its online version?
If it looks weird, simply delete it and rebuild. Note you can restart the build from the failing module:
mvn -Dmaven.test.skip=true install -Paddons -rf nuxeo-webengine/nuxeo-webengine-jaxrs
04-10-2012 11:21 AM
This is due to the glassfish repository, which is hardcoded in the jerser-server-1.1.5.pom, returning a junk artifact (some HTML with a nginx message instead of a real pom).
You can work around this by adding this to the "mirrors" section of your settings.xml:
<mirror>
<id>glassfish-mirror</id>
<name>glassfish mirror</name>
<url>http://maven.nuxeo.org/nexus/content/repositories/public-releases</url>
<mirrorOf>glassfish-repository</mirrorOf>
</mirror>
and removing all "com.sun.jersey" artifacts from your local repository (rm -rf ~/.m2/repository/com/sun/jersey)
04-11-2012 05:35 AM
Thanks for your help. I will try this. I get back to you.
04-11-2012 08:16 AM
Please use comment for a comment an answer to answer to the question. This is important for the following you tell.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.