DPascalBernard / maven-alfresco-archetypes

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

Maven fails to download alfresco dependencies #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create the archetype according to instructions
2. mvn package

What is the expected output? What do you see instead?

I see this (elided) output:

Downloading:
http://repository.sourcesense.com/maven2/alfresco/community/alfresco/2.1.0/alfre
sco-2.1.0.war
...
Missing:
----------
1) alfresco.community:alfresco:war:2.1.0

I can see why this is failing: the war file on the sourcesense repository
is named alfresco-2.1.0-labs.war.

I have the same problem with 3.0Stable.

What version of the product are you using? On what operating system?

archetype version is 1.1.0

Please provide any additional information below.

Original issue reported on code.google.com by jeff.ye...@gmail.com on 19 Feb 2009 at 7:39

GoogleCodeExporter commented 9 years ago
I confirm this problem. Moreover, it seems that the Alfresco artifacts are no 
longer
available under the "alfresco.community" group but under the "org.alfresco" 
group in
the "http://repository.sourcesense.com/maven2/" repository.

I guess this problem will be fixed in the next archetype version (in the POM-s)?

Original comment by p.bod...@centrum.cz on 4 May 2009 at 2:43

GoogleCodeExporter commented 9 years ago
Following the instructions reported in
http://repository.sourcesense.com/maven2-sites/maven-alfresco-extension-archetyp
e it
went all smooth; I confirm the wrong artifact groupId issue has been fixed with
version 1.1.4

HTH,
  Maurizio

Original comment by maurizio...@gtempaccount.com on 4 May 2009 at 9:55

GoogleCodeExporter commented 9 years ago

Original comment by maurizio...@gtempaccount.com on 4 May 2009 at 9:58

GoogleCodeExporter commented 9 years ago
OK, thanks for the information. Dependencies' groupId and classifier tags are 
right
in the version 1.1.4.

The problem was I downloaded the 1.1.0 version because it's the only version
downloadable from 
http://code.google.com/p/maven-alfresco-archetypes/downloads/list
now. There was a problem when I launched the command from the instructions page 
you
noted:

mvn archetype:generate
-DarchetypeCatalog=http://repository.sourcesense.com/maven2/archetype-catalog.xm
l

It returned a "ResourceDoesNotExistException: Unable to locate resource in
repository" exception so I gave up this way of creating project from an 
archetype.
This error occurs e. g. in Maven 2.0.9, it's described here:
http://jira.codehaus.org/browse/ARCHETYPE-124. So I would suggest to update the
instructions page so it mentions the alternative form of the command:

mvn archetype:generate 
-DarchetypeCatalog=http://repository.sourcesense.com/maven2

Original comment by p.bod...@centrum.cz on 5 May 2009 at 8:53