Is it possible to disable the site for distributions?

2004-11-17 Thread Michael MATTOX

Is it possible to disable the site for distributions?  So far I manually
edit the maven.xml file to add a site goal which does nothing, but this
isn't very clean.  It'd be great if I could pass a property saying
site.enabled=true/false.  I have searched the maven site & dist plugins but
don't see anything.  Can I do something custom in the maven.xml?

Regards,
Michael Mattox



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [SPAM] - Is it possible to disable the site for distributions? - Found word(s) free guaranteed in the Text body.

2004-11-17 Thread Michael Mattox
> AFAIK, the dist plugin has a pregoal on the site:generate goal so
> it will be launched anyway. What you can do is write a postGoal
> that removes the content of the web site juste before the zip/tgz
> are made.

I don't mind it being in the zip, I want to disable it to save time.
Generating the sites takes a long time due to all the reports.

> Another solution is to customize the dist plugin for your need
> (see ~/.maven/cache).

Not a bad idea.  I think the best is to add a property "generate.site".
I'll create a JIRA issue if there are no other ideas..

Thanks,
Michael





--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [SPAM] - Is it possible to disable the site for distributions? - Found word(s) free guaranteed in the Text body.

2004-11-17 Thread Stéphane Nicoll
AFAIK, the dist plugin has a pregoal on the site:generate goal so it will be 
launched anyway. What you can do is write a postGoal that removes the content 
of the web site juste before the zip/tgz are made.

Another solution is to customize the dist plugin for your need (see 
~/.maven/cache).

Cheers,
Stéphane

-Original Message-
From: Michael Mattox [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 2:17 PM
To: Maven-users
Subject: [SPAM] - Is it possible to disable the site for distributions? - Found 
word(s) free guaranteed in the Text body.


Is it possible to disable the site for distributions?  So far I manually edit 
the maven.xml file to add a site goal which does nothing, but this isn't very 
clean.  It'd be great if I could pass a property saying 
site.enabled=true/false.  I have searched the maven site & dist plugins but 
don't see anything.  Can I do something custom in the maven.xml?

Regards,
Michael Mattox



--
This E-mail is confidential.  It may also be legally privileged.  If you are 
not the addressee you may not copy, forward, disclose or use any part of it. If 
you have received this message in error, please delete it and all copies from 
your system and notify the sender immediately by return E-mail. Internet 
communications cannot be guaranteed to be timely, secure, error or virus-free.  
The sender does not accept liability for any errors or omissions.


-
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]



Is it possible to disable the site for distributions?

2004-11-17 Thread Michael Mattox
Is it possible to disable the site for distributions?  So far I manually
edit the maven.xml file to add a site goal which does nothing, but this
isn't very clean.  It'd be great if I could pass a property saying
site.enabled=true/false.  I have searched the maven site & dist plugins but
don't see anything.  Can I do something custom in the maven.xml?

Regards,
Michael Mattox



--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]