DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

Add profiles for Community and Enterprise #163

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The pom.xml files generated by the AMP project archetype should include 
profiles for Community and Enterprise.

Original issue reported on code.google.com by pmo...@gmail.com on 26 Nov 2013 at 11:23

GoogleCodeExporter commented 8 years ago

Original comment by pmo...@gmail.com on 26 Nov 2013 at 11:23

GoogleCodeExporter commented 8 years ago

Original comment by pmo...@gmail.com on 26 Nov 2013 at 11:58

GoogleCodeExporter commented 8 years ago
Hi Peter,

at the moment the default behaviour is to build the latest Community version 
(and its version is hard-coded into the 
src/main/resources/archetype-resources/pom.xml), therefore I dont think that we 
need a profile for Community.

In order to use Enterprise edition, you must perform the following manual 
operations:
1. Define your repo credentials into ~/.m2/settings.xml
2. Change the property <alfresco.version> to 4.2.2 (or similar)
3. Change <repository> alfresco-public to alfresco-private (incl. url)

We could introduce a -Penterprise profile, defined into the alfresco-sdk-parent 
(therefore inherited by all archetypes), which contains:

2. <alfresco.version>4.2.2</alfresco.version> => will have to be manually 
changed on every release, but would allow a continuous testing of the SDK with 
the Enterprise edition

3. <repository
  <id>alfresco-private</id>
  <url>https://artifacts.alfresco.com/nexus/content/groups/private</url>
</repository>

Step #1 would still have to be done manually; however, if not done, the user 
will be prompted with a well-known 401 status code (that should be mentioned by 
docs).

What's your opinion on this?
Thanks!

Original comment by maurizio...@alfresco.com on 3 Jul 2014 at 10:44

GoogleCodeExporter commented 8 years ago
I'm OK if we want to do this for 2.0.0. Mau / Peter can you push this forward?

Original comment by colum...@gmail.com on 18 Jul 2014 at 12:06