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
This commit is contained in:
slanglois 2013-02-12 18:02:03 +00:00
parent 3dc65c84dd
commit 6ce6a25bef
5 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@
<defaultValue>org.alfresco</defaultValue> <defaultValue>org.alfresco</defaultValue>
</requiredProperty> </requiredProperty>
<requiredProperty key="alfresco_target_version"> <requiredProperty key="alfresco_target_version">
<defaultValue>4.2.b</defaultValue> <defaultValue>4.2.c</defaultValue>
</requiredProperty> </requiredProperty>
<requiredProperty key="package"> <requiredProperty key="package">
<defaultValue>(not used)</defaultValue> <defaultValue>(not used)</defaultValue>

View File

@ -29,7 +29,7 @@ How to create a project:
You can create the latest release archetype with the following command: 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: You should then:
@ -38,7 +38,7 @@ mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/c
[[2]] Specify the <<<groupId>>> and <<<artifactId>>> for the project you want to create [[2]] Specify the <<<groupId>>> and <<<artifactId>>> for the project you want to create
[[3]] (<Optionally>) Select Alfresco Version / Edition (current default is: Alfresco Community 4.2.b) [[3]] (<Optionally>) 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 <<<artifactId>>> folder. You can find new Alfresco All-in-One project ready to go in the <<<artifactId>>> folder.

View File

@ -10,7 +10,7 @@
<defaultValue>org.alfresco</defaultValue> <defaultValue>org.alfresco</defaultValue>
</requiredProperty> </requiredProperty>
<requiredProperty key="alfresco_target_version"> <requiredProperty key="alfresco_target_version">
<defaultValue>4.2.b</defaultValue> <defaultValue>4.2.c</defaultValue>
</requiredProperty> </requiredProperty>
<requiredProperty key="package"> <requiredProperty key="package">
<defaultValue>(not used)</defaultValue> <defaultValue>(not used)</defaultValue>

View File

@ -32,7 +32,7 @@ How to create a project:
You can create the latest release archetype with the following command: 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: You should then:
@ -41,11 +41,11 @@ mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/c
[[2]] Specify the <<<groupId>>> and <<<artifactId>>> for the project you want to create [[2]] Specify the <<<groupId>>> and <<<artifactId>>> for the project you want to create
[[3]] (<Optionally>) Select Alfresco Version / Edition (current default is: Alfresco Community 4.2.b) [[3]] (<Optionally>) Select Alfresco Version / Edition (current default is: Alfresco Community 4.2.c)
You can find new Alfresco AMP project ready to go in the <<<artifactId>>> folder. You can find new Alfresco AMP project ready to go in the <<<artifactId>>> folder.
Usage Usage
Instructions on how to use the Alfresco AMP archetype can be found on the {{{./usage.html}usage page}}, while 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}} for more advanced use cases refer to the {{{./advanced-usage.html}advanced usage page}}

View File

@ -21,7 +21,7 @@ Project layout
pom.xml pom.xml
src/main/amp src/main/amp
|-> module.properties |-> module.properties
|-> file-mappings.properties (optional) |-> file-mapping.properties (optional)
|-> config/ |-> config/
|-> web/ |-> web/
|-> licenses/ |-> licenses/
@ -69,4 +69,4 @@ Commands
* <<<mvn integration-test -Pamp-to-war -Dalfresco.client.war=share>>>: Like <<<mvn integration-test -Pamp-to-war>>> but installs the AMP and runs on the Share WAR in Jetty embedded. * <<<mvn integration-test -Pamp-to-war -Dalfresco.client.war=share>>>: Like <<<mvn integration-test -Pamp-to-war>>> but installs the AMP and runs on the Share WAR in Jetty embedded.
* <<<mvn clean -Ppurge>>>: Removes DB, alf_data, indexes and log files. Useful to purge the development repo (by default self contained in <<<$\{project.basedir\}/alf_data_dev>>> * <<<mvn clean -Ppurge>>>: Removes DB, alf_data, indexes and log files. Useful to purge the development repo (by default self contained in <<<$\{project.basedir\}/alf_data_dev>>>