[jira] [Created] (ARCHETYPE-634) WARNING: An illegal reflective access operation has occurred

2022-12-12 Thread Christophe Marchand (Jira)
Christophe Marchand created ARCHETYPE-634:
-

 Summary: WARNING: An illegal reflective access operation has 
occurred
 Key: ARCHETYPE-634
 URL: https://issues.apache.org/jira/browse/ARCHETYPE-634
 Project: Maven Archetype
  Issue Type: Improvement
  Components: Plugin
Affects Versions: 3.2.1
 Environment: MacOS / JDK11
Reporter: Christophe Marchand


Having an archetype with a {{archetype-post-generate.groovy}} file inside, when 
generating a new project with JDK11, I get a WARNING :

{{[*INFO*] Executing META-INF/archetype-post-generate.groovy post-generation 
script}}

{{WARNING: An illegal reflective access operation has occurred}}

{{WARNING: Illegal reflective access by 
org.codehaus.groovy.reflection.CachedClass 
(file:.../.m2/repository/org/codehaus/groovy/groovy-all/2.4.16/groovy-all-2.4.16.jar)
 to method java.lang.Object.finalize()}}

{{WARNING: Please consider reporting this to the maintainers of 
org.codehaus.groovy.reflection.CachedClass}}

{{{}WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations{}}}{{{}WARNING: All illegal access operations will 
be denied in a future release{}}}

{{Components :}}
{{08:50 $ mvn -version}}
{{Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)}}
{{Maven home: /Users/cmarchand/applications/apache-maven-3.8.4}}
{{{}Java version: 11.0.4, vendor: AdoptOpenJDK, 
runtime:{}}}{{{}/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home{}}}
{{Default locale: fr_FR, platform encoding: UTF-8}}
{{OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"}}
{{08:51 $ java -version}}
{{openjdk version "11.0.4" 2019-07-16}}
{{OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.4+11)}}
{{OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)}}

 

{{Problem comes probably from groovy-all dependency, which is quite old 
(2.4.16), and should be upgraded to a more recent one (4.0.6 is available)}}



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


[jira] [Commented] (MASSEMBLY-829) fileMode on a dependencySet with unpack does not work

2016-09-22 Thread Christophe Marchand (JIRA)

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

Christophe Marchand commented on MASSEMBLY-829:
---

Work also for me with 3.0.0-SNAPSHOT.
Any idea of an ETA (Estimated Time of Arrival) of 3.0.0 ?

