Closed GoogleCodeExporter closed 9 years ago
Still applicable?
Original comment by colum...@gmail.com
on 4 Aug 2011 at 12:24
That would be a nice feature, and easy using this
http://maven.apache.org/archetype/maven-archetype-plugin/specification/archetype
-metadata.html .
@ Carlo: can you implement and test for the 4x releases?
Original comment by colum...@gmail.com
on 15 Nov 2011 at 5:27
Something like:
<requiredProperties>
<requiredProperty key="alfresco.bundle">
<defaultValue>community</defaultValue>
</requiredProperty>
</requiredProperties>
What do you think about the name alfresco.bundle ?
Original comment by mauri...@session.it
on 4 Apr 2012 at 8:10
using ${alfresco.edition} as already mentioned somewhere in the code
Original comment by mauri...@session.it
on 4 Apr 2012 at 8:16
Added alfresco.edition property on every root pom; default value of this
property is to set as Archetype required property called
"alfresco-default-edition", which - by default - is set to "community". To
override, set -Dalfresco-default-edition=myedition when invoking
archetype:generate -
http://code.google.com/p/maven-alfresco-archetypes/source/detail?r=375
Adding documentation to Wiki before marking the issue as Fixed
Original comment by mauri...@session.it
on 4 Apr 2012 at 8:44
Added instructions here -
https://wiki.alfresco.com/wiki/Managing_Alfresco_Lifecyle_with_Maven#Project_cre
ation
Original comment by mauri...@session.it
on 4 Apr 2012 at 8:50
Reopening issue -
http://code.google.com/p/maven-alfresco-archetypes/source/detail?r=378
RequiredProperties in archetype-metadata.xml is not working as expected, it
does not respect default value.
Nevertheless, all dependencies to classifier community vs enterprise have been
centralized into a pom.xml property called <alfresco.edition> therefore it is
very easy to set it after the archetype creation.
I think it is a very minor issue, however, for those who'd like to investigate
and try to fix it, I'd advise to check maven-archetype-plugin 2.2 and try to
upgrade (currently using 2.0) the logic the breaks.
Original comment by mauri...@session.it
on 4 Apr 2012 at 5:01
Marked as enhancement
Original comment by mauri...@session.it
on 4 Apr 2012 at 5:13
This is resolved with the 1.0 SDK where alfresco.edition can be specific at
archetype creation time? (to fill the alfresco.edition property in the POMs)
Confirmed?
Original comment by colum...@gmail.com
on 24 Jan 2013 at 8:02
Original issue reported on code.google.com by
carlo.sciolla
on 26 Jan 2010 at 1:51