vinishjail97 opened a new issue, #249:
URL: https://github.com/apache/maven-apache-parent/issues/249

   Hey Apache Maven Team. 
   
   We are seeing an issue in generating java docs when using the latest version 
(33) for apache parent pom. 
   `mvn deploy -Prelease -DskipTests -DdeployArtifacts=true ` fails the 
following error. 
   ```
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.8.0:jar (attach-javadocs) on 
project xtable-api: MavenReportException: Error while generating Javadoc: 
   [ERROR] Exit code: 1
   [ERROR] 
/Users/vinishreddy/helm/configs/incubator-xtable/xtable-api/target/delombok/org/apache/xtable/spi/extractor/ExtractFromSource.java:38:
 error: method references are not supported in -source 7
   [ERROR]     Iterator<TableChange> tableChangeIterator = 
commitsBacklog.getCommitsToProcess().stream().map(conversionSource::getTableChangeForCommit).iterator();
   [ERROR]                                                                      
                                               ^
   [ERROR]   (use -source 8 or higher to enable method references)
   [ERROR] 
/Users/vinishreddy/helm/configs/incubator-xtable/xtable-api/target/delombok/org/apache/xtable/spi/sync/TableFormatSync.java:64:
 error: lambda expressions are not supported in -source 7
   [ERROR]         results.put(conversionTarget.getTableFormat(), 
getSyncResult(conversionTarget, SyncMode.FULL, internalTable, target -> 
target.syncFilesForSnapshot(snapshot.getPartitionedDataFiles()), startTime, 
snapshot.getPendingCommits()));
   ```
   
   But after downgrading to version 31 there's no issue in generating docs, you 
can find the parent pom xml for the project here.
   https://github.com/apache/incubator-xtable/blob/main/pom.xml 
   
   Do you think this is regression in 33 version or some new property needs to 
be set ? 


-- 
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: issues-unsubscr...@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to