Comment #3 on issue 163 by
maurizio...@alfresco.com: Add profiles for
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!