-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I think there should already be a JIRA issue for it...it was assigned to
me at one point. :) It's the one about project.getParent().getBasedir()
being the same as project.getBasedir() I think...
- -john
Brett Porter wrote:
| I've filed MNG-805 to look into this.
|
| - Brett
|
| On 8/30/05, Trygve Laugstøl <[EMAIL PROTECTED]> wrote:
|
|>On Tue, Aug 30, 2005 at 01:59:52AM +0200, [EMAIL PROTECTED]:
|>
|>>Hei,
|>>
|>>I have recognised that the evaluation of ${basedir} has changed from my
|>>Maven2 build on 23.august to the one I downloaded and built on 29.august
|>
|>.
|>
|>>Building with Maven2 of 23.august would give the value of the actual
|>>directory where the POM is situated also when this POM is deep down in a
|>>hierarchy of POMs. But now I see that ${basedir} evaluates to the
|>>directory of the highest POM that is run in the hierarchy.
|>
|>I think this is a known bug.
|>
|>
|>>A plugin configuration in the POM in directory
|>>"C:\work\nims\main\j2ee\incatel-nims\nims-webservice\nims-webclient-dto"
|>>is like this:
|>>
|>><configuration>
|>><output>${basedir}/src/main/java</output>
|>></configuration>
|>
|>The ${basedir} prefix should not be required here if the output parameter
|>is of type File as it should be. Maven should build the proper path for
|>you in the constructed File object.
|>
|>[snip]
|>
|>--
|>Trygve
|>
|>
|>-----BEGIN PGP SIGNATURE-----
|>Version: GnuPG v1.4.1 (GNU/Linux)
|>
|>iD8DBQFDE6zY4EbM92cyCUURArb8AKCxNUmSqqWHWKaAN9HLNUtrd7G6BgCguvSF
|>yIxBDOqHYElAsj/w32PcKQ8=
|>=eUYu
|>-----END PGP SIGNATURE-----
|>
|>
|>
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFDFAxmK3h2CZwO/4URAtwgAKCwCJZK6vwu3nKdCc1tsnTXvJToBQCZAdiI
Ui5baxajOHwEoJ+TrTfEE58=
=BvgP
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]