Hi Anders, Yes i have looked at archtypes. But it seems that this is only a one-shoot generation of the projects? Can it maintain/enforce changes in archetype when it is updated centrally in a dynamic way?
Cheers, -Kristoffer Anders Hammar wrote: > > That's called archetypes in the Maven world: > http://www.sonatype.com/books/maven-book/reference/archetypes.html > > /Anders > > On Fri, Nov 6, 2009 at 13:59, kristoffer > <[email protected]>wrote: > >> >> Hi >> >> I have looked for a feature where i can define some kind of template or >> profile centrally and inherit that for each "component". A component for >> us, >> has a special meaning in maven. For example, a general definition of a >> component is a maven pom type project and may contain the following >> projects: >> >> * EAR (depends on all other projects within this component) >> * IF (no dependencies) >> * EJB (ejb type project that depend on interface project) >> * WAR (war type project that depend on interface AND ejb project) >> * RAR (rar type project that depend on the interface project) >> >> There are other type of projects that are part of this definition but i >> have >> left them out here for brevity. We also have a couple of profiles and >> plugins that we need for each and every component. Together, this make >> our >> pom file very verbose. >> >> Our system consist of quite many components (~35-45, each with maybe 5-6 >> projects) and so we repeat ourselves alot and it's hard to maintain >> consistency throughout the system. >> >> We did construct such a building system in Ant previously, and I havent >> found any similar feature in Maven or if it is even possible to do with a >> plugin? >> >> Cheers, >> -Kristoffer >> -- >> View this message in context: >> http://old.nabble.com/multi-project-templates-tp26230506p26230506.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > -- View this message in context: http://old.nabble.com/multi-project-templates-tp26230506p26282890.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
