Hello! Thanks a lot! It works!
Kind regards, Ruediger > -----Original Message----- > From: Stevo Slavić [mailto:[email protected]] > Sent: Friday, May 18, 2012 14:59 > To: Maven Users List > Subject: Re: Getting name of POM file? > > Thanks Stephen, > > So in pom.xml one can reference it using ${project.file} > > That property is listed on > http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide but > in one of the user comments. Comment points to maven 2 resource as > reference to where the info was found, here is link to equivalent file in > Maven 3 > sources: > > http://svn.apache.org/viewvc/maven/maven-3/trunk/maven- > compat/src/main/resources/META-INF/maven/plugin- > expressions/project.paramdoc.xml?view=markup > > Kind regards, > Stevo. > > 2012/5/18 Stephen Connolly <[email protected]> > > > MavenProject.getFile() > > > > On Wednesday, 16 May 2012, Dreier Ruediger 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] > > > <javascript:;><mailto:[email protected] > > <javascript:;> > > > > > > > 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 > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
