SV: "mvn site" triggers generate-sources

2009-03-04 Thread Daniel.Q.Pfeifer
Naturally... I had a hunch that it would be like that... Thanks a bunch for 
your help.

-Ursprungligt meddelande-
Från: Wayne Fay [mailto:wayne...@gmail.com] 
Skickat: den 3 mars 2009 19:46
Till: Maven Users List
Ämne: Re: "mvn site" triggers generate-sources

> That works just fine, the problem is, the very same phase is executed
> when I do generate the Project Site using "mvn site". Thus, the task
> bound to "generate-sources" is triggered several times for every site
> thats built.

My best guess without seeing your poms and knowing more about your
project is that you are probably using some plugins (PMD, etc) that
want to use/analyze the source code to include a report in the
generation of the site, and they are causing generate-sources to be
executed.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: "mvn site" triggers generate-sources

2009-03-03 Thread Wayne Fay
> That works just fine, the problem is, the very same phase is executed
> when I do generate the Project Site using "mvn site". Thus, the task
> bound to "generate-sources" is triggered several times for every site
> thats built.

My best guess without seeing your poms and knowing more about your
project is that you are probably using some plugins (PMD, etc) that
want to use/analyze the source code to include a report in the
generation of the site, and they are causing generate-sources to be
executed.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



"mvn site" triggers generate-sources

2009-03-03 Thread Daniel.Q.Pfeifer
Hi,

I was wondering if any of you guys encountered the same problem.

I am generating some source code using an ANT Task, the task is
triggered when the Maven lifecycle reaches the "generate-sources" phase.

That works just fine, the problem is, the very same phase is executed
when I do generate the Project Site using "mvn site". Thus, the task
bound to "generate-sources" is triggered several times for every site
thats built.

Any smart ideas, because I don't seem to find the solution to this.

Thanks in advance,
/Daniel

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org