Maven repository outdated

Hello,

I noticed that the maven repository (https://maven-eu.nuxeo.org/nexus/content/repositories/public/org/nuxeo/ecm/distribution/nuxeo-distribution/) is stucked at 6.0-HF21 for Nuxeo 6.0.

I can't find 6.0-HF22+ in the repository. Is this a normal situation ? Is there another URL to use to compile custom bundles against right HotFix version ?

Thanks.

0 votes

1 answers

2236 views

ANSWER



Hi,

Pre-compiled hotfix releases are a service we provide to our customers. I you're a customer we can give you access to them. Otherwise you'll have to compile them from source.

0 votes



This problem had already been mentionned

https://answers.nuxeo.com/general/q/add7406a6bbf4eddb4af484bb51ac0d5/Error-trying-to-access-components-on-Maven-Nexus

Whay solution do you offer to your customers ?

01/08/2016

We provide to our customer their credentials allowing to access the hotfix artifacts.
01/08/2016

Okay, we ll ask for credentials to the support, through Jira or whatever. Sorry to tell you that this policy seems to me quite ominous and even a bit cheap ("compile it yourself if you do not pay").
01/08/2016

Well, we have to provide added services to our customer, otherwise it's quite hard to make a life in the Open Source world…
01/08/2016

This is probably not the right place for this kind of discussion but having to pay for something that used to be free can hardly be considered as an added service. Nuxeo has more to offer than this.
01/08/2016

I can understand that precompiled HotFix through Marketplace are only for customers. Right !

But I still cannot compile from scratch because some artifacts are not available during compilation phase. For instance, I have this error when I try to compile 6.0-HF25 (release tag from GITHUB) : [ERROR] The project org.nuxeo.ecm.distribution:nuxeo-distribution:6.0-HF25 (/mnt/data/src/nuxeo/nuxeo-distribution/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find org.nuxeo:nuxeo-addons-parent:pom:6.0-HF25 in http://maven.nuxeo.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of public has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 4, column 11 -> [Help 2]

How can we make our own nuxeo distribution like here : https://doc.nuxeo.com/display/CORG/Compiling+Nuxeo+from+sources Is it now impossible to compile from source ?

Thanks.

01/11/2016

Oh wait… It seems to work… I'll tell you Folks !
01/11/2016

The relativePath errors are often due to the behavior change between Maven 2.2.1 and Maven 3. We precisely switched from Maven 2 to 3 between Nuxeo 5.8 and 6.0.

Note we do have Jenkins jobs regularly building the whole platform from scratch (with an empty M2 repository) and as an external user, so I'm pretty confident it is possible. However, don't hesitate to report if you find an issue.

01/11/2016