DPascalBernard / maven-alfresco-archetypes

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

Dependencies problem for Alfresco EE 4.2.1 #192

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Create project with SDK
2.Configure alfresco private repository 
https://artifacts.alfresco.com/nexus/content/groups/private
3.Set <alfresco.version>4.2.1</alfresco.version>
4.Run mvn compile

What is the expected output? 
mvn compile project

What do you see instead?
Failure to find org.alfresco:alfr
esco-parent:pom:4.2.1-SNAPSHOT in 
https://artifacts.alfresco.com/nexus/content/groups/private

What version of the product are you using? On what operating system?
Alfresco SDK version: 1.1.1
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
Apache Maven: 3.1.1
Java version: 1.7.0_45, vendor: Oracle Corporation

Please provide any additional information below.
Error log:
[ERROR] Failed to execute goal on project veronesi-share-poc: Could not resolve 
dependencies for project it.dp2000:veron
esi-share-poc:amp:1.0-SNAPSHOT: Failed to collect dependencies at 
org.alfresco:alfresco-repository:jar:config:4.2.1: Fai
led to read artifact descriptor for 
org.alfresco:alfresco-repository:jar:config:4.2.1: Failure to find 
org.alfresco:alfr
esco-parent:pom:4.2.1-SNAPSHOT in 
https://artifacts.alfresco.com/nexus/content/groups/private

Original issue reported on code.google.com by mirkb...@gmail.com on 17 Jun 2014 at 8:26

Attachments:

GoogleCodeExporter commented 8 years ago
I cannot reproduce this issue: I was able to generate and build the project 
without any 4.2.1-SNAPSHOT dependency.
But it rings a bell... I think I deployed the wrong POM files at one point, and 
I fixed them afterwards.

Can you please try the following:
1. Remove all the alfresco artifacts you have in your local Maven repo
  rm -rf ~/.m2/repository/org/alfresco
2. run mvn compile again in your project.

I think (and hope!) this will work.

Original comment by samuel.l...@alfresco.com on 17 Jun 2014 at 9:46

GoogleCodeExporter commented 8 years ago
Hi,
i removed all alfresco 4.2.1 artifacts, recompiled and now it works.

Thanks.

Original comment by mirkb...@gmail.com on 17 Jun 2014 at 3:32