I had this issue, and filtered out the module that used the ant-run like:
<profiles>
<profile>
<id>documentation</id>
<modules>
<module>business-services</module>
<module>common-c2</module>
</modules>
</profile>
<profile>
<id>no-documentation</id>
<activation>
<property>
<name>build.type</name>
<value>!documentation</value>
</property>
</activation>
<modules>
<module>bpel</module>
<module>business-services</module>
<module>common-c2</module>
</modules>
</profile>
</profiles>
and I just run mvn -P documentation site:site
On Dec 5, 2007 11:17 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> On Dec 5, 2007 12:01 PM, Erez Nahir <[EMAIL PROTECTED]> wrote:
>
> > I have being trying to ask this question in the past, searched for forum
> and
> > read documentation, but, no answer yet. I'll try again hopefully I will
> get
> > an answer (or maybe just hints) what is going on.
> >
> > So, we have a multi module project with some antrun configuration
> running in
> > some modules during the build.
> > None of the ant tasks is configure to run in the site lifecycle, all are
> > during standard lifecycle.
>
> Without seeing the poms it's really hard to tell. The best thing you
> can do is construct the simplest possible example that demonstrates
> the problem. Often you'll figure it out yourself while doing that,
> but if not, you can zip it up and post a link for someone to look at,
> or attach it to a JIRA issue if it seems like there's bug.
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---