cancel
Showing results for 
Search instead for 
Did you mean: 

Prescribed method to prepare downloaded sources for import into eclipse?

bruce_Grant
Elite Collaborator
Elite Collaborator

Being completely new to git I followed the Nuxeo-provided instructions to download Nuxeo sources. Then I tried to run "mvn eclipse:eclipse" and that failed almost immediately because maven was looking for the 5.5.0-HF1-SNAPSHOT build in the https://maven.nuxeo.org/nexus/content/groups/public-snapshot repository, but it doesn't exist. However, the current 5.5-SNAPSHOT build does exist.

So... I did a mass find/replace of 5.5.0-HF1-SNAPSHOT to 5.5-SNAPSHOT in all the pom files and now mvn eclipse:eclipse runs without issue.

I know this is sub-optimal, but at least it allows be to import all the nuxeo projects into Eclipse. Is there a better way to handle this?

Thanks, Bruce

3 REPLIES 3

Julien_Carsique
Elite Collaborator
Elite Collaborator

5.5.0-HF01-SNAPSHOT artifacts were not deployed in maven.nuxeo.org, so if you want to use "mvn eclipse:eclipse" on 5.5.0 branches, you have to locally install them first by running "mvn install".
Note you should also run the "fixeclipse" script available at root of Nuxeo which makes Eclipse use a "bin" directory for its compilation process instead of "target" in order to avoid conflicts between Eclipse and Maven builds.

Is there a Windows equivalent to fixeclipse?

No, sorry, there is not. But it would be useful.<br>

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

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.