11-11-2014 04:40 AM
mvn archetype:generate \
> -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml \
> -Dfilter=org.alfresco.maven.archetype:
[INFO] Scanning for projects…
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ————————————————————————
[INFO] Building Maven Default Project
[INFO] task-segment: [archetype:generate] (aggregator-style)
[INFO] ————————————————————————
[INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml -> org.alfresco.maven.archetype:alfresco-amp-archetype (Sample project with full support for lifecycle and rapid development of AMPs (Alfresco Module Packages))
2: https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml -> org.alfresco.maven.archetype:alfresco-allinone-archetype (Sample multi-module project for All-in-One development on the Alfresco plaftorm. Includes modules for: Repository WAR overlay, Repository AMP, Share WAR overlay, Solr configuration, and embedded Tomcat runner)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 1
Choose org.alfresco.maven.archetype:alfresco-amp-archetype version:
1: 1.0
2: 1.0.1
3: 1.0.2
4: 1.1.0
5: 1.1.1
Choose a number: 5: 5
Define value for property 'groupId': : com.someco
Define value for property 'artifactId': : content-tutorial-repo
[INFO] Using property: version = 1.0-SNAPSHOT
[INFO] Using property: package = (not used)
[INFO] Using property: alfresco_target_amp_client_war = alfresco
[INFO] Using property: alfresco_target_amp_client_war_groupId = org.alfresco
[INFO] Using property: alfresco_target_amp_client_war_version = 4.2.e
[INFO] Using property: alfresco_target_groupId = org.alfresco
[INFO] Using property: alfresco_target_version = 4.2.e
Confirm properties configuration:
groupId: com.someco
artifactId: content-tutorial-repo
version: 1.0-SNAPSHOT
package: (not used)
alfresco_target_amp_client_war: alfresco
alfresco_target_amp_client_war_groupId: org.alfresco
alfresco_target_amp_client_war_version: 4.2.e
alfresco_target_groupId: org.alfresco
alfresco_target_version: 4.2.e
Y: Y
jan@kranich:~$ cd content-tutorial-repo/
jan@kranich:~/content-tutorial-repo$ mvn install
[INFO] Scanning for projects…
[INFO] ————————————————————————
[INFO] Building content-tutorial-repo AMP project
[INFO] task-segment: [install]
[INFO] ————————————————————————
[INFO] [alfresco:set-version {execution: default-set-version}]
[INFO] Removed -SNAPSHOT suffix from version - 1.0
[INFO] Added timestamp to version - 1.0.1411111022
[INFO] [build-helper:add-test-resource {execution: add-env-test-properties}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jan/content-tutorial-repo/src/main/resources
[INFO] Copying 9 resources to ../content-tutorial-repo
[INFO] artifact org.jvnet.staxex:stax-ex: checking for updates from alfresco-public
[INFO] artifact org.jvnet.staxex:stax-ex: checking for updates from alfresco-public-snapshots
[INFO] artifact org.jvnet.staxex:stax-ex: checking for updates from jboss.public
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '738169ccc9b91b7a5306e5783bc5fdc38b1fa881'; remote = '67f322c5b703204db28be907f94b642e00cb77b6' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '738169ccc9b91b7a5306e5783bc5fdc38b1fa881'; remote = '67f322c5b703204db28be907f94b642e00cb77b6' - IGNORING
[INFO] artifact org.jvnet.staxex:stax-ex: checking for updates from maven2-repository.dev.java.net
[INFO] artifact org.jvnet.staxex:stax-ex: checking for updates from central
[INFO] ————————————————————————
[ERROR] BUILD ERROR
[INFO] ————————————————————————
[INFO] Error building POM (may not be this project's POM).
Project ID: com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.2
Reason: Cannot find parent: org.sonatype.oss:oss-parent for project: com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.2 for project com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.2
11-20-2014 10:56 AM
11-20-2014 11:27 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.