[jira] [Commented] (MSHADE-382) Add an option to skip execution
[ https://issues.apache.org/jira/browse/MSHADE-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17324073#comment-17324073 ] Andres Almiray commented on MSHADE-382: --- The POM is generated using [https://micronaut.io/launch/] and looks like this {code:java} http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;> 4.0.0 com.example demo 0.1 ${packaging} io.micronaut micronaut-parent 2.4.2 jar 11 11 2.4.2 com.example.Application netty central https://repo.maven.apache.org/maven2 io.micronaut micronaut-inject compile io.micronaut micronaut-validation compile io.micronaut micronaut-http-server-netty compile ch.qos.logback logback-classic runtime org.junit.jupiter junit-jupiter-api test org.junit.jupiter junit-jupiter-engine test io.micronaut.test micronaut-test-junit5 test io.micronaut micronaut-http-client compile io.micronaut micronaut-runtime compile javax.annotation javax.annotation-api compile io.micronaut.build micronaut-maven-plugin org.apache.maven.plugins maven-compiler-plugin -Amicronaut.processing.group=com.example -Amicronaut.processing.module=demo {code} You'll notice that the shade plugin does not appear on it, and as you mentioned it's managed in the parent. The micronaut-maven-plugin provides its own lifecycle [https://github.com/micronaut-projects/micronaut-maven-plugin/blob/a62b17d1c9fbf34c5a653fd374ff7087a1b0e65f/src/main/resources/META-INF/plexus/components.xml] Which activates the shade plugin during the `package` phase. Now, my use case requires a plain modular JAR with no shaded dependencies. My workaround was to alter the shade configuration so that the shaded JAR does not overwrite the original JAR {code:java} org.apache.maven.plugins maven-shade-plugin ${maven-shade-plugin.version} default-shade true all false ${exec.mainClass} {code} It would be much better for me if I could simply skip shading completely. Clearly the Micronaut team believes that offering an opinionated build out-of-the-box is what will give the best possible experience to those developers that may not be so familiar with the Maven lifecycle, after all they just have to configure one plugin (micronaut-maven-plugin) and 1 parent (micronaut-parent) and they get lots of behavior "for free". > Add an option to skip execution > --- > > Key: MSHADE-382 > URL: https://issues.apache.org/jira/browse/MSHADE-382 > Project: Maven Shade Plugin > Issue Type: Improvement >Affects Versions: 3.2.4 >Reporter: Andres Almiray >Priority: Major > > It'd be great to have a property for skipping execution, such as > `maven.shade.skip`. Useful when a parent has setup shading but a child would > like to skip it for example. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MSHADE-382) Add an option to skip execution
[ https://issues.apache.org/jira/browse/MSHADE-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17324052#comment-17324052 ] Andres Almiray commented on MSHADE-382: --- Here it is, the micronaut-parent-2.4.0 https://repo1.maven.org/maven2/io/micronaut/micronaut-parent/2.4.0/micronaut-parent-2.4.0.pom > Add an option to skip execution > --- > > Key: MSHADE-382 > URL: https://issues.apache.org/jira/browse/MSHADE-382 > Project: Maven Shade Plugin > Issue Type: Improvement >Affects Versions: 3.2.4 >Reporter: Andres Almiray >Priority: Major > > It'd be great to have a property for skipping execution, such as > `maven.shade.skip`. Useful when a parent has setup shading but a child would > like to skip it for example. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Comment Edited] (MSHADE-382) Add an option to skip execution
[ https://issues.apache.org/jira/browse/MSHADE-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17324049#comment-17324049 ] Andres Almiray edited comment on MSHADE-382 at 4/16/21, 8:03 PM: - The reasoning behind this property is this: A project (under my control) consumes a parent pom (outside of my control) where the shade plugin is defined, configured, and applied. This means my project has no say in this regard. The parent project also adds more behavior and dependencies that I really need thus starting from scratch without the parent pom does not look so good, specially if newer versions update the behavior. If I sever my project from the parent and copy the behavior from the parent I have effectively forked the parent and now have to keep the parent in sync with upstream. The alternative to keep the parent in place and skip shading on the child is to explicitly define the shade plugin and try to come with a configuration that can cover the use case that I need. This is code under my control. The better alternative is to convince the team in the upstream parent to change the shading configuration so that it becomes optional or its added via profiles. That can take more time to be realized, if at all. If they change their parent pom then I can update my pom. If they do not then I'm still stuck. This property lets me unstuck myself by as long as the updated shade-plugin version is set in was (Author: aalmiray): The reasoning behind this property is this: A project (under my control) consumes a parent pom (outside of my control) where the shade plugin is defined, configured, and applied. This means my project has no say in this regard. The parent project also adds more behavior and dependencies that I really need thus starting from scratch without the parent pom does not look so good, specially if newer versions update the behavior. If I sever my project from the parent and copy the behavior from the parent I have effectively forked the parent and now have to keep the parent in sync with upstream. The alternative to keep the parent in place and skip shading on the child is to explicitly define the shade plugin and try to come with a configuration that can cover the use case that I need. This is code under my control. The better alternative is to convince the team in the upstream parent to put the change the shading configuration so that it becomes optional or its added via profiles. That can take more time to be realized. > Add an option to skip execution > --- > > Key: MSHADE-382 > URL: https://issues.apache.org/jira/browse/MSHADE-382 > Project: Maven Shade Plugin > Issue Type: Improvement >Affects Versions: 3.2.4 >Reporter: Andres Almiray >Priority: Major > > It'd be great to have a property for skipping execution, such as > `maven.shade.skip`. Useful when a parent has setup shading but a child would > like to skip it for example. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MSHADE-382) Add an option to skip execution
[ https://issues.apache.org/jira/browse/MSHADE-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17324049#comment-17324049 ] Andres Almiray commented on MSHADE-382: --- The reasoning behind this property is this: A project (under my control) consumes a parent pom (outside of my control) where the shade plugin is defined, configured, and applied. This means my project has no say in this regard. The parent project also adds more behavior and dependencies that I really need thus starting from scratch without the parent pom does not look so good, specially if newer versions update the behavior. If I sever my project from the parent and copy the behavior from the parent I have effectively forked the parent and now have to keep the parent in sync with upstream. The alternative to keep the parent in place and skip shading on the child is to explicitly define the shade plugin and try to come with a configuration that can cover the use case that I need. This is code under my control. The better alternative is to convince the team in the upstream parent to put the change the shading configuration so that it becomes optional or its added via profiles. That can take more time to be realized. > Add an option to skip execution > --- > > Key: MSHADE-382 > URL: https://issues.apache.org/jira/browse/MSHADE-382 > Project: Maven Shade Plugin > Issue Type: Improvement >Affects Versions: 3.2.4 >Reporter: Andres Almiray >Priority: Major > > It'd be great to have a property for skipping execution, such as > `maven.shade.skip`. Useful when a parent has setup shading but a child would > like to skip it for example. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MSHADE-383) Exception when ComponentsXmlResourceTransformer is used
[ https://issues.apache.org/jira/browse/MSHADE-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17287651#comment-17287651 ] Andres Almiray commented on MSHADE-383: --- I totally missed the duplicate `` element. This is not a bug. Feel free to close this issue, I apologize for the noise. > Exception when ComponentsXmlResourceTransformer is used > --- > > Key: MSHADE-383 > URL: https://issues.apache.org/jira/browse/MSHADE-383 > Project: Maven Shade Plugin > Issue Type: Bug > Environment: Apache Maven 3.6.3 > (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: > /Users/aalmiray/.m2/wrapper/dists/apache-maven-3.6.3-bin/1iopthnavndlasol9gbrbg6bf2/apache-maven-3.6.3 > Java version: 11.0.10, vendor: Azul Systems, Inc., runtime: > /Users/aalmiray/.sdkman/candidates/java/11.0.10-zulu/zulu-11.jdk/Contents/Home > Default locale: en_US, platform encoding: UTF-8 > OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac" >Reporter: Andres Almiray >Priority: Trivial > > I'm getting an exception when shading with ComponentsXmlResourceTransformer > configured as > {code:java} > > > org.apache.maven.plugins > maven-shade-plugin > 3.2.4 > > > package > > shade > > > > > implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer"/> > > > > > > > > > {code} > The exception can be reproduced with `3.2.4` and `3.2.3`. > Full exception follows > {code:java} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default) on project > pomchecker-toolprovider: Unable to parse configuration of mojo > org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade for parameter > transformers: Cannot create instance of interface > org.apache.maven.plugins.shade.resource.ResourceTransformer: > org.apache.maven.plugins.shade.resource.ResourceTransformer.() -> [Help > 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default) on > project pomchecker-toolprovider: Unable to parse configuration of mojo > org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade for parameter > transformers: Cannot create instance of interface > org.apache.maven.plugins.shade.resource.ResourceTransformer > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:566) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at
[jira] [Updated] (MSHADE-383) Exception when ComponentsXmlResourceTransformer is used
[ https://issues.apache.org/jira/browse/MSHADE-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andres Almiray updated MSHADE-383: -- Affects Version/s: (was: 3.2.4) Issue Type: Bug (was: Improvement) Priority: Trivial (was: Major) > Exception when ComponentsXmlResourceTransformer is used > --- > > Key: MSHADE-383 > URL: https://issues.apache.org/jira/browse/MSHADE-383 > Project: Maven Shade Plugin > Issue Type: Bug > Environment: Apache Maven 3.6.3 > (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: > /Users/aalmiray/.m2/wrapper/dists/apache-maven-3.6.3-bin/1iopthnavndlasol9gbrbg6bf2/apache-maven-3.6.3 > Java version: 11.0.10, vendor: Azul Systems, Inc., runtime: > /Users/aalmiray/.sdkman/candidates/java/11.0.10-zulu/zulu-11.jdk/Contents/Home > Default locale: en_US, platform encoding: UTF-8 > OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac" >Reporter: Andres Almiray >Priority: Trivial > > I'm getting an exception when shading with ComponentsXmlResourceTransformer > configured as > {code:java} > > > org.apache.maven.plugins > maven-shade-plugin > 3.2.4 > > > package > > shade > > > > > implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer"/> > > > > > > > > > {code} > The exception can be reproduced with `3.2.4` and `3.2.3`. > Full exception follows > {code:java} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default) on project > pomchecker-toolprovider: Unable to parse configuration of mojo > org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade for parameter > transformers: Cannot create instance of interface > org.apache.maven.plugins.shade.resource.ResourceTransformer: > org.apache.maven.plugins.shade.resource.ResourceTransformer.() -> [Help > 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default) on > project pomchecker-toolprovider: Unable to parse configuration of mojo > org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade for parameter > transformers: Cannot create instance of interface > org.apache.maven.plugins.shade.resource.ResourceTransformer > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:566) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke >
[jira] [Created] (MSHADE-383) Exception when ComponentsXmlResourceTransformer is used
Andres Almiray created MSHADE-383: - Summary: Exception when ComponentsXmlResourceTransformer is used Key: MSHADE-383 URL: https://issues.apache.org/jira/browse/MSHADE-383 Project: Maven Shade Plugin Issue Type: Improvement Affects Versions: 3.2.4 Environment: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /Users/aalmiray/.m2/wrapper/dists/apache-maven-3.6.3-bin/1iopthnavndlasol9gbrbg6bf2/apache-maven-3.6.3 Java version: 11.0.10, vendor: Azul Systems, Inc., runtime: /Users/aalmiray/.sdkman/candidates/java/11.0.10-zulu/zulu-11.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac" Reporter: Andres Almiray I'm getting an exception when shading with ComponentsXmlResourceTransformer configured as {code:java} org.apache.maven.plugins maven-shade-plugin 3.2.4 package shade {code} The exception can be reproduced with `3.2.4` and `3.2.3`. Full exception follows {code:java} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default) on project pomchecker-toolprovider: Unable to parse configuration of mojo org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade for parameter transformers: Cannot create instance of interface org.apache.maven.plugins.shade.resource.ResourceTransformer: org.apache.maven.plugins.shade.resource.ResourceTransformer.() -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default) on project pomchecker-toolprovider: Unable to parse configuration of mojo org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade for parameter transformers: Cannot create instance of interface org.apache.maven.plugins.shade.resource.ResourceTransformer at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39) at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122) at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61) Caused by: org.apache.maven.plugin.PluginConfigurationException: Unable to parse configuration of mojo
[jira] [Created] (MSHADE-382) Add an option to skip execution
Andres Almiray created MSHADE-382: - Summary: Add an option to skip execution Key: MSHADE-382 URL: https://issues.apache.org/jira/browse/MSHADE-382 Project: Maven Shade Plugin Issue Type: Improvement Affects Versions: 3.2.4 Reporter: Andres Almiray It'd be great to have a property for skipping execution, such as `maven.shade.skip`. Useful when a parent has setup shading but a child would like to skip it for example. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (MJLINK-60) Website still shows PRE-RELEASE watermark
Andres Almiray created MJLINK-60: Summary: Website still shows PRE-RELEASE watermark Key: MJLINK-60 URL: https://issues.apache.org/jira/browse/MJLINK-60 Project: Maven JLink Plugin Issue Type: Task Affects Versions: 3.0.0 Reporter: Andres Almiray Now that version `3.0.0` is out it would be a good idea to take out the PRE-RELEASE watermark found in the background of the project's documentation site. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MJLINK-42) NullPointerException when running jlink:jlink
[ https://issues.apache.org/jira/browse/MJLINK-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17222498#comment-17222498 ] Andres Almiray commented on MJLINK-42: -- MCVE available at https://github.com/aalmiray/jlink-mvn-mcve > NullPointerException when running jlink:jlink > - > > Key: MJLINK-42 > URL: https://issues.apache.org/jira/browse/MJLINK-42 > Project: Maven JLink Plugin > Issue Type: Bug >Affects Versions: 3.0.0-alpha-1 > Environment: macOS 10.14.6 > openjdk version "11.0.4" 2019-07-16 LTS > OpenJDK Runtime Environment Zulu11.33+15-CA (build 11.0.4+11-LTS) > OpenJDK 64-Bit Server VM Zulu11.33+15-CA (build 11.0.4+11-LTS, mixed mode) >Reporter: Dominique Gunia >Priority: Major > > Hi! > I am getting a NullPointerException when running jlink:jlink: > {code:java} > Execution default-cli of goal > org.apache.maven.plugins:maven-jlink-plugin:3.0.0-alpha-1:jlink failed. > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-cli of goal > org.apache.maven.plugins:maven-jlink-plugin:3.0.0-alpha-1:jlink failed. > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 19 more > Caused by: java.lang.NullPointerException > at > org.codehaus.plexus.languages.java.jpms.ResolvePathsRequest$1.toPath(ResolvePathsRequest.java:52) > at > org.codehaus.plexus.languages.java.jpms.ResolvePathsRequest$1.toPath(ResolvePathsRequest.java:48) > at > org.codehaus.plexus.languages.java.jpms.LocationManager.resolvePaths(LocationManager.java:109) > at org.apache.maven.plugins.jlink.JLinkMojo.preparePaths(JLinkMojo.java:347) > at org.apache.maven.plugins.jlink.JLinkMojo.execute(JLinkMojo.java:264) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) > ... 20 more > {code} > Is this a known problem? How can it be fixed? > Thank you very much! :) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Comment Edited] (MJLINK-40) Add support for --include-locales option
[ https://issues.apache.org/jira/browse/MJLINK-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17222461#comment-17222461 ] Andres Almiray edited comment on MJLINK-40 at 10/28/20, 8:56 PM: - Thank you Benjamin. For reference these are the plugins listed in JDK 11.0.8 (Zulu) {code:java} $ jlink --list-pluginsList of available plugins: Plugin Name: add-options Option: --add-options= Description: Prepend the specified string, which may include whitespace, before any other options when invoking the virtual machine in the resulting image. Plugin Name: compress Option: --compress=<0|1|2>[:filter=] Description: Compress all resources in the output image. Level 0: No compression Level 1: Constant string sharing Level 2: ZIP. An optional filter can be specified to list the pattern of files to be included. Plugin Name: dedup-legal-notices Option: --dedup-legal-notices=[error-if-not-same-content] Description: De-duplicate all legal notices. If error-if-not-same-content is specified then it will be an error if two files of the same filename are different. Plugin Name: exclude-files Option: --exclude-files= of files to exclude Description: Specify files to exclude. e.g.: **.java,glob:/java.base/lib/client/** Plugin Name: exclude-jmod-section Option: --exclude-jmod-section= where is "man" or "headers". Description: Specify a JMOD section to exclude Plugin Name: exclude-resources Option: --exclude-resources= resources to exclude Description: Specify resources to exclude. e.g.: **.jcov,glob:**/META-INF/** Plugin Name: generate-jli-classes Option: --generate-jli-classes=@filename Description: Specify a file listing the java.lang.invoke classes to pre-generate. By default, this plugin may use a builtin list of classes to pre-generate. If this plugin runs on a different runtime version than the image being created then code generation will be disabled by default to guarantee correctness - add ignore-version=true to override this. Plugin Name: include-locales Option: --include-locales=[,]* Description: BCP 47 language tags separated by a comma, allowing locale matching defined in RFC 4647. e.g.: en,ja,*-IN Plugin Name: order-resources Option: --order-resources= of paths in priority order. If a @file is specified, then each line should be an exact match for the path to be ordered Description: Order resources. e.g.: **/module-info.class,@classlist,/java.base/java/lang/** Plugin Name: release-info Option: --release-info=|add:=:=:...|del: Description: option is to load release properties from the supplied file. add: is to add properties to the release file. Any number of = pairs can be passed. del: is to delete the list of keys in release file.Plugin Name: strip-debug Option: --strip-debug Description: Strip debug information from the output image Plugin Name: strip-native-commands Option: --strip-native-commands Description: Exclude native commands (such as java/java.exe) from the image Plugin Name: system-modules Option: --system-modules=retainModuleTarget Description: Fast loading of module descriptors (always enabled)Plugin Name: vendor-bug-url Option: --vendor-bug-url= Description: Override the vendor bug URL baked into the build. The value of the system property "java.vendor.url.bug" will be . Plugin Name: vendor-version Option: --vendor-version= Description: Override the vendor version string baked into the build, if any. The value of the system property "java.vendor.version" will be . Plugin Name: vendor-vm-bug-url Option: --vendor-vm-bug-url= Description: Override the vendor VM bug URL baked into the build. The URL displayed in VM error logs will be . Plugin Name: vm Option: --vm= Description: Select the HotSpot VM in the output image. Default is all For options requiring a , the value will be a comma separated list of elements each using one the following forms: glob: regex: @ where filename is the name of a file containing patterns to be used, one pattern per line {code} was (Author: aalmiray): Thank you Benjamin. For reference these are the plugins listed in JDK 11.0.8 (Zulu) {code:java} $ jlink --list-pluginsList of available plugins:Plugin Name: add-options Option: --add-options= Description: Prepend the specified string, which may include whitespace, before any other options when invoking the virtual machine in the resulting image.Plugin Name: compress Option: --compress=<0|1|2>[:filter=] Description: Compress all resources in the output image. Level 0: No compression Level 1: Constant string sharing Level 2: ZIP. An optional filter can be specified to list the pattern of files to be included.Plugin Name: dedup-legal-notices Option: --dedup-legal-notices=[error-if-not-same-content] Description: De-duplicate all legal notices. If error-if-not-same-content is specified then it will be an error if two files of the same filename are different.Plugin Name:
[jira] [Comment Edited] (MJLINK-40) Add support for --include-locales option
[ https://issues.apache.org/jira/browse/MJLINK-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17222461#comment-17222461 ] Andres Almiray edited comment on MJLINK-40 at 10/28/20, 8:57 PM: - Thank you Benjamin. For reference these are the plugins listed in JDK 11.0.8 (Zulu) {code:java} $ jlink --list-pluginsList of available plugins: Plugin Name: add-options Option: --add-options= Description: Prepend the specified string, which may include whitespace, before any other options when invoking the virtual machine in the resulting image. Plugin Name: compress Option: --compress=<0|1|2>[:filter=] Description: Compress all resources in the output image. Level 0: No compression Level 1: Constant string sharing Level 2: ZIP. An optional filter can be specified to list the pattern of files to be included. Plugin Name: dedup-legal-notices Option: --dedup-legal-notices=[error-if-not-same-content] Description: De-duplicate all legal notices. If error-if-not-same-content is specified then it will be an error if two files of the same filename are different. Plugin Name: exclude-files Option: --exclude-files= of files to exclude Description: Specify files to exclude. e.g.: **.java,glob:/java.base/lib/client/** Plugin Name: exclude-jmod-section Option: --exclude-jmod-section= where is "man" or "headers". Description: Specify a JMOD section to exclude Plugin Name: exclude-resources Option: --exclude-resources= resources to exclude Description: Specify resources to exclude. e.g.: **.jcov,glob:**/META-INF/** Plugin Name: generate-jli-classes Option: --generate-jli-classes=@filename Description: Specify a file listing the java.lang.invoke classes to pre-generate. By default, this plugin may use a builtin list of classes to pre-generate. If this plugin runs on a different runtime version than the image being created then code generation will be disabled by default to guarantee correctness - add ignore-version=true to override this. Plugin Name: include-locales Option: --include-locales=[,]* Description: BCP 47 language tags separated by a comma, allowing locale matching defined in RFC 4647. e.g.: en,ja,*-IN Plugin Name: order-resources Option: --order-resources= of paths in priority order. If a @file is specified, then each line should be an exact match for the path to be ordered Description: Order resources. e.g.: **/module-info.class,@classlist,/java.base/java/lang/** Plugin Name: release-info Option: --release-info=|add:=:=:...|del: Description: option is to load release properties from the supplied file. add: is to add properties to the release file. Any number of = pairs can be passed. del: is to delete the list of keys in release file. Plugin Name: strip-debug Option: --strip-debug Description: Strip debug information from the output image Plugin Name: strip-native-commands Option: --strip-native-commands Description: Exclude native commands (such as java/java.exe) from the image Plugin Name: system-modules Option: --system-modules=retainModuleTarget Description: Fast loading of module descriptors (always enabled) Plugin Name: vendor-bug-url Option: --vendor-bug-url= Description: Override the vendor bug URL baked into the build. The value of the system property "java.vendor.url.bug" will be . Plugin Name: vendor-version Option: --vendor-version= Description: Override the vendor version string baked into the build, if any. The value of the system property "java.vendor.version" will be . Plugin Name: vendor-vm-bug-url Option: --vendor-vm-bug-url= Description: Override the vendor VM bug URL baked into the build. The URL displayed in VM error logs will be . Plugin Name: vm Option: --vm= Description: Select the HotSpot VM in the output image. Default is all For options requiring a , the value will be a comma separated list of elements each using one the following forms: glob: regex: @ where filename is the name of a file containing patterns to be used, one pattern per line {code} was (Author: aalmiray): Thank you Benjamin. For reference these are the plugins listed in JDK 11.0.8 (Zulu) {code:java} $ jlink --list-pluginsList of available plugins: Plugin Name: add-options Option: --add-options= Description: Prepend the specified string, which may include whitespace, before any other options when invoking the virtual machine in the resulting image. Plugin Name: compress Option: --compress=<0|1|2>[:filter=] Description: Compress all resources in the output image. Level 0: No compression Level 1: Constant string sharing Level 2: ZIP. An optional filter can be specified to list the pattern of files to be included. Plugin Name: dedup-legal-notices Option: --dedup-legal-notices=[error-if-not-same-content] Description: De-duplicate all legal notices. If error-if-not-same-content is specified then it will be an error if two files of the same filename are different.
[jira] [Commented] (MJLINK-40) Add support for --include-locales option
[ https://issues.apache.org/jira/browse/MJLINK-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17222461#comment-17222461 ] Andres Almiray commented on MJLINK-40: -- Thank you Benjamin. For reference these are the plugins listed in JDK 11.0.8 (Zulu) {code:java} $ jlink --list-pluginsList of available plugins:Plugin Name: add-options Option: --add-options= Description: Prepend the specified string, which may include whitespace, before any other options when invoking the virtual machine in the resulting image.Plugin Name: compress Option: --compress=<0|1|2>[:filter=] Description: Compress all resources in the output image. Level 0: No compression Level 1: Constant string sharing Level 2: ZIP. An optional filter can be specified to list the pattern of files to be included.Plugin Name: dedup-legal-notices Option: --dedup-legal-notices=[error-if-not-same-content] Description: De-duplicate all legal notices. If error-if-not-same-content is specified then it will be an error if two files of the same filename are different.Plugin Name: exclude-files Option: --exclude-files= of files to exclude Description: Specify files to exclude. e.g.: **.java,glob:/java.base/lib/client/**Plugin Name: exclude-jmod-section Option: --exclude-jmod-section= where is "man" or "headers". Description: Specify a JMOD section to excludePlugin Name: exclude-resources Option: --exclude-resources= resources to exclude Description: Specify resources to exclude. e.g.: **.jcov,glob:**/META-INF/**Plugin Name: generate-jli-classes Option: --generate-jli-classes=@filename Description: Specify a file listing the java.lang.invoke classes to pre-generate. By default, this plugin may use a builtin list of classes to pre-generate. If this plugin runs on a different runtime version than the image being created then code generation will be disabled by default to guarantee correctness - add ignore-version=true to override this.Plugin Name: include-locales Option: --include-locales=[,]* Description: BCP 47 language tags separated by a comma, allowing locale matching defined in RFC 4647. e.g.: en,ja,*-INPlugin Name: order-resources Option: --order-resources= of paths in priority order. If a @file is specified, then each line should be an exact match for the path to be ordered Description: Order resources. e.g.: **/module-info.class,@classlist,/java.base/java/lang/**Plugin Name: release-info Option: --release-info=|add:=:=:...|del: Description: option is to load release properties from the supplied file. add: is to add properties to the release file. Any number of = pairs can be passed. del: is to delete the list of keys in release file.Plugin Name: strip-debug Option: --strip-debug Description: Strip debug information from the output imagePlugin Name: strip-native-commands Option: --strip-native-commands Description: Exclude native commands (such as java/java.exe) from the imagePlugin Name: system-modules Option: --system-modules=retainModuleTarget Description: Fast loading of module descriptors (always enabled)Plugin Name: vendor-bug-url Option: --vendor-bug-url= Description: Override the vendor bug URL baked into the build. The value of the system property "java.vendor.url.bug" will be .Plugin Name: vendor-version Option: --vendor-version= Description: Override the vendor version string baked into the build, if any. The value of the system property "java.vendor.version" will be .Plugin Name: vendor-vm-bug-url Option: --vendor-vm-bug-url= Description: Override the vendor VM bug URL baked into the build. The URL displayed in VM error logs will be .Plugin Name: vm Option: --vm= Description: Select the HotSpot VM in the output image. Default is allFor options requiring a , the value will be a comma separated list of elements each using one the following forms: glob: regex: @ where filename is the name of a file containing patterns to be used, one pattern per line {code} > Add support for --include-locales option > > > Key: MJLINK-40 > URL: https://issues.apache.org/jira/browse/MJLINK-40 > Project: Maven JLink Plugin > Issue Type: New Feature >Affects Versions: 3.0.0-alpha-2 >Reporter: Herv >Priority: Trivial > Original Estimate: 1h > Remaining Estimate: 1h > > --includes-locales lets specify a list of locales to include in the image. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MJLINK-51) Update site with latest SCM info
[ https://issues.apache.org/jira/browse/MJLINK-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17222403#comment-17222403 ] Andres Almiray commented on MJLINK-51: -- It looks like the project's SCM configuration is up to date. It only needs a refresh once the next release is posted. > Update site with latest SCM info > > > Key: MJLINK-51 > URL: https://issues.apache.org/jira/browse/MJLINK-51 > Project: Maven JLink Plugin > Issue Type: Improvement >Affects Versions: 3.0.0-alpha-1 >Reporter: Andres Almiray >Priority: Major > Labels: docs > > The website currently lists SVN links to check out the code, however the code > can now be found at > https://github.com/apache/maven-jlink-plugin -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MJLINK-40) Add support for --include-locales option
[ https://issues.apache.org/jira/browse/MJLINK-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17222400#comment-17222400 ] Andres Almiray commented on MJLINK-40: -- Could you let us know where is that setting defined? The following is the help menu when running `jlink` on JDK 11 {code:java} $ jlink -? Usage: jlink --module-path --add-modules [,...] Possible options include: --add-modules [,...]Root modules to resolve --bind-services Link in service provider modules and their dependences -c, --compress=<0|1|2>Enable compression of resources: Level 0: No compression Level 1: Constant string sharing Level 2: ZIP --disable-plugin Disable the plugin mentioned --endian Byte order of generated jimage (default:native) -h, --help, -?Print this help message --ignore-signing-information Suppress a fatal error when signed modular JARs are linked in the image. The signature related files of the signed modular JARs are not copied to the runtime image. --launcher =[/] Add a launcher command of the given name for the module and the main class if specified --limit-modules [,...] Limit the universe of observable modules --list-pluginsList available plugins -p, --module-path Module path --no-header-files Exclude include header files --no-man-pagesExclude man pages --outputLocation of output path --post-process-pathPost process an existing image --resources-last-sorter The last plugin allowed to sort resources --save-opts Save jlink options in the given file -G, --strip-debug Strip debug information --suggest-providers [,...] Suggest providers that implement the given service types from the module path -v, --verbose Enable verbose tracing --version Version information @ Read options from file {code} > Add support for --include-locales option > > > Key: MJLINK-40 > URL: https://issues.apache.org/jira/browse/MJLINK-40 > Project: Maven JLink Plugin > Issue Type: New Feature >Affects Versions: 3.0.0-alpha-2 >Reporter: Herv >Priority: Trivial > Original Estimate: 1h > Remaining Estimate: 1h > > --includes-locales lets specify a list of locales to include in the image. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (MJLINK-51) Update site with latest SCM info
Andres Almiray created MJLINK-51: Summary: Update site with latest SCM info Key: MJLINK-51 URL: https://issues.apache.org/jira/browse/MJLINK-51 Project: Maven JLink Plugin Issue Type: Improvement Affects Versions: 3.0.0-alpha-1 Reporter: Andres Almiray The website currently lists SVN links to check out the code, however the code can now be found at https://github.com/apache/maven-jlink-plugin -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MJDEPS-16) Include project dependencies in scan
[ https://issues.apache.org/jira/browse/MJDEPS-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16559395#comment-16559395 ] Andres Almiray commented on MJDEPS-16: -- As a comparison, the Gradle jdeps plugin does check compile/runtime dependencies by default [https://github.com/aalmiray/jdeps-gradle-plugin] Minimum Gradle build file: {code:java} plugins { id 'java' id 'org.kordamp.jdeps' version '0.3.0' } repositories { mavenCentral() } dependencies { compile 'com.google.inject:guice:4.2.0' compile 'com.google.guava:guava:25.1-jre' } {code} Output: {code:java} $ gw jdeps No gradlew set up for this project; consider setting one up: http://gradle.org/docs/current/userguide/gradle_wrapper.html Using gradle at '/Users/aalmiray/.sdkman/candidates/gradle/current/bin/gradle' to run buildfile '/tmp/foo/build.gradle': > Task :compileJava NO-SOURCE > Task :processResources NO-SOURCE > Task :classes UP-TO-DATE > Task :jdeps FAILED guava-25.1-jre.jar -> /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/rt.jar com.google.common.cache.Striped64 (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.cache.Striped64$1 (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.cache.Striped64$Cell (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.hash.LittleEndianByteArray$UnsafeByteArray (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.hash.LittleEndianByteArray$UnsafeByteArray$1 (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.hash.LittleEndianByteArray$UnsafeByteArray$2 (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.hash.LittleEndianByteArray$UnsafeByteArray$3 (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.hash.Striped64 (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.hash.Striped64$1 (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.hash.Striped64$Cell (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1 (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper$1 (guava-25.1-jre.jar) -> sun.misc.Unsafe JDK internal API (rt.jar) Warning: JDK internal APIs are unsupported and private to JDK implementation that are subject to be removed or changed incompatibly and could break your application. Please modify your code to eliminate dependency on any JDK internal APIs. For the most recent update on JDK internal API replacements, please check: https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool JDK Internal API Suggested Replacement - sun.misc.Unsafe See http://openjdk.java.net/jeps/260 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':jdeps'. > jdeps reported errors in foo * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 6s 1 actionable task: 1 executed {code} > Include project dependencies in scan > > > Key: MJDEPS-16 > URL: https://issues.apache.org/jira/browse/MJDEPS-16 > Project: Maven JDeps Plugin > Issue Type: New Feature >Affects Versions: 3.1.1 > Environment: Apache Maven 3.5.3 > (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00) > Maven home: /Users/aalmiray/.sdkman/candidates/maven/current > Java version: 1.8.0_171, vendor: Oracle Corporation >
[jira] [Updated] (MJDEPS-16) Include project dependencies in scan
[ https://issues.apache.org/jira/browse/MJDEPS-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andres Almiray updated MJDEPS-16: - Description: Version 3.1.1 executes jdeps on production (goal: jdkinternals) and test (goal: test-jdkinternals) sources but does not consider dependencies. This means the report will tell you if product sources are complaint or not but does not tell you if the packaged/deployed project would encounter problems or not. At the very least Compile/Runtime dependencies should be scanned. Please make this the default behavior. Perhaps it would be good to have a flag to skip this behavior if anyone would like to have the previous behavior. For reference, this issue was discussed with Robert Scholte during JCrete 2018. *Minimum POM example:* {code:java} http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;> 4.0.0 com.acme sample jar 0.0.0-SNAPSHOT org.apache.maven.plugins maven-jdeps-plugin 3.1.1 jdkinternals com.google.inject guice 4.2.0 com.google.guava guava 25.1-jre {code} Output {code:java} $ mvn jdeps:jdkinternals [INFO] Scanning for projects... [INFO] [INFO] --< com.acme:sample >--- [INFO] Building sample 0.0.0-SNAPSHOT [INFO] [ jar ]- [INFO] [INFO] --- maven-jdeps-plugin:3.1.1:jdkinternals (default-cli) @ sample --- [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 0.506 s [INFO] Finished at: 2018-07-27T09:50:39+02:00 [INFO] {code} was: Version 3.1.1 executes jdeps on production (goal: jdkinternals) and test (goal: test-jdkinternals) sources but does not consider dependencies. This means the report will tell you if product sources are complaint or not but does not tell you if the packaged/deployed project would encounter problems or not. At the very least Compile/Runtime dependencies should be scanned. Please make this the default behavior. Perhaps it would be good to have a flag to skip this behavior if anyone would like to have the previous behavior. For reference, this issue was discussed with Robert Scholte during JCrete 2018. *Minimum POM example:* {code:java} http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;> 4.0.0 com.acme sample jar 0.0.0-SNAPSHOT org.apache.maven.plugins maven-jdeps-plugin 3.1.1 jdkinternals com.google.inject guice 4.2.0 {code} > Include project dependencies in scan > > > Key: MJDEPS-16 > URL: https://issues.apache.org/jira/browse/MJDEPS-16 > Project: Maven JDeps Plugin > Issue Type: New Feature >Affects Versions: 3.1.1 > Environment: Apache Maven 3.5.3 > (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00) > Maven home: /Users/aalmiray/.sdkman/candidates/maven/current > Java version: 1.8.0_171, vendor: Oracle Corporation > Java home: > /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre > Default locale: en_CH, platform encoding: UTF-8 > OS name: "mac os x", version: "10.12.5", arch: "x86_64", family: "mac" >Reporter: Andres Almiray >Priority: Major > > > Version 3.1.1 executes jdeps on production (goal: jdkinternals) and test > (goal: test-jdkinternals) sources but does not consider dependencies. This > means the report will tell you if product sources are complaint or not but > does not tell you if the packaged/deployed project would encounter problems > or not. > At the very least Compile/Runtime dependencies should be scanned. Please make > this the default behavior. Perhaps it would be good to have a flag to skip > this behavior if anyone would like to
[jira] [Created] (MJDEPS-16) Include project dependencies in scan
Andres Almiray created MJDEPS-16: Summary: Include project dependencies in scan Key: MJDEPS-16 URL: https://issues.apache.org/jira/browse/MJDEPS-16 Project: Maven JDeps Plugin Issue Type: New Feature Affects Versions: 3.1.1 Environment: Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00) Maven home: /Users/aalmiray/.sdkman/candidates/maven/current Java version: 1.8.0_171, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre Default locale: en_CH, platform encoding: UTF-8 OS name: "mac os x", version: "10.12.5", arch: "x86_64", family: "mac" Reporter: Andres Almiray Version 3.1.1 executes jdeps on production (goal: jdkinternals) and test (goal: test-jdkinternals) sources but does not consider dependencies. This means the report will tell you if product sources are complaint or not but does not tell you if the packaged/deployed project would encounter problems or not. At the very least Compile/Runtime dependencies should be scanned. Please make this the default behavior. Perhaps it would be good to have a flag to skip this behavior if anyone would like to have the previous behavior. For reference, this issue was discussed with Robert Scholte during JCrete 2018. *Minimum POM example:* {code:java} http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;> 4.0.0 com.acme sample jar 0.0.0-SNAPSHOT org.apache.maven.plugins maven-jdeps-plugin 3.1.1 jdkinternals com.google.inject guice 4.2.0 {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] Created: (MAVENUPLOAD-2300) Please upload EZMorph-1.0.6
Please upload EZMorph-1.0.6 --- Key: MAVENUPLOAD-2300 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-2300 Project: Maven Upload Requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. This release covers bug fixes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-2169) Please upload EZMorph-1.0.5
Please upload EZMorph-1.0.5 Key: MAVENUPLOAD-2169 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-2169 Project: Maven Upload Requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. This release covers bug fixes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MNG-3278) classifiers in dependencyManagement don't work
[ http://jira.codehaus.org/browse/MNG-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117698 ] Andres Almiray commented on MNG-3278: - I too found this problem trying to configure TestNG in parent pom classifiers in dependencyManagement don't work -- Key: MNG-3278 URL: http://jira.codehaus.org/browse/MNG-3278 Project: Maven 2 Issue Type: Bug Reporter: Paul Sundling Priority: Minor parent pom: pre dependencyManagement dependencies dependency groupIdnet.sf.json-lib/groupId artifactIdjson-lib/artifactId version2.1/version classifierjdk15/classifier /dependency /dependencies /dependencyManagement /pre If child pom will pick up everything else like excludes, except the classifier, so classifier has to be added for every child pom. pre dependencies dependency groupIdnet.sf.json-lib/groupId artifactIdjson-lib/artifactId classifierjdk15/classifier!-- seems dependencyManagement doesn't handle classifiers properly -- /dependency /dependencies /pre Expected to work, but fails: pre dependencies dependency groupIdnet.sf.json-lib/groupId artifactIdjson-lib/artifactId /dependency /dependencies /pre -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-1809) Please upload EZMorph-1.0.4
Please upload EZMorph-1.0.4 --- Key: MAVENUPLOAD-1809 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1809 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. This release covers minor enhancements. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-1660) Please upload EZMorph-1.0.3
Please upload EZMorph-1.0.3 --- Key: MAVENUPLOAD-1660 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1660 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. This release covers minor enhancements. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MECLIPSE-285) Add support for additional src/test dirs (like src/main/groovy)
Add support for additional src/test dirs (like src/main/groovy) --- Key: MECLIPSE-285 URL: http://jira.codehaus.org/browse/MECLIPSE-285 Project: Maven 2.x Eclipse Plugin Issue Type: Improvement Reporter: Andres Almiray It would be great if the eclipse:eclipse target would detect other plugins that add src/tests dirs configuration automatically and add those dirs to the generate .classpath, for example the org.codehaus.mojo.groovy plugin which adds src/main/groovy and src/test/groovy -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MAVENUPLOAD-1484) Please upload EZMorph-1.0.2
[ http://jira.codehaus.org/browse/MAVENUPLOAD-1484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_93783 ] Andres Almiray commented on MAVENUPLOAD-1484: - I've uploaded a new bundle at the same URL. Please let me know if everything is ok. Please upload EZMorph-1.0.2 --- Key: MAVENUPLOAD-1484 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1484 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. This release covers minor bugfixes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MAVENUPLOAD-1484) Please upload EZMorph-1.0.2
[ http://jira.codehaus.org/browse/MAVENUPLOAD-1484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_93717 ] Andres Almiray commented on MAVENUPLOAD-1484: - Right, sorry for the oversight. Will correct the configuration and post when updated. Thanks. Please upload EZMorph-1.0.2 --- Key: MAVENUPLOAD-1484 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1484 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. This release covers minor bugfixes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-1484) Please upload EZMorph-1.0.2
Please upload EZMorph-1.0.2 --- Key: MAVENUPLOAD-1484 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1484 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. This release covers minor bugfixes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-1379) Please upload EZMorph-1.0.1
Please upload EZMorph-1.0.1 --- Key: MAVENUPLOAD-1379 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1379 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. This release covers minor bugfixes and is needed for the next release of Json-lib (1.0) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-1323) Please upload EZMorph-1.0
Please upload EZMorph-1.0 - Key: MAVENUPLOAD-1323 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1323 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-1272) Please upload EZMorph-0.9.2
Please upload EZMorph-0.9.2 --- Key: MAVENUPLOAD-1272 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1272 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. Bundle was created by hand according to spec. The pom includes a PluginRepositories definition for the FindBugs plugin at codehaus. This release includes features for the upcoming release of Json-lib -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-1257) Please upload EZMorph-0.9.1
Please upload EZMorph-0.9.1 --- Key: MAVENUPLOAD-1257 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1257 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. This release includes a minor bugfix that is in high demand for the next release of json-lib. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-1234) Please upload EZMorph-0.9
Please upload EZMorph-0.9 - Key: MAVENUPLOAD-1234 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1234 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. Bundle was created by hand according to spec. The pom includes a PluginRepositories definition for the FindBugs plugin at codehaus. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-1182) Please upload json-lib-0.9
Please upload json-lib-0.9 -- Key: MAVENUPLOAD-1182 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1182 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray Please upload version 0.9 This release contains minor bugfixes and new features. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-1103) Please upload json-lib-0.8
Please upload json-lib-0.8 -- Key: MAVENUPLOAD-1103 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1103 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray Please upload version 0.8 This release contains major bugfixes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-1054) Please upload EZMorph-0.8.1
Please upload EZMorph-0.8.1 --- Key: MAVENUPLOAD-1054 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1054 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray EZMorph is simple java library for transforming an Object to another Object. EZMorph is a dependency of upcoming releases Json-lib. Bundle was created by hand according to spec. The pom includes a PluginRepositories definition for the FindBugs plugin at codehaus. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MAVENUPLOAD-1030) Please upload json-lib-0.6
[ http://jira.codehaus.org/browse/MAVENUPLOAD-1030?page=comments#action_7 ] Andres Almiray commented on MAVENUPLOAD-1030: - I used the exported-pom.xml file, because I thought it was created by the repository plugin. I have updated the json-lib-0.7.1.-bundle.jar with the source pom.xml. Please upload json-lib-0.6 -- Key: MAVENUPLOAD-1030 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1030 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray JSON-lib is a java library for transforming beans, maps and XML to JSON and back again to beans and DynaBeans. Javadocs are at http://json-lib.sourceforge.net/json-lib-0.6-javadoc.jar -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MAVENUPLOAD-1030) Please upload json-lib-0.6
[ http://jira.codehaus.org/browse/MAVENUPLOAD-1030?page=comments#action_72176 ] Andres Almiray commented on MAVENUPLOAD-1030: - Maven's repository plugin doesn't seem to work on my config, created the jar manually. json-lib-0.7.1 is the latest release http://json-lib.sourceforge.net/json-lib-0.7.1-bundle.jar Please upload json-lib-0.6 -- Key: MAVENUPLOAD-1030 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1030 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray JSON-lib is a java library for transforming beans, maps and XML to JSON and back again to beans and DynaBeans. Javadocs are at http://json-lib.sourceforge.net/json-lib-0.6-javadoc.jar -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MAVENUPLOAD-1030) Please upload json-lib-0.6
[ http://jira.codehaus.org/browse/MAVENUPLOAD-1030?page=comments#action_71780 ] Andres Almiray commented on MAVENUPLOAD-1030: - Changed the group to net.sf.json-lib Please reffer to version 0.7 instead of 0.6 http://json-lib.sourceforge.net/json-lib-0.7-bundle.jar http://json-lib.sourceforge.net/json-lib-0.7-javadoc.jar Please upload json-lib-0.6 -- Key: MAVENUPLOAD-1030 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1030 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray JSON-lib is a java library for transforming beans, maps and XML to JSON and back again to beans and DynaBeans. Javadocs are at http://json-lib.sourceforge.net/json-lib-0.6-javadoc.jar -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-1030) Please upload json-lib-0.6
Please upload json-lib-0.6 -- Key: MAVENUPLOAD-1030 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1030 Project: maven-upload-requests Issue Type: Task Reporter: Andres Almiray JSON-lib is a java library for transforming beans, maps and XML to JSON and back again to beans and DynaBeans. Javadocs are at http://json-lib.sourceforge.net/json-lib-0.6-javadoc.jar -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MAVENUPLOAD-967) JSON library from json.org
JSON library from json.org -- Key: MAVENUPLOAD-967 URL: http://jira.codehaus.org/browse/MAVENUPLOAD-967 Project: maven-upload-requests Type: Task Reporter: Andres Almiray Attachments: json-1.0.tar.gz This bundle includes the json library posted by Douglas Crockford (http://www.json.org/java/) plus some additions I (Andres Almiray) made to JSONObject and JSONArray to support nested beans and object graphs. This is a very lightweight library (43K) to parse objects to JSON and back again. I'm attaching the binary dist (including docs) created by maven. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira