Hello Dreier, Maybe I missed something, but I couldn't find this in maven docs or sources.
Nevertheless, it seems to me that you're trying to solve wrong problem. Why do you need this info? Couldn't a workaround with same property but different pom file specific value (one for regular, other for alternative pom file) be applicable in your use case? Kind regards, Stevo. On Wed, May 16, 2012 at 11:24 AM, Dreier Ruediger <[email protected]>wrote: > Hello! > > Is it somehow possible to get the name of the POM file (which might not be > POM.xml if Maven was called with –f) inside a POM file (e.g. as parameter > for other plugins)? > > > Thanks for any help, > > i.A. Rüdiger Dreier > Project Manager > > Bruker Daltonik GmbH > Fahrenheitstr. 4 > 28359 Bremen, Germany > > Phone: +49 421 2205-393 > Fax: +49 421 2205-3005 > > [email protected]<mailto:[email protected]> > www.bruker.com<http://www.bruker.com/> > > > > ________________________________ > Sitz der Gesellschaft / Registered Office Bremen; Handelsregister > Amtsgericht Bremen HRB 8150 / Commercial Register District Court Bremen HRB > 8150; Geschäftsführer / Managing Directors: Gerd Hülso, Sebastian > Meyer-Plath, Stefan Ruge, Ian Sanders, Ph. D., Dr. Michael Schubert > > Haftungsausschluss: Die Bruker Daltonik GmbH ist nicht verantwortlich für > die ordnungsgemäße, vollständige und verzögerungsfreie Übertragung der > Nachricht. Der Inhalt der E-Mail ist nur rechtsverbindlich, wenn er > unsererseits durch einen Brief oder ein Fax entsprechend bestätigt wird. > > Disclaimer: Bruker Daltonik GmbH is not responsible for correct, complete > and timely transmission of this message. The content of this e-mail, > including any attachments, is only legally binding if confirmed by Bruker > Daltonik GmbH by letter or fax >
