rzo1 commented on PR #410:
URL: https://github.com/apache/opennlp-sandbox/pull/410#issuecomment-3738045831

   Looks like parent pom assumes java 8 and level is not set in sandbox.
   ```
   Error:  Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.12.0:jar (create-javadoc-jar) 
on project modelbuilder-addon: MavenReportException: Error while generating 
Javadoc: 
   Error:  Exit code: 1
   Error:  
/Users/runner/work/opennlp-sandbox/opennlp-sandbox/modelbuilder-addon/src/main/java/opennlp/addons/modelbuilder/impls/BaseModelBuilderParams.java:24:
 error: records are not supported in -source 8
   Error:  public record BaseModelBuilderParams (File sentenceFile, File 
knownEntitiesFile, File knownEntitiesBlacklist,
   Error:         ^
   Error:    (use -source 16 or higher to enable records)
   Error: [ERROR] 1 error
   Error:  Command line was: 
/Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.9-10.0/arm64/Contents/Home/bin/javadoc
 -J-Duser.language= -J-Duser.country= @options @argfile
   Error:  
   Error:  Refer to the generated Javadoc files in 
'/Users/runner/work/opennlp-sandbox/opennlp-sandbox/modelbuilder-addon/target/reports/apidocs'
 dir.
   Error:  
   Error:  -> [Help 1]
   Error:  
   Error:  To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   Error:  Re-run Maven using the -X switch to enable full debug logging.
   Error:  
   Error:  For more information about the errors and possible solutions, please 
read the following articles:
   Error:  [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   Error:  
   Error:  After correcting the problems, you can resume the build with the 
command
   Error:    mvn <args> -rf :modelbuilder-addon
   Error: Process completed with exit code 1.
   ```


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