jira-importer opened a new issue, #1189:
URL: https://github.com/apache/maven-javadoc-plugin/issues/1189

   **[Armin 
Krezovic](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER304558)**
 opened 
**[MJAVADOC-812](https://issues.apache.org/jira/browse/MJAVADOC-812?redirect=false)**
 and commented
   
   After updating to maven-javadoc-plugin 3.10.0, I am getting empty javadoc 
jars created.
   
   ```java
   [INFO] --- jar:3.4.2:jar (default-jar) @ configuration ---
   [INFO] Building jar: 
C:\path\to\configuration\target\configuration-10.1.0-SNAPSHOT-2409192051.4892c3d.jar
   [INFO]
   [INFO] --- javadoc:3.10.0:jar (attach-javadocs) @ configuration ---
   [WARNING] JAR will be empty - no content was marked for inclusion!
   [INFO] Building jar: 
C:\path\to\configuration\target\configuration-10.1.0-SNAPSHOT-2409192051.4892c3d-javadoc.jar
   [INFO]
   [INFO] --- source:3.3.1:jar-no-fork (attach-sources) @ configuration ---
   [INFO] No sources in project. Archive not created.
   ```
   
    
   
   Prior version, 3.8.0, had no such problem
   
   ```java
   [INFO] --- jar:3.4.2:jar (default-jar) @ configuration ---
   [INFO] Building jar:  
C:\path\to\configuration\target\configuration-10.1.0-SNAPSHOT-2409192102.595f143.jar
   [INFO]
   [INFO] --- javadoc:3.8.0:jar (attach-javadocs) @ configuration ---
   [INFO]
   [INFO] >>> source:3.3.1:jar (attach-sources) > generate-sources @ 
configuration >>>
   ```
   
    
   
   Plugin configuration
   
   ```java
   <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-javadoc-plugin</artifactId>                    
       <version>3.10.0</version>
       <configuration>
          <doclint>all,-missing</doclint>
       </configuration>
       <executions>
          <execution>
             <id>attach-javadocs</id>
             <goals>
                <goal>jar</goal>
             </goals>
          </execution>
       </executions>
   </plugin> 
   ```
   
   
   
   ---
   
   **Affects:** 3.10.0
   
   **Attachments:**
   - 
[maven-javadoc-invocation.log](https://issues.apache.org/jira/secure/attachment/13071690/maven-javadoc-invocation.log)
 (_5.21 kB_)
   
   **Remote Links:**
   - [GitHub Pull Request #320
   ](https://github.com/apache/maven-javadoc-plugin/pull/320)
   


-- 
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