You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Giovanni Azua <br...@gmail.com> on 2010/04/05 13:14:00 UTC
maven-javadoc-plugin question
hello,
I have a multi-module project and during build I continuously get the following output:
[INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: xxx
and so it lists each sub-module over and over again and re-executes the javadoc plugin for the same sub-module many times.
Any ideas what's wrong?
TIA,
Best regards,
Giovanni
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven-javadoc-plugin question
Posted by Benson Margulies <bi...@gmail.com>.
I've got a the javadoc plugin in the reporting section of my parent
pom with a reportSet with an id of default and only the javadoc
report, and I still get all the warnings about javadoc not having been
run.
On Mon, Apr 5, 2010 at 2:42 PM, Giovanni Azua <br...@gmail.com> wrote:
> Hello Raphael,
>
> Thank you! It is ok now.
>
> Best regards,
> Giovanni
>
> On Apr 5, 2010, at 2:46 PM, Raphael Ackermann wrote:
>
>> I guess you are not specifying the reports it should run. By default
>> it also runs the aggregate goal which will loop over all the modules.
>> See [1] for info how to only run selected reports.
>>
>> e.g. only use
>> <reportSets>
>> <reportSet>
>> <id>default</id>
>> <configuration>
>> <!-- Specific configuration for the given reports -->
>> ...
>> </configuration>
>> <reports>
>> <report>javadoc</report>
>> <report>test-javadoc</report>
>> </reports>
>> </reportSet>
>>
>>
>> and not <report>aggregate</report>
>>
>> [1] http://maven.apache.org/plugins/maven-javadoc-plugin/examples/selective-javadocs-report.html
>>
>> Raphael
>>
>> On Mon, Apr 5, 2010 at 13:14, Giovanni Azua <br...@gmail.com> wrote:
>>> hello,
>>>
>>> I have a multi-module project and during build I continuously get the following output:
>>> [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: xxx
>>>
>>> and so it lists each sub-module over and over again and re-executes the javadoc plugin for the same sub-module many times.
>>>
>>> Any ideas what's wrong?
>>>
>>> TIA,
>>> Best regards,
>>> Giovanni
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven-javadoc-plugin question
Posted by Giovanni Azua <br...@gmail.com>.
Hello Raphael,
Thank you! It is ok now.
Best regards,
Giovanni
On Apr 5, 2010, at 2:46 PM, Raphael Ackermann wrote:
> I guess you are not specifying the reports it should run. By default
> it also runs the aggregate goal which will loop over all the modules.
> See [1] for info how to only run selected reports.
>
> e.g. only use
> <reportSets>
> <reportSet>
> <id>default</id>
> <configuration>
> <!-- Specific configuration for the given reports -->
> ...
> </configuration>
> <reports>
> <report>javadoc</report>
> <report>test-javadoc</report>
> </reports>
> </reportSet>
>
>
> and not <report>aggregate</report>
>
> [1] http://maven.apache.org/plugins/maven-javadoc-plugin/examples/selective-javadocs-report.html
>
> Raphael
>
> On Mon, Apr 5, 2010 at 13:14, Giovanni Azua <br...@gmail.com> wrote:
>> hello,
>>
>> I have a multi-module project and during build I continuously get the following output:
>> [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: xxx
>>
>> and so it lists each sub-module over and over again and re-executes the javadoc plugin for the same sub-module many times.
>>
>> Any ideas what's wrong?
>>
>> TIA,
>> Best regards,
>> Giovanni
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven-javadoc-plugin question
Posted by Raphael Ackermann <ra...@gmail.com>.
I guess you are not specifying the reports it should run. By default
it also runs the aggregate goal which will loop over all the modules.
See [1] for info how to only run selected reports.
e.g. only use
<reportSets>
<reportSet>
<id>default</id>
<configuration>
<!-- Specific configuration for the given reports -->
...
</configuration>
<reports>
<report>javadoc</report>
<report>test-javadoc</report>
</reports>
</reportSet>
and not <report>aggregate</report>
[1] http://maven.apache.org/plugins/maven-javadoc-plugin/examples/selective-javadocs-report.html
Raphael
On Mon, Apr 5, 2010 at 13:14, Giovanni Azua <br...@gmail.com> wrote:
> hello,
>
> I have a multi-module project and during build I continuously get the following output:
> [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: xxx
>
> and so it lists each sub-module over and over again and re-executes the javadoc plugin for the same sub-module many times.
>
> Any ideas what's wrong?
>
> TIA,
> Best regards,
> Giovanni
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org