I am not sure what I was thinking while writing this email. I searched
Jira for a bug entry on that and could not find one. I must have mixed
that up with something else. I am sorry for the mis-information
regarding a bug entry.
I tried to re-produce the behavior because I know I had the same problem
at some point. I checked my batch file for scheduling the deploy and it
has the rmdir entry that deletes the target tree before calling mvn
site:deploy.
Using now Maven 2.0.4 I can call mvn site:deploy multiple times and the
site gets copied all the time. So this problem seems to be fixed with
Maven 2.0.4
I am using the file protocol to deploy the site and a Windows mapping.
My pom entry looks like this one
<distributionManagement>
<site>
<id>flst.trunk</id>
<name>FLST Trunk</name>
<url>file://W:/projects/flst-trunk</url>
</site>
</distributionManagement>
Andreas
-----Original Message-----
From: Andreas Guther
Sent: Friday, April 21, 2006 5:55 PM
To: Maven Users List
Subject: RE: site:deploy works once
This is a bug. I have filed a bug report on that a few weeks ago and I
think it is now in work.
My current workaround is a batch file that triggers the site deploy and
prior to that deletes the target folder.
Andreas
-----Original Message-----
From: Vijay Shanker [mailto:[EMAIL PROTECTED]
Sent: Friday, April 21, 2006 3:00 PM
To: [email protected]
Subject: site:deploy works once
Hi Users,
I have following site tag in my pom.xml file:
<distributionManagement>
<site>
<id>wsadserver</id>
<name>web site of project</name>
<url>file:c:/test</url>
</site>
</distributionManagement>
When I run "mvn site:deploy". It works fine, first time but when I run
it 2nd time, it does not work.
If I delete created project directory(created in first run) under
"c:/test", then it works fine again. But if directory is there then it
does not work. I have given all permissions to the directory but still
same problem.
Help will be appreciated.
Thanking you in advance.
Vijay
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]