cancel
Showing results for 
Search instead for 
Did you mean: 

missing maven archetype for amp

flashboss
Champ in-the-making
Champ in-the-making
I'm using the archetype to create the amp with maven with this command:


mvn archetype:generate -Dfilter=org.alfresco.maven.archetype:alfresco-allinone-archetype

It is for the 5.1.e. I would update it to 5.1.g version but the share artifacts are not in the maven repositories. It should be updated. If I update the alfresco version with the property in the pom.xml

<alfresco.version>5.1.f</alfresco.version>

or

<alfresco.version>5.1.g</alfresco.version>

and I do a mvn clean install,

I get this error:

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.springframework.extensions.surf:spring-surf-api:jar is missing. @ it.vige.albopretorioSmiley Surprisedcr-indexer-share-amp:[unknown-version]
3 REPLIES 3

jpotts
World-Class Innovator
World-Class Innovator
The Alfresco <a href="http://docs.alfresco.com/5.1/tasks/alfresco-sdk-upgrading-alfresco-version-SDK-220-51e-to-51f.html">docs</a> may help you with this.

Pay close attention to the new group ID for the surf dependency.

You also have to specify the spring surf version when running maven with "-Ddependency.surf.version=6.3"

Jeff

flashboss
Champ in-the-making
Champ in-the-making
Thanks, I will get a look. Anyway could be usefull passing to the 5.1.g version amp only starting the mvn command. Actually it's back to 5.1.e

ddraper
World-Class Innovator
World-Class Innovator

‌ This is a question you might be interested in tracking or following up on