Archetype Plugin does not automatically call the update-local-catalog goal

2011-01-14 Thread Thiébault Benoît
Hi everyone, I am building new archetypes to normalize my software developments and I encounter what seems to be a bug. In the documentation it is written that the update-local-catalog goal is bound "by default to the lifecycle phase: install". However, when I build my archetype, Maven (2.2.1)

Re: Moving files around with Maven

2010-08-27 Thread Thiébault Benoît
when I use fromDir, it complains about the missing source element (I'm using the copy goal)... Le 27 août 2010 à 12:48, Antonio Petrelli a écrit : > 2010/8/27 Thiébault Benoît : >> >>org.codehaus.mojo >>

Re: Moving files around with Maven

2010-08-27 Thread Thiébault Benoît
f pulling artifacts from a repo. Here's just > a few: > * Use Maven > * Use the Ant maven tasks > * Use REST calls (if you use Nexus as the repo manager) > * Use Aether > > /Anders > > 2010/8/27 Thiébault Benoît > >> I trie

Re: Moving files around with Maven

2010-08-27 Thread Thiébault Benoît
> 2010/8/27 Thiébault Benoît : >> But now, I have all my jar files in the >> $PROJECT_HOME/Modules/assembly-module/target/assembly-module-1.0-SNAPSHOT-assembly/ >> directory... which is not what I expect. How can I move them to my Felix >> directory (which is not i

Moving files around with Maven

2010-08-27 Thread Thiébault Benoît
Hi everyone, I am developing a multi-module maven application with iPOJO (http://felix.apache.org/site/apache-felix-ipojo.html). Each module produces a jar file that is an OSGi bundle that I then execute within an OSGi container (http://felix.apache.org). What I want to do is to automatically

Re: Setting environment variables in the exec plugin

2010-05-21 Thread Thiébault Benoît
I think I found the answer by myself : I will include the execution directly in the profile, as explained here : http://www.vineetmanohar.com/2009/11/3-ways-to-run-java-main-from-maven/ Le 21 mai 2010 à 08:55, Thiébault Benoît a écrit : > It works ! > Thank you. > > Now my probl

Re: Setting environment variables in the exec plugin

2010-05-20 Thread Thiébault Benoît
t; > [1] > http://maven.apache.org/guides/mini/guide-configuring-plugins.html#Mapping_Maps > > On 5/20/2010 9:48 AM, Thiébault Benoît wrote: >> Hi everyone, >> >> I'm trying to execute a Java program accessing native components, following >> the very good

Re: How do you mavenize projects ? (EJB, Webapp, JPA under Eclipse)

2010-05-20 Thread Thiébault Benoît
Hi Celinio, You should download the book http://repo.exist.com/dist/maestro/1.7.0/BetterBuildsWithMaven.pdf Chapter 8 gives an example of Maven migration Hope this helps Benoît Le 20 mai 2010 à 15:46, Celinio Fernandes a écrit : > Hi, > I am using Eclipse Galileo. > Initially I created several

Setting environment variables in the exec plugin

2010-05-20 Thread Thiébault Benoît
Hi everyone, I'm trying to execute a Java program accessing native components, following the very good blog post http://www.buildanddeploy.com/node/17 I however have a problem setting environment variables within the exec plugin. Here is an extract of my POM : org.codehaus.mojo