I stopped using the URL for parent or master poms. Instead I deploy a
shared pom to our internal respository.
You have to make sure that the using pom defines either the repository
where you deployed the master pom or have it defined in your
settings.xml. Either way you have to provide to maven the location of
your repository.
A using pom's reference in my case would look like the following:
<parent>
<groupId>markettools.pom</groupId>
<artifactId>master-pom</artifactId>
<version>4.0.5</version>
</parent>
Andreas
-----Original Message-----
From: foxcoll [mailto:[EMAIL PROTECTED]
Sent: Monday, September 04, 2006 3:21 PM
To: [email protected]
Subject: super pom filter
I have a pom that has a couple of modules, I would like to post a site
directly to my baseDir or more accurately my top most pom's directory. I
tried something like this in my top most pom:
<distributionManagement>
<site>
<id>test.site</id>
<name>Test Website</name>
<url>file:${baseDir}\website2\${project.version}\</url>
</site>
</distributionManagement>
but ${baseDir} gets redefined with each sub pom. is there something
like a
${top.most.pom.dir}, a ${projecet.dir} filter, or a work-around so all
of
the module's site content end's up in the same place - only using files
inside that directory.
Thanks
Fox
--
View this message in context:
http://www.nabble.com/super-pom-filter-tf2217708.html#a6142939
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]