> fileMode on a dependencySet with unpack does not work
> -
>
> Key: MASSEMBLY-829
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-829
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>  Components: dependencySet
>Affects Versions: 2.6
> Environment: linux
>Reporter: Christophe Marchand
>Priority: Blocker
> Attachments: bug-maven-assembly-plugin.tar.gz
>
>
> {code:xml}
> 
>   
>   false
>   775
>   
> top.marchand.mvn.bug:assembly-fileMode-shells
>   
>   true
>   
> 
>   META-INF/**
>   META-INF
> 
>   
>   runtime
> 
> {code}
> Files from {{top.marchand.mvn.bug:assembly-fileMode-shells}} should be 
> runnable by everyone, and they are not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MASSEMBLY-829) fileMode on a dependencySet with unpack does not work

2016-09-21 Thread Christophe Marchand (JIRA)

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

Christophe Marchand commented on MASSEMBLY-829:
---

I've tested both, and in both cases, correct permissions are not set.

> fileMode on a dependencySet with unpack does not work
> -
>
> Key: MASSEMBLY-829
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-829
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>  Components: dependencySet
>Affects Versions: 2.6
> Environment: linux
>Reporter: Christophe Marchand
>Priority: Blocker
> Attachments: bug-maven-assembly-plugin.tar.gz
>
>
> {code:xml}
> 
>   
>   false
>   775
>   
> top.marchand.mvn.bug:assembly-fileMode-shells
>   
>   true
>   
> 
>   META-INF/**
>   META-INF
> 
>   
>   runtime
> 
> {code}
> Files from {{top.marchand.mvn.bug:assembly-fileMode-shells}} should be 
> runnable by everyone, and they are not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MASSEMBLY-829) fileMode on a dependencySet with unpack does not work

2016-09-21 Thread Christophe Marchand (JIRA)

 [ 
https://issues.apache.org/jira/browse/MASSEMBLY-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christophe Marchand updated MASSEMBLY-829:
--
Attachment: bug-maven-assembly-plugin.tar.gz

> fileMode on a dependencySet with unpack does not work
> -
>
> Key: MASSEMBLY-829
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-829
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>  Components: dependencySet
>Affects Versions: 2.6
> Environment: linux
>Reporter: Christophe Marchand
>Priority: Blocker
> Attachments: bug-maven-assembly-plugin.tar.gz
>
>
> {code:xml}
> 
>   
>   false
>   775
>   
> top.marchand.mvn.bug:assembly-fileMode-shells
>   
>   true
>   
> 
>   META-INF/**
>   META-INF
> 
>   
>   runtime
> 
> {code}
> Files from {{top.marchand.mvn.bug:assembly-fileMode-shells}} should be 
> runnable by everyone, and they are not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MASSEMBLY-829) fileMode on a dependencySet with unpack does not work

2016-09-21 Thread Christophe Marchand (JIRA)

 [ 
https://issues.apache.org/jira/browse/MASSEMBLY-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christophe Marchand updated MASSEMBLY-829:
--
Attachment: (was: bug-maven-assembly-plugin.tar.gz)

> fileMode on a dependencySet with unpack does not work
> -
>
> Key: MASSEMBLY-829
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-829
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>  Components: dependencySet
>Affects Versions: 2.6
> Environment: linux
>Reporter: Christophe Marchand
>Priority: Blocker
>
> {code:xml}
> 
>   
>   false
>   775
>   
> top.marchand.mvn.bug:assembly-fileMode-shells
>   
>   true
>   
> 
>   META-INF/**
>   META-INF
> 
>   
>   runtime
> 
> {code}
> Files from {{top.marchand.mvn.bug:assembly-fileMode-shells}} should be 
> runnable by everyone, and they are not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MASSEMBLY-829) fileMode on a dependencySet with unpack does not work

2016-09-21 Thread Christophe Marchand (JIRA)

 [ 
https://issues.apache.org/jira/browse/MASSEMBLY-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christophe Marchand updated MASSEMBLY-829:
--
Attachment: bug-maven-assembly-plugin.tar.gz

Unzip archive, and run the {{run-it.sh}}. It builds the project, then extract 
the generated tar.gz, and show file status.

> fileMode on a dependencySet with unpack does not work
> -
>
> Key: MASSEMBLY-829
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-829
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>  Components: dependencySet
>Affects Versions: 2.6
> Environment: linux
>Reporter: Christophe Marchand
>Priority: Blocker
> Attachments: bug-maven-assembly-plugin.tar.gz
>
>
> {code:xml}
> 
>   
>   false
>   775
>   
> top.marchand.mvn.bug:assembly-fileMode-shells
>   
>   true
>   
> 
>   META-INF/**
>   META-INF
> 
>   
>   runtime
> 
> {code}
> Files from {{top.marchand.mvn.bug:assembly-fileMode-shells}} should be 
> runnable by everyone, and they are not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (MASSEMBLY-829) fileMode on a dependencySet with unpack does not work

2016-09-21 Thread Christophe Marchand (JIRA)
Christophe Marchand created MASSEMBLY-829:
-

 Summary: fileMode on a dependencySet with unpack does not work
 Key: MASSEMBLY-829
 URL: https://issues.apache.org/jira/browse/MASSEMBLY-829
 Project: Maven Assembly Plugin
  Issue Type: Bug
  Components: dependencySet
Affects Versions: 2.6
 Environment: linux
Reporter: Christophe Marchand
Priority: Blocker


{code:xml}

  
  false
  775
  
top.marchand.mvn.bug:assembly-fileMode-shells
  
  true
  

  META-INF/**
  META-INF

  
  runtime

{code}

Files from {{top.marchand.mvn.bug:assembly-fileMode-shells}} should be runnable 
by everyone, and they are not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)