Customizing Maven Archetype Descriptor

2011-03-01 Thread Harshana Eranga Martin
t;. Has any one done this before? Can we do this using Maven? Can we customize element in the Archetype descriptor(archetype-metadata.xml) to get this done? Highly appreciate any reference on this. Thanks and Regards, Harshana -- Harshana Eranga Martin Software Engineer, WSO2 Inc. Web: http://wso2

Re: NPE from org.apache.maven.archetype.DefaultArchetypeManager of archetype-common-2.0.jar

2011-02-08 Thread Harshana Eranga Martin
6 February 2011 00:02, Harshana Eranga Martin wrote: > Hi Hervé, > > On 5 February 2011 18:30, Hervé BOUTEMY wrote: > >> archetype-common, like any other Maven component, does not instanciate >> components directly but uses plexus container as dependency injection >&g

Re: NPE from org.apache.maven.archetype.DefaultArchetypeManager of archetype-common-2.0.jar

2011-02-05 Thread Harshana Eranga Martin
ave more questions on this. Thanks and Regards, Harshana > > Regards, > > Hervé > > [1] http://plexus.codehaus.org/guides/quick-start/getting-started.html > > Le samedi 5 février 2011, Harshana Eranga Martin a écrit : > > Hi All, > > > > I'm trying to use mav

NPE from org.apache.maven.archetype.DefaultArchetypeManager of archetype-common-2.0.jar

2011-02-05 Thread Harshana Eranga Martin
romProject *method. The causes are, these methods try to invoke methods on *ArchetypeGenerator *and *ArchetypeCreator *references without instantiating them. Is this a known situation or a bug? Thanks and Regards, Harshana Martin -- Harshana Eranga Martin Software Engineer, WSO2 Inc. Web: http:

Using a Maven Archetype programmatically

2011-02-03 Thread Harshana Eranga Martin
Hi All, I have a requirement of using a maven archetype programmatically and create a maven project. Can someone provide me some references on this? Thanks and Regards, Harshana Martin -- Harshana Eranga Martin Software Engineer, WSO2 Inc. Web: http://wso2.com http://wso2.org ECF

Re: Invoking Maven Goals Prorammatically

2010-12-07 Thread Harshana Eranga Martin
Hi Antonio, On 7 December 2010 15:21, Antonio Petrelli wrote: > 2010/12/7 Harshana Eranga Martin : > > Hi All, > > > > I am trying to execute "clean" and "install" maven goals for a java > project > > from another java project by launching mave

Invoking Maven Goals Prorammatically

2010-12-07 Thread Harshana Eranga Martin
roject. Can some one point me to an example how to get this done using this maven invoker plugin? Thanks and Regards, Harshana Martin -- Harshana Eranga Martin Software Engineer, WSO2 Inc. Web: http://wso2.com http://wso2.org ECF Committer: http://www.eclipse.org/ecf/ Blog: http://har