DPascalBernard / maven-alfresco-archetypes

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

All-in-one archetype - Generate Share AMP file #179

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great if the all-in-one archetype could generate two AMP files, one 
for the repository tier, and a separate AMP module for Share.  Most customers 
are working with both components these days, and this would make jumpstarting a 
project spanning both tiers much easier for people that are new to Maven and 
our SDK.

Maybe instead of the single "amp" module, it could emit two, one named 
"amp-repo" and one named "amp-share", each configured to be applied to the 
right WAR file?

Original issue reported on code.google.com by nathan.m...@alfresco.com on 14 Feb 2014 at 5:31

GoogleCodeExporter commented 9 years ago
Emitting multiple assets from a single Maven project is a bit counter to how 
Maven works, and may not be easy to achieve.  I suspect a better option is to 
have a multi-module project comprising a master pom project and 2 sub-projects 
(one for repo AMP, one for Share AMP).

Do the archetypes already do this?  I thought they did, but I'm not that 
familiar with them so might be misremembering...

Original comment by peter.mo...@alfresco.com on 14 Feb 2014 at 6:06

GoogleCodeExporter commented 9 years ago
That's kind of what I was getting at.  The current all in one archetype creates 
a master pom project and multiple module subprojects (one of which is a 
repo-tier AMP).  It would be great if it just created an additional AMP module, 
preconfigured to be applied to Share.

Original comment by nathan.m...@alfresco.com on 14 Feb 2014 at 6:14

GoogleCodeExporter commented 9 years ago

Original comment by colum...@gmail.com on 14 Feb 2014 at 6:23

GoogleCodeExporter commented 9 years ago
This is a common way of using the SDK so probably a multimodule archetype for 
that would be useful. I wonder if it would get confusing though to have 2 
multi-module projects, similar in many ways. 

Original comment by colum...@gmail.com on 10 Mar 2014 at 6:55