From 6ce6a25bef0b45482727be35cdf9ade83d8a8342 Mon Sep 17 00:00:00 2001 From: slanglois Date: Tue, 12 Feb 2013 18:02:03 +0000 Subject: [PATCH] Switch default Alfresco version to 4.2.c Improve doc to add a filter in the archetype:generate command, so that only the newer archetypes are shown git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@667 04253f4f-3451-0410-a141-5562f1e59037 --- .../main/resources/META-INF/maven/archetype-metadata.xml | 2 +- .../alfresco-allinone-archetype/src/site/apt/index.apt.vm | 4 ++-- .../main/resources/META-INF/maven/archetype-metadata.xml | 2 +- archetypes/alfresco-amp-archetype/src/site/apt/index.apt.vm | 6 +++--- archetypes/alfresco-amp-archetype/src/site/apt/usage.apt.vm | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/archetypes/alfresco-allinone-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/archetypes/alfresco-allinone-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index 89e9e41a..54f4bbee 100644 --- a/archetypes/alfresco-allinone-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/archetypes/alfresco-allinone-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -10,7 +10,7 @@ org.alfresco - 4.2.b + 4.2.c (not used) diff --git a/archetypes/alfresco-allinone-archetype/src/site/apt/index.apt.vm b/archetypes/alfresco-allinone-archetype/src/site/apt/index.apt.vm index e5fe32fa..bc8b317f 100644 --- a/archetypes/alfresco-allinone-archetype/src/site/apt/index.apt.vm +++ b/archetypes/alfresco-allinone-archetype/src/site/apt/index.apt.vm @@ -29,7 +29,7 @@ How to create a project: You can create the latest release archetype with the following command: +---+ -mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml +mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml -Dfilter=org.alfresco.maven.archetype: +---+ You should then: @@ -38,7 +38,7 @@ mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/c [[2]] Specify the <<>> and <<>> for the project you want to create - [[3]] () Select Alfresco Version / Edition (current default is: Alfresco Community 4.2.b) + [[3]] () Select Alfresco Version / Edition (current default is: Alfresco Community 4.2.c) You can find new Alfresco All-in-One project ready to go in the <<>> folder. diff --git a/archetypes/alfresco-amp-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/archetypes/alfresco-amp-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index 51ae2384..86199361 100644 --- a/archetypes/alfresco-amp-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/archetypes/alfresco-amp-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -10,7 +10,7 @@ org.alfresco - 4.2.b + 4.2.c (not used) diff --git a/archetypes/alfresco-amp-archetype/src/site/apt/index.apt.vm b/archetypes/alfresco-amp-archetype/src/site/apt/index.apt.vm index 78dc1287..5490aee3 100644 --- a/archetypes/alfresco-amp-archetype/src/site/apt/index.apt.vm +++ b/archetypes/alfresco-amp-archetype/src/site/apt/index.apt.vm @@ -32,7 +32,7 @@ How to create a project: You can create the latest release archetype with the following command: +---+ -mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml +mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml -Dfilter=org.alfresco.maven.archetype: +---+ You should then: @@ -41,11 +41,11 @@ mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/c [[2]] Specify the <<>> and <<>> for the project you want to create - [[3]] () Select Alfresco Version / Edition (current default is: Alfresco Community 4.2.b) + [[3]] () Select Alfresco Version / Edition (current default is: Alfresco Community 4.2.c) You can find new Alfresco AMP project ready to go in the <<>> folder. Usage Instructions on how to use the Alfresco AMP archetype can be found on the {{{./usage.html}usage page}}, while - for more advanced use cases refer to the {{{./advanced-usage.html}advanced usage page}} \ No newline at end of file + for more advanced use cases refer to the {{{./advanced-usage.html}advanced usage page}} diff --git a/archetypes/alfresco-amp-archetype/src/site/apt/usage.apt.vm b/archetypes/alfresco-amp-archetype/src/site/apt/usage.apt.vm index ef2c86aa..5d30462c 100644 --- a/archetypes/alfresco-amp-archetype/src/site/apt/usage.apt.vm +++ b/archetypes/alfresco-amp-archetype/src/site/apt/usage.apt.vm @@ -21,7 +21,7 @@ Project layout pom.xml src/main/amp |-> module.properties - |-> file-mappings.properties (optional) + |-> file-mapping.properties (optional) |-> config/ |-> web/ |-> licenses/ @@ -69,4 +69,4 @@ Commands * <<>>: Like <<>> but installs the AMP and runs on the Share WAR in Jetty embedded. * <<>>: Removes DB, alf_data, indexes and log files. Useful to purge the development repo (by default self contained in <<<$\{project.basedir\}/alf_data_dev>>> - \ No newline at end of file +