jira-importer commented on issue #833:
URL: 
https://github.com/apache/maven-javadoc-plugin/issues/833#issuecomment-2957356414

   **[Michal 
Safr](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=safrmich)** 
commented
   
   Well, I'm not sure about the right terminology but our parent pom.xml lists 
all the modules. I've got my maven-javadoc-plugin configuration in the parent 
pom and run it using
    
   
   ```java
   mvn javadoc:javadoc -pl :parent-aggregator 
   ```
   
   It seems that maven javadoc plugin doesn't support combining subpackages and 
sourcefiles 
    
   
   ```java
   <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-javadoc-plugin</artifactId>
     <version>3.0.1</version>
     <configuration>
         <subpackages>com.packageA</subpackages>
         <sourcepath>moduleA/src/main/java</sourcepath>
         <sourceFileIncludes>
             
<include>moduleB/src/main/java/com/packageB/SomeClass.java</include>
         </sourceFileIncludes>
     </configuration>
   </plugin>
   ```
   
   The maven javadoc plugin says for the above that sourceFileIncludes is not 
used when subpackages is used but javadoc itself supports combining them.
   
    
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to