Re: Get a list of POMs

2010-12-07 Thread Wendy Smoak
On Mon, Dec 6, 2010 at 9:45 PM, solo1970
sonia.lodoviche...@ericsson.com wrote:
 My question is if there is a way to get a list of POM files from the TOP POM
 in a multimodule project?


You'll get more help if you describe the problem you're trying to
solve rather than asking about a piece of the solution you've arrived
at in isolation.

What are you planning to do with this list?  (And what are you looking
for, a list of the full paths to the pom files?  A list of module
names? Artifact ids?)

-- 
Wendy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Get a list of POMs

2010-12-07 Thread solo1970

Sorry about being unclear

What I need is either the absolute or relative path to the pom files.
The reason why I need this is because we are using clearcase and we would
like to use the funtionality of the versions plugin, but we need to
check-out all of the pom files of our project first.

Hope this is more clear...

Sonia
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Get-a-list-of-POMs-tp3295200p3295992.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: Get a list of POMs

2010-12-07 Thread Haszlakiewicz, Eric
-Original Message-
From: solo1970 [mailto:sonia.lodoviche...@ericsson.com]

Sorry about being unclear

What I need is either the absolute or relative path to the pom files.
The reason why I need this is because we are using clearcase and we would
like to use the funtionality of the versions plugin, but we need to
check-out all of the pom files of our project first.

That sounds like you just need to parse the pom.xml file and get the 
/project/modules/module elements.  

Something like mvn -q help:evaluate -Dexpression=project.modules might make 
that easier, but it doesn't work.  (-q turns off all output, but without it 
maven displays lots of other stuff)

eric

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Get a list of POMs

2010-12-07 Thread Christopher Hunt
If you're in a Maven plugin then resolving the project path is easy... are you 
in a plugin or are you trying to do this from the command line etc. As Wendy 
stated, please cite your requirement in goal terms and then I'm sure the list 
will be of greater utility to you.

Kind regards,
Christopher

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Get a list of POMs

2010-12-06 Thread solo1970

Hello,

My question is if there is a way to get a list of POM files from the TOP POM
in a multimodule project?

Thanks

Sonia
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Get-a-list-of-POMs-tp3295200p3295200.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org