missing maven archetype for amp
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 05:25 AM
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.albopretoriocr-indexer-share-amp:[unknown-version]
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.albopretoriocr-indexer-share-amp:[unknown-version]
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 11:19 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2016 11:42 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2016 11:31 AM