Closed GoogleCodeExporter closed 9 years ago
Good starting point:
http://maven.apache.org/guides/mini/guide-creating-archetypes.html
Original comment by 1.Pla...@gmail.com
on 23 Jan 2011 at 8:10
Created in project archetypes/eu.tanov.epf.pv.achetypes.customtype, example use:
mvn archetype:generate -DarchetypeGroupId=eu.tanov.epf.pv.archetypes
-DarchetypeArtifactId=eu.tanov.epf.pv.archetypes.customtype
-DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=eu.tanov.epf.pv.types
-DartifactId=eu.tanov.epf.pv.types.technique -DtypeName=Technique
-DtypeNamePackage=technique -DtypeNamePlural=Techniques
-DtypeNameString=Technique -DtypeNameVariable=technique
-DtypeNamePluralConst=TECHNIQUES -DtypeNameNewInstanceName=technique
Original comment by 1.Pla...@gmail.com
on 23 Jan 2011 at 11:36
Original comment by 1.Pla...@gmail.com
on 23 Jan 2011 at 11:46
It should be updated if something is changed in CustomTypeHandler
Original comment by 1.Pla...@gmail.com
on 23 Jan 2011 at 3:21
Updated archetype to respect changed in CustomTypeHandler and moved code from
ItemProvider to TypeHelper
Original comment by 1.Pla...@gmail.com
on 23 Jan 2011 at 9:56
Updated archetype to respect to new method
CustomTypeHandler.isReadyToRegisterType()
Original comment by 1.Pla...@gmail.com
on 24 Jan 2011 at 9:45
Updated archetype to respect to new class
eu.tanov.epf.pv.service.types.util.UmaTypeSettingDelegateFactory
Original comment by 1.Pla...@gmail.com
on 24 Jan 2011 at 10:52
All expected custom types are implemented, so CustomTypeHandler interface was
enough flexible and template should not be changed any more (except if
something unusual happens)
Original comment by 1.Pla...@gmail.com
on 25 Jan 2011 at 10:07
Updated archetype to: "Added extension point
eu.tanov.epf.itemprovider.CustomCategoriesItemProviders for custom categories
handling in Library tree, custom types are using it"
Original comment by 1.Pla...@gmail.com
on 23 Mar 2011 at 10:11
Original issue reported on code.google.com by
1.Pla...@gmail.com
on 23 Jan 2011 at 8:10