Jeff,
The problem is that the publishDir changes (there is a subdirectory for each individual build). So, I can't hardcode a specific location.
I can get at the Anthill publishDir property that is passed in, but I don't know how to make this override the "host" and "directory" from the maven POM.
The real problem I guess is that the POM entries seem to be immutable, unless you specify a variable like <directory>${myVar}</directory>. However, (as far as I know) you can only set these via System properties on the command line, which I don't know how to do when maven is invoked via Anthill. I've got a separate thread going on this specific question (How can I override the currentversion from the POM).
I'm probably missing something very obvious here, but I don't know what.
Thanks, Chad
Jefferson K. French wrote:
Chad,
I use AnthillOS and Maven, but publish to a different location and have an entry in navigation.xml that points to the Anthill build logs.
Since you can specify the host and directory to which Maven deploys the site, can you not just deploy the site to the Anthill publishDir?
Jeff
On Wed, 28 Jul 2004, at 11:32:25 [GMT -0700] Chad Woolley wrote:
Hi,
Does anyone out there use Anthill Pro with Maven to manage the automatic publishing of their Maven-generated site to the Anthill Intranet?
There seem to be some hardcoded stuff in the maven site:deploy goals which make
this difficult. I have written some postGoal hacks, but they are ugly, and I
don't really want to duplicate them across projects, or go to the trouble of
making a plugin out of them. Is there a simple solution?
I would greatly appreciate it if anyone can share their experience or code samples.
Thanks, Chad
--
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
