[ 
https://issues.apache.org/jira/browse/OPENNLP-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18051213#comment-18051213
 ] 

ASF GitHub Bot commented on OPENNLP-1795:
-----------------------------------------

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




> Move to Apache Parent 36
> ------------------------
>
>                 Key: OPENNLP-1795
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1795
>             Project: OpenNLP
>          Issue Type: Task
>          Components: Build, Packaging and Test
>    Affects Versions: 2.5.7
>            Reporter: Martin Wiesner
>            Assignee: Martin Wiesner
>            Priority: Trivial
>             Fix For: 2.5.8, 3.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to