Hi,

Could I call the pom-javadoc.xml from the main pom.xml?
I am just thinking how we can use this from the build server.



Robert Scholte-4 wrote
> Hi,
> 
> You can't specify this in the pom, but for now it would give you the  
> desired result.
> Since it's not possible with the current version of the javadoc-plugin,  
> other options which I can think of:
> - add a javadoc-profile or create a pom-javadoc.xml where you specify the  
> required modules.
> - reorganize the modules
> 
> I understand that these are all suboptimal solutions, but maybe your rare  
> case needs something like this.
> 
> thanks,
> Robert
> 
> 
> Op Sun, 17 Aug 2014 21:27:37 +0200 schreef robertmvn <

> forums@

> >:
> 
>> Hi,
>>
>> How would you specify this in a pom.xml ?
>>
>>
>> Robert Scholte-4 wrote
>>> Hi,
>>>
>>> Did you try it with the -pl (or --projects) argument?
>>>
>>> Robert
>>>
>>>
>>> Op Sun, 17 Aug 2014 20:13:43 +0200 schreef robertmvn <
>>
>>> forums@
>>
>>> >:
>>>
>>>> Hi,
>>>>
>>>> It's okay if the aggregate report only executes on the root of a
>>>> multi-module build. I just need some option to include only selected
>>>> submodules. Or some other way to include and exclude.
>>>>
>>>>
>>>>
>>>> Hervé BOUTEMY wrote
>>>>> Hi,
>>>>>
>>>>> At the moment, the aggregate javadoc report can only execute on the  
>>>>> root
>>>>> of a
>>>>> multi-module build. This is partly a wanted feature to avoid too much
>>>>> javadoc
>>>>> generation and a workaround against problems with forked lifecycles:  
>>>>> see
>>>>> MJAVADOC-171 [1]
>>>>>
>>>>> So this is simply not possible actually.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Hervé
>>>>>
>>>>> [1] http://jira.codehaus.org/browse/MJAVADOC-171
>>>>>
>>>>> Le dimanche 17 août 2014 03:51:43 robertmvn a écrit :
>>>>>> Hi,
>>>>>>
>>>>>> How do you generate a combined javadoc for a selection of submodules?
>>>>>>
>>>>>> I have added the javadoc plugin with the aggregate goal to the build  
>>>>>> as
>>>>>> specified in
>>>>>> http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html
>>>>>> but it not generates javadocs for all submodules. I want to be more
>>>>>> selective.
>>>>>>
>>>>>> I have tried to set the dependencySourceIncludes or
>>>>>> dependencySourceExcludes
>>>>>> in the configuration, but it doesn't seem to have any effect.
>>>>>>
>>>>>> I tried to look at the report sets, but I don't seem to be able to  
>>>>>> find
>>>>>> any
>>>>>> configuration documentation about them.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://maven.40175.n5.nabble.com/Maven-javadoc-selective-submodules-tp58023
>>>>>> 70.html Sent from the Maven - Users mailing list archive at  
>>>>>> Nabble.com.
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> 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]
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://maven.40175.n5.nabble.com/Maven-javadoc-selective-submodules-tp5802370p5802396.html
>>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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]
>>
>>
>>
>>
>>
>> --
>> View this message in context:  
>> http://maven.40175.n5.nabble.com/Maven-javadoc-selective-submodules-tp5802370p5802398.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> 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]





--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-javadoc-selective-submodules-tp5802370p5802463.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to