DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

Alfresco nexus repository URL #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Alfresco public repository is a nexus group wich contains alfresco, and other 
publics artifacts. https://artifacts.alfresco.com/nexus/content/groups/public/

Alfresco repository should contains only alfresco specific artifacts. 

You should set this url in pom.xml files and expose only this repository in 
your nexus instance :
https://artifacts.alfresco.com/nexus/content/repositories/releases/

Futhermore, you specify on http url instead of https url.  When using http, 
nexus will sometime reply 302 moved with incorrect headers. Maven will store 
pom and jar with the 302 message content in the local ~/.m2/repository

Original issue reported on code.google.com by alexis.t...@gmail.com on 25 Jun 2012 at 9:41

GoogleCodeExporter commented 9 years ago
Why using directly the Nexus repository instead of groups?

It is indeed more correct to use groups for retrieving dependencies, since we 
need to proxy third party libraries which are still part of the Alfresco build 
(for example spring-surf)

http have been replaced everywhere with https.

What exactly is the issue? I don't see any bug or defect described here.

Thanks,
  Maurizio

Original comment by mauri...@session.it on 25 Jun 2012 at 10:01

GoogleCodeExporter commented 9 years ago
There are still some http url. Example :
https://maven-alfresco-archetypes.googlecode.com/svn/branches/experimental/alfre
sco-lifecycle-aggregator/poms/alfresco-developer-parent/pom.xml

As your repository proxy central repository, when building a projet with your 
repository enabled, some maven central artifacts are going to be donwloaded 
from your repository.

We are using an internal mirror of central, i want to download all central 
artifacts from my mirror, not from alfresco repo.

Original comment by alexis.t...@gmail.com on 25 Jun 2012 at 10:23

GoogleCodeExporter commented 9 years ago
Agreed.

Tmeans that the Alfresco repository has some wrong proxies configured within 
the public group; could you please submit one (or more) artifacts that are 
wrongly downloaded from the Alfresco Maven repo?

Regarding the alfresco-developer-parent, will try to commit the fix ASAP.

Thanks!

Original comment by mauri...@session.it on 25 Jun 2012 at 12:01

GoogleCodeExporter commented 9 years ago
Fixed and double checked in each artifact. Solving this for Maven Alfresco SDK 
1.0.

Original comment by colum...@gmail.com on 30 Oct 2012 at 12:25

GoogleCodeExporter commented 9 years ago

Original comment by colum...@gmail.com on 30 Oct 2012 at 12:25