[
https://issues.apache.org/jira/browse/SLING-10053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17303963#comment-17303963
]
Robert Munteanu commented on SLING-10053:
-----------------------------------------
This is becoming more important as the plug-in does not work out-of-the-box
with Java 16. Building the Starter project with
{noformat}Apache Maven 3.6.3 (SUSE 3.6.3-2.7)
Maven home: /usr/share/maven
Java version: 16, vendor: Oracle Corporation, runtime: /opt/jdk-16
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.11.4-1-default", arch: "amd64", family:
"unix"{noformat}
fails with
{noformat}[ERROR] Failed to execute goal
org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files
(verify-legal-files) on project org.apache.sling.starter: Execution
verify-legal-files of goal
org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files failed:
Unable to make private java.io.File(java.lang.String,java.io.File) accessible:
module java.base does not "opens java.io" to unnamed module @1d064935 -> [Help
1]{noformat}
> Replace Ianal Maven Plugin
> --------------------------
>
> Key: SLING-10053
> URL: https://issues.apache.org/jira/browse/SLING-10053
> Project: Sling
> Issue Type: Improvement
> Components: General
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: Parent 42
>
>
> The ianal-maven-plugin only had a single pre-release in 2008
> (https://www.mojohaus.org/plugins.html). Since then there were no follow-up
> releases and the source code has not been migrated to GitHub.
> Using the plugin leads to warning with Java 11 due to usage of an old version
> of Groovy.
> Other alternatives should be evaluated. This has been discussed in
> https://lists.apache.org/thread.html/rd7a164cced307aba249dd2ba30d1e7d95db332658fe8b90c4e7d730b%40%3Cdev.sling.apache.org%3E
> as well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)