Re: How to run plugins in other than the pom.xml dir

2006-10-04 Thread kovalen pechaycaren
Maybe I didn't explained my problem clearly... In fact the "@requiresProject false" solve the issue. thanks Guys

Re: How to run plugins in other than the pom.xml dir

2006-10-04 Thread Philippe Faes
On Wed, 2006-10-04 at 00:08 +0400, kovalen pechaycaren wrote: > Hello, > I have developed some maven2 plugins and to run them I should be in the > directory of the pom.xml file. Is there a way of running my plugin anywhere > (like for e.g mvn archetype:create)? > > Thanks I think that should work

Re: How to run plugins in other than the pom.xml dir

2006-10-04 Thread Kenney Westerhof
Hi, No, it's not possible AFAIK: Java doesn't have the notion of a 'current directory' or 'working directory'; you can only find out the directory that java started from, and it cannot be changed (like chdir(2) @ man-pages). (Btw, I'f I'm wrong I sure want to know about it! :)) All plugins ho

How to run plugins in other than the pom.xml dir

2006-10-03 Thread kovalen pechaycaren
Hello, I have developed some maven2 plugins and to run them I should be in the directory of the pom.xml file. Is there a way of running my plugin anywhere (like for e.g mvn archetype:create)? Thanks -- Kovalen