[jira] [Updated] (MPLUGIN-364) Support for Java 14
[ https://issues.apache.org/jira/browse/MPLUGIN-364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt updated MPLUGIN-364: - Description: Don't get this error with {code:java} org.apache.maven.plugins maven-plugin-plugin 3.6.1-SNAPSHOT https://repository.apache.org/snapshots/ *Dependencies*: maven-plugin-api: 3.6.3 maven-core: 3.6.3 maven-plugin-annotations: 3.6.0 *Plugin Version*: Defaults to 3.6.0 within maven 3.6.3 org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner does not support java 14 (version 58) {code:java} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor (default-descriptor) on project generator-maven-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor failed: Unsupported class file major version 58 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor (default-descriptor) on project generator-maven-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor failed: Unsupported class file major version 58 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:564) 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) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor failed: Unsupported class file major version 58 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) 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:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.c
[jira] [Updated] (MPLUGIN-364) Support for Java 14
[ https://issues.apache.org/jira/browse/MPLUGIN-364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt updated MPLUGIN-364: - Description: Don't get this error with {code:java} org.apache.maven.plugins maven-plugin-plugin 3.6.1-SNAPSHOT https://repository.apache.org/snapshots/ Dependencies: maven-plugin-api: 3.6.3 maven-core: 3.6.3 maven-plugin-annotations: 3.6.0 Plugin Version: Defaults to 3.6.0 within maven 3.6.3 org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner does not support java 14 (version 58) {code:java} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor (default-descriptor) on project generator-maven-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor failed: Unsupported class file major version 58 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor (default-descriptor) on project generator-maven-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor failed: Unsupported class file major version 58 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:564) 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) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor failed: Unsupported class file major version 58 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) 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:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codeh
[jira] [Commented] (MPLUGIN-363) HelpMojo result relies on 'clean'
[ https://issues.apache.org/jira/browse/MPLUGIN-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169662#comment-17169662 ] Hudson commented on MPLUGIN-363: Build succeeded in Jenkins: Maven » Maven TLP » maven-plugin-tools » master #5 See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-plugin-tools/job/master/5/ > HelpMojo result relies on 'clean' > - > > Key: MPLUGIN-363 > URL: https://issues.apache.org/jira/browse/MPLUGIN-363 > Project: Maven Plugin Tools > Issue Type: Bug >Reporter: Robert Scholte >Assignee: Robert Scholte >Priority: Major > Fix For: 3.6.1 > > > There's a slightly different result when the help-mojo is generated based on > calling the clean-phase. Did makes it a bit harder to call it reproducible if > you're not aware of this. > Calling it with clean it always generates: > {code} > package name.of.the.package\r\n > \n > \n > {code} > Calling it afterwards without clean it always: > {code} > \n > package name.of.the.package\n > \n > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (MPLUGIN-364) Support for Java 14
Matt created MPLUGIN-364: Summary: Support for Java 14 Key: MPLUGIN-364 URL: https://issues.apache.org/jira/browse/MPLUGIN-364 Project: Maven Plugin Tools Issue Type: New Feature Components: maven-plugin-annotations Affects Versions: 3.6.0 Reporter: Matt maven-plugin-api: 3.6.3 maven-core: 3.6.3 maven-plugin-annotations: 3.6.0 org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner does not support java 14 (version 58) {code:java} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor (default-descriptor) on project generator-maven-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor failed: Unsupported class file major version 58 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor (default-descriptor) on project generator-maven-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor failed: Unsupported class file major version 58 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:564) 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) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor failed: Unsupported class file major version 58 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) 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:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher
[jira] [Closed] (MPLUGIN-343) syntax error with enums + lambdas / anon inner inner classes
[ https://issues.apache.org/jira/browse/MPLUGIN-343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Scholte closed MPLUGIN-343. -- Assignee: Robert Scholte Resolution: Pending Closed No feedback from user > syntax error with enums + lambdas / anon inner inner classes > > > Key: MPLUGIN-343 > URL: https://issues.apache.org/jira/browse/MPLUGIN-343 > Project: Maven Plugin Tools > Issue Type: Bug >Affects Versions: 3.5.2 >Reporter: Zoltan Farkas >Assignee: Robert Scholte >Priority: Major > > Error: > maven-plugin-plugin:3.5.2:descriptor failed: syntax error @[42,18] in > file:/Users/zoly/NetBeansProjects/spf4j/spf4j-jdiff-maven-plugin/target/generated-sources/spf4j-core/org/spf4j/base/ReferenceType.java > > on code: > {code} > // blabla license comments > package org.spf4j.base; > import java.lang.ref.Reference; > import java.lang.ref.SoftReference; > import java.lang.ref.WeakReference; > import java.util.function.Function; > public enum ReferenceType { > WEAK((Object object) -> new WeakReference<>(object)), > SOFT((Object object) -> new SoftReference<>(object)); > private final Function> factory; > ReferenceType(final Function> factory) { > this.factory = factory; > } > public Reference create(final T object) { > return (Reference) factory.apply(object); > } > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Closed] (MPLUGIN-357) Custom search broken on pages rendered using Fluido Skin 1.7
[ https://issues.apache.org/jira/browse/MPLUGIN-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Scholte closed MPLUGIN-357. -- Fix Version/s: 3.6.1 Resolution: Fixed Fixed in [46b2157f35c8c66bdd1b1d35f0bcae52d3e9cd9b|https://gitbox.apache.org/repos/asf?p=maven-plugin-tools.git;a=commit;h=46b2157f35c8c66bdd1b1d35f0bcae52d3e9cd9b] > Custom search broken on pages rendered using Fluido Skin 1.7 > > > Key: MPLUGIN-357 > URL: https://issues.apache.org/jira/browse/MPLUGIN-357 > Project: Maven Plugin Tools > Issue Type: Improvement >Affects Versions: 3.6.0 >Reporter: Piotr Zygielo >Assignee: Elliotte Rusty Harold >Priority: Major > Fix For: 3.6.1 > > > Described in MSKINS-159 -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Assigned] (MPLUGIN-357) Custom search broken on pages rendered using Fluido Skin 1.7
[ https://issues.apache.org/jira/browse/MPLUGIN-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Scholte reassigned MPLUGIN-357: -- Assignee: Elliotte Rusty Harold > Custom search broken on pages rendered using Fluido Skin 1.7 > > > Key: MPLUGIN-357 > URL: https://issues.apache.org/jira/browse/MPLUGIN-357 > Project: Maven Plugin Tools > Issue Type: Improvement >Affects Versions: 3.6.0 >Reporter: Piotr Zygielo >Assignee: Elliotte Rusty Harold >Priority: Major > > Described in MSKINS-159 -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Closed] (MPLUGIN-356) org.apache.maven.InternalErrorException: Internal error: de.pdark.decentxml.XMLParseException: Line 2416, column 4: Expected '
[ https://issues.apache.org/jira/browse/MPLUGIN-356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Scholte closed MPLUGIN-356. -- Assignee: Robert Scholte Resolution: Incomplete No feedback provided to reproduce this issue > org.apache.maven.InternalErrorException: Internal error: > de.pdark.decentxml.XMLParseException: Line 2416, column 4: Expected ' > Key: MPLUGIN-356 > URL: https://issues.apache.org/jira/browse/MPLUGIN-356 > Project: Maven Plugin Tools > Issue Type: Bug > Components: maven-plugin-tools-ant >Affects Versions: 3.5.2 >Reporter: Jakkam >Assignee: Robert Scholte >Priority: Blocker > > {noformat} > Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; > 2019-04-04T12:00:29-07:00)Apache Maven 3.6.1 > (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T12:00:29-07:00)Maven > home: > C:\Viswanath\Source\Head-Java-11\SIStudio\Source\com.spacetimeinsight.sistudio.build\EMBEDDEDJava > version: 11, vendor: Oracle Corporation, runtime: > C:\Viswanath\Softwares\jdk-11Default locale: en_US, platform encoding: > Cp1252OS name: "windows 10", version: "10.0", arch: "amd64", family: > "windows"[DEBUG] Created new class realm maven.api[DEBUG] Importing foreign > packages into class realm maven.api[DEBUG] Imported: javax.annotation.* < > plexus.core[DEBUG] Imported: javax.annotation.security.* < > plexus.core[DEBUG] Imported: javax.enterprise.inject.* < plexus.core[DEBUG] > Imported: javax.enterprise.util.* < plexus.core[DEBUG] Imported: > javax.inject.* < plexus.core[DEBUG] Imported: org.apache.maven.* < > plexus.core[DEBUG] Imported: org.apache.maven.artifact < plexus.core[DEBUG] > Imported: org.apache.maven.classrealm < plexus.core[DEBUG] Imported: > org.apache.maven.cli < plexus.core[DEBUG] Imported: > org.apache.maven.configuration < plexus.core[DEBUG] Imported: > org.apache.maven.exception < plexus.core[DEBUG] Imported: > org.apache.maven.execution < plexus.core[DEBUG] Imported: > org.apache.maven.execution.scope < plexus.core[DEBUG] Imported: > org.apache.maven.lifecycle < plexus.core[DEBUG] Imported: > org.apache.maven.model < plexus.core[DEBUG] Imported: > org.apache.maven.monitor < plexus.core[DEBUG] Imported: > org.apache.maven.plugin < plexus.core[DEBUG] Imported: > org.apache.maven.profiles < plexus.core[DEBUG] Imported: > org.apache.maven.project < plexus.core[DEBUG] Imported: > org.apache.maven.reporting < plexus.core[DEBUG] Imported: > org.apache.maven.repository < plexus.core[DEBUG] Imported: > org.apache.maven.rtinfo < plexus.core[DEBUG] Imported: > org.apache.maven.settings < plexus.core[DEBUG] Imported: > org.apache.maven.toolchain < plexus.core[DEBUG] Imported: > org.apache.maven.usability < plexus.core[DEBUG] Imported: > org.apache.maven.wagon.* < plexus.core[DEBUG] Imported: > org.apache.maven.wagon.authentication < plexus.core[DEBUG] Imported: > org.apache.maven.wagon.authorization < plexus.core[DEBUG] Imported: > org.apache.maven.wagon.events < plexus.core[DEBUG] Imported: > org.apache.maven.wagon.observers < plexus.core[DEBUG] Imported: > org.apache.maven.wagon.proxy < plexus.core[DEBUG] Imported: > org.apache.maven.wagon.repository < plexus.core[DEBUG] Imported: > org.apache.maven.wagon.resource < plexus.core[DEBUG] Imported: > org.codehaus.classworlds < plexus.core[DEBUG] Imported: > org.codehaus.plexus.* < plexus.core[DEBUG] Imported: > org.codehaus.plexus.classworlds < plexus.core[DEBUG] Imported: > org.codehaus.plexus.component < plexus.core[DEBUG] Imported: > org.codehaus.plexus.configuration < plexus.core[DEBUG] Imported: > org.codehaus.plexus.container < plexus.core[DEBUG] Imported: > org.codehaus.plexus.context < plexus.core[DEBUG] Imported: > org.codehaus.plexus.lifecycle < plexus.core[DEBUG] Imported: > org.codehaus.plexus.logging < plexus.core[DEBUG] Imported: > org.codehaus.plexus.personality < plexus.core[DEBUG] Imported: > org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core[DEBUG] Imported: > org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core[DEBUG] > Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < > plexus.core[DEBUG] Imported: > org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core[DEBUG] > Imported: org.eclipse.aether.* < plexus.core[DEBUG] Imported: > org.eclipse.aether.artifact < plexus.core[DEBUG] Imported: > org.eclipse.aether.collection < plexus.core[DEBUG] Imported: > org.eclipse.aether.deployment < plexus.core[DEBUG] Imported: > org.eclipse.aether.graph < plexus.core[DEBUG] Imported: > org.eclipse.aether.impl < plexus.core[DEBUG] Imported: > org.eclipse.aether.installation < plexus.core[DEBUG] Imported: > org.eclipse.aether.internal.impl < plexus.core[DEBUG]
[jira] [Commented] (MPLUGIN-363) HelpMojo result relies on 'clean'
[ https://issues.apache.org/jira/browse/MPLUGIN-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169611#comment-17169611 ] Hudson commented on MPLUGIN-363: Build succeeded in Jenkins: Maven TLP » maven-plugin-tools » master #58 See https://builds.apache.org/job/maven-box/job/maven-plugin-tools/job/master/58/ > HelpMojo result relies on 'clean' > - > > Key: MPLUGIN-363 > URL: https://issues.apache.org/jira/browse/MPLUGIN-363 > Project: Maven Plugin Tools > Issue Type: Bug >Reporter: Robert Scholte >Assignee: Robert Scholte >Priority: Major > Fix For: 3.6.1 > > > There's a slightly different result when the help-mojo is generated based on > calling the clean-phase. Did makes it a bit harder to call it reproducible if > you're not aware of this. > Calling it with clean it always generates: > {code} > package name.of.the.package\r\n > \n > \n > {code} > Calling it afterwards without clean it always: > {code} > \n > package name.of.the.package\n > \n > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Closed] (MPLUGIN-363) HelpMojo result relies on 'clean'
[ https://issues.apache.org/jira/browse/MPLUGIN-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Scholte closed MPLUGIN-363. -- Resolution: Fixed Fixed in [e2b11ea982723025a7b31e228b1d8985bdf822fa|https://gitbox.apache.org/repos/asf?p=maven-plugin-tools.git;a=commit;h=e2b11ea982723025a7b31e228b1d8985bdf822fa] > HelpMojo result relies on 'clean' > - > > Key: MPLUGIN-363 > URL: https://issues.apache.org/jira/browse/MPLUGIN-363 > Project: Maven Plugin Tools > Issue Type: Bug >Reporter: Robert Scholte >Assignee: Robert Scholte >Priority: Major > Fix For: 3.6.1 > > > There's a slightly different result when the help-mojo is generated based on > calling the clean-phase. Did makes it a bit harder to call it reproducible if > you're not aware of this. > Calling it with clean it always generates: > {code} > package name.of.the.package\r\n > \n > \n > {code} > Calling it afterwards without clean it always: > {code} > \n > package name.of.the.package\n > \n > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[GitHub] [maven-archetype] acanda opened a new pull request #56: [ARCHETYPE-605] Allow .gitignore file in archetype resources
acanda opened a new pull request #56: URL: https://github.com/apache/maven-archetype/pull/56 This change allows to create archetypes with files like .gitignore that are excluded by default. It adds the parameter "addDefaultExcludes" to the jar mojo. The parameter can be set to "false" to allow including default files like .gitignore. The default is "true" (exclude default files) so the plugin behaves the same as before when the parameter is not set. The parameter is named and behaves the same as the one in the plugin "maven-resources-plugin" which usually also needs to be set when someone wants to include one of the files excluded by default. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[jira] [Commented] (MNG-5552) Classified artifacts are missing from ${project.artifactMap}
[ https://issues.apache.org/jira/browse/MNG-5552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169527#comment-17169527 ] Igor Fedorenko commented on MNG-5552: - No, I don't remember much about this issue, sorry. > Classified artifacts are missing from ${project.artifactMap} > > > Key: MNG-5552 > URL: https://issues.apache.org/jira/browse/MNG-5552 > Project: Maven > Issue Type: Bug >Affects Versions: 3.2.1 >Reporter: Igor Fedorenko >Assignee: Michael Osipov >Priority: Major > Labels: needs-attention > Fix For: 3.x / Backlog > > > Classified artifacts are missing from {{$\{project.artifactMap}}}, so I can't > inject them all in my plugins or use > {{$\{project.artifactMap(group:artifact:classifier)}}} to pick individual > dependencies. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Closed] (MNG-6921) Maven compile with properties ${artifactId} and ${project.build.finalName} occurs java.lang.NullPointerException
[ https://issues.apache.org/jira/browse/MNG-6921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov closed MNG-6921. --- Fix Version/s: (was: waiting-for-feedback) Assignee: Sylwester Lachiewicz Resolution: Fixed I consider this implicitly being fixed by [~slachiewicz]'s work. Changed {{${artifactId\}}} to {{${project.artifactId\}}} gives me: {noformat} PS D:\Entwicklung\Projekte\maven-demo> D:\Entwicklung\Programme\apache-maven-3.7.0-SNAPSHOT\bin\mvn.cmd compile [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [WARNING] 'artifactId' contains an expression but should be a constant. @ com.example:${project.artifactId}:0.0.1-SNAPSHOT, D:\Entwicklung\Projekte\maven-demo\api\pom.xml, line 22, column 17 [ERROR] Resolving expression: '${project.artifactId}': Detected the following recursive expression cycle in 'project.artifactId': [artifactId] @ com.example:${project.artifactId}:0.0.1-SNAPSHOT, D:\Entwicklung\Projekte\maven-demo\api\pom.xml [ERROR] Resolving expression: '${project.artifactId}': Detected the following recursive expression cycle in 'project.artifactId': [artifactId] @ com.example:${project.artifactId}:0.0.1-SNAPSHOT, D:\Entwicklung\Projekte\maven-demo\api\pom.xml [ERROR] For artifact {com.example:null:0.0.1-SNAPSHOT:jar}: The artifactId cannot be empty. @ com.example:[unknown-artifact-id]:0.0.1-SNAPSHOT, D:\Entwicklung\Projekte\maven-demo\api\pom.xml [ERROR] 'artifactId' is missing. @ com.example:${project.artifactId}:0.0.1-SNAPSHOT, D:\Entwicklung\Projekte\maven-demo\api\pom.xml, line 22, column 17 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.example:null:0.0.1-SNAPSHOT (D:\Entwicklung\Projekte\maven-demo\api\pom.xml) has 4 errors [ERROR] Resolving expression: '${project.artifactId}': Detected the following recursive expression cycle in 'project.artifactId': [artifactId] @ com.example:${project.artifactId}:0.0.1-SNAPSHOT, D:\Entwicklung\Projekte\maven-demo\api\pom.xml -> [Help 2] [ERROR] Resolving expression: '${project.artifactId}': Detected the following recursive expression cycle in 'project.artifactId': [artifactId] @ com.example:${project.artifactId}:0.0.1-SNAPSHOT, D:\Entwicklung\Projekte\maven-demo\api\pom.xml -> [Help 2] [ERROR] For artifact {com.example:null:0.0.1-SNAPSHOT:jar}: The artifactId cannot be empty. @ com.example:[unknown-artifact-id]:0.0.1-SNAPSHOT, D:\Entwicklung\Projekte\maven-demo\api\pom.xml [ERROR] 'artifactId' is missing. @ com.example:${project.artifactId}:0.0.1-SNAPSHOT, D:\Entwicklung\Projekte\maven-demo\api\pom.xml, line 22, column 17 [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/InterpolationCycleException PS D:\Entwicklung\Projekte\maven-demo> {noformat} > Maven compile with properties ${artifactId} and ${project.build.finalName} > occurs java.lang.NullPointerException > > > Key: MNG-6921 > URL: https://issues.apache.org/jira/browse/MNG-6921 > Project: Maven > Issue Type: Bug > Components: Command Line >Affects Versions: 3.6.2, 3.6.3 > Environment: MacOS 10.15.2 >Reporter: anruence >Assignee: Sylwester Lachiewicz >Priority: Major > Labels: NPE > Fix For: 3.7.0 > > Attachments: maven-demo.zip > > > with maven 3.3.9,this project with command "mvn compile" can process > normally,but NPE when change to 3.6.3 > after debug : > ${artifactId} and ${project.build.finalName} define at same time will cause > InterpolationCycleException > PS: ${project.build.finalName} will be parse to > ${project.artifactId}-${project.version} with default config. > this problem can replay with attach project > {code:java} > Caused by: java.lang.NullPointerException > at java.util.concurrent.ConcurrentHashMap$MapEntry.setValue > (ConcurrentHashMap.java:3539) > at > org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit > (StringVisitorModelInterpolator.java:1429) > at > org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit > (StringVisitorModelInterpolator.java:1027) > at > org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit > (StringVisitorModelInterpolator.java:170) > at > org.apache.ma
[jira] [Updated] (MNG-6921) Maven compile with properties ${artifactId} and ${project.build.finalName} occurs java.lang.NullPointerException
[ https://issues.apache.org/jira/browse/MNG-6921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov updated MNG-6921: Fix Version/s: waiting-for-feedback > Maven compile with properties ${artifactId} and ${project.build.finalName} > occurs java.lang.NullPointerException > > > Key: MNG-6921 > URL: https://issues.apache.org/jira/browse/MNG-6921 > Project: Maven > Issue Type: Bug > Components: Command Line >Affects Versions: 3.6.2, 3.6.3 > Environment: MacOS 10.15.2 >Reporter: anruence >Priority: Major > Labels: NPE > Fix For: waiting-for-feedback, 3.7.0 > > Attachments: maven-demo.zip > > > with maven 3.3.9,this project with command "mvn compile" can process > normally,but NPE when change to 3.6.3 > after debug : > ${artifactId} and ${project.build.finalName} define at same time will cause > InterpolationCycleException > PS: ${project.build.finalName} will be parse to > ${project.artifactId}-${project.version} with default config. > this problem can replay with attach project > {code:java} > Caused by: java.lang.NullPointerException > at java.util.concurrent.ConcurrentHashMap$MapEntry.setValue > (ConcurrentHashMap.java:3539) > at > org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit > (StringVisitorModelInterpolator.java:1429) > at > org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit > (StringVisitorModelInterpolator.java:1027) > at > org.apache.maven.model.interpolation.StringVisitorModelInterpolator$ModelVisitor.visit > (StringVisitorModelInterpolator.java:170) > at > org.apache.maven.model.interpolation.StringVisitorModelInterpolator.interpolateModel > (StringVisitorModelInterpolator.java:107) > at org.apache.maven.model.building.DefaultModelBuilder.interpolateModel > (DefaultModelBuilder.java:789) > at org.apache.maven.model.building.DefaultModelBuilder.build > (DefaultModelBuilder.java:393) > at org.apache.maven.project.DefaultProjectBuilder.build > (DefaultProjectBuilder.java:448) > at org.apache.maven.project.DefaultProjectBuilder.build > (DefaultProjectBuilder.java:414) > at org.apache.maven.project.DefaultProjectBuilder.build > (DefaultProjectBuilder.java:558) > at org.apache.maven.project.DefaultProjectBuilder.build > (DefaultProjectBuilder.java:414) > at org.apache.maven.project.DefaultProjectBuilder.build > (DefaultProjectBuilder.java:377) > at org.apache.maven.graph.DefaultGraphBuilder.collectProjects > (DefaultGraphBuilder.java:414) > at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor > (DefaultGraphBuilder.java:405) > at org.apache.maven.graph.DefaultGraphBuilder.build > (DefaultGraphBuilder.java:82) > at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:219) > 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:567) > 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){code} > > pom.xml > {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 > https://maven.apache.org/xsd/maven-4.0.0.xsd";> > 4.0.0 > > com.example > maven-demo > 0.0.1-SNAPSHOT > > 0.0.1-SNAPSHOT > maven-demo-api > Demo project for Maven > jar > > com.example > maven-demo-api > maven-demo-api > ${project.build.finalName} > > ${artifactId} > > > > org.springframework.boot > spring-boot-maven-plugin > > >
[jira] [Closed] (MNG-5571) Instructions to resume the build can be misleading with -T parallel builds
[ https://issues.apache.org/jira/browse/MNG-5571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov closed MNG-5571. --- > Instructions to resume the build can be misleading with -T parallel builds > -- > > Key: MNG-5571 > URL: https://issues.apache.org/jira/browse/MNG-5571 > Project: Maven > Issue Type: Bug >Reporter: Derek Lewis >Assignee: Maarten Mulders >Priority: Minor > Labels: needs-attention > Fix For: 3.7.0 > > Attachments: resume-from-testcase.zip > > > In a project with many modules that are able to build in parallel, if one > fails the build, the output says to use -rf to resume from that module. > However, this may not run the other modules that were running in parallel. > If one of those modules also had failures, but had not yet reached those > failures during the first build, and those modules aren't build in the second > build, the build will pass, despite these 'hidden' errors. > In the example I've attached, there are four submodules, a, b, c and d. > Module d depends on a, b, and c, and all modules share a common parent module. > The properties fail.a, fail.b, and fail.c will cause the respective module to > fail. > Build first with just "mvn install -T4". > Next, imagine making a change in modules a, b, and c that break them, and > build with "mvn install -T4 -Dfail.a -Dfail.b -Dfail.c" > Due to the timing in the test poms (using antrun sleep), this should print: > {noformat} > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :c > {noformat} > Above that, you will see it reporting the failure of all three modules, but > in a lot of cases where there are surefire tests failing, it's extremely > difficult to tell that more than one module failed. As a result, I generally > just look at the module it's told me to resume from, to find failures. > So, pretend you've done that, but the errors in a and b remain, and run "mvn > install -T4 -Dfail.a -Dfail.b -rf :c" as it's suggested. > The build passes, giving a false sense of confidence. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MNG-5552) Classified artifacts are missing from ${project.artifactMap}
[ https://issues.apache.org/jira/browse/MNG-5552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169508#comment-17169508 ] Michael Osipov commented on MNG-5552: - [~igorf], I'd like to evaluate this for 3.7.0. Can you remember why you did not modify {{org.apache.maven.artifact.ArtifactUtils.key(Artifact)}} too for the sake of completeness? > Classified artifacts are missing from ${project.artifactMap} > > > Key: MNG-5552 > URL: https://issues.apache.org/jira/browse/MNG-5552 > Project: Maven > Issue Type: Bug >Affects Versions: 3.2.1 >Reporter: Igor Fedorenko >Assignee: Michael Osipov >Priority: Major > Labels: needs-attention > Fix For: 3.x / Backlog > > > Classified artifacts are missing from {{$\{project.artifactMap}}}, so I can't > inject them all in my plugins or use > {{$\{project.artifactMap(group:artifact:classifier)}}} to pick individual > dependencies. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MJAVADOC-643) make build Reproducible for secondary artifacts
[ https://issues.apache.org/jira/browse/MJAVADOC-643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169476#comment-17169476 ] Robert Scholte commented on MJAVADOC-643: - Cause found: MPLUGIN-363 > make build Reproducible for secondary artifacts > --- > > Key: MJAVADOC-643 > URL: https://issues.apache.org/jira/browse/MJAVADOC-643 > Project: Maven Javadoc Plugin > Issue Type: Bug >Affects Versions: 3.2.0 >Reporter: Herve Boutemy >Priority: Major > Fix For: 3.2.1 > > > in 3.2.0 with MJAVADOC_637, maven-javadoc-plugin-*.jar is reproducible: > perfact, that's the main binary artifact > but maven-javadoc-plugin-\*\-sources.jar and > maven-javadoc-plugin-*-source-release.zip have some reproducibility issues > https://lists.apache.org/thread.html/r88ab50ad35b283a1f585c3ffe3109b80c89cdb6d6ba2285db5956ff4%40%3Cdev.maven.apache.org%3E > : would be nice to fix them -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (MPLUGIN-363) HelpMojo result relies on 'clean'
Robert Scholte created MPLUGIN-363: -- Summary: HelpMojo result relies on 'clean' Key: MPLUGIN-363 URL: https://issues.apache.org/jira/browse/MPLUGIN-363 Project: Maven Plugin Tools Issue Type: Bug Reporter: Robert Scholte Assignee: Robert Scholte Fix For: 3.6.1 There's a slightly different result when the help-mojo is generated based on calling the clean-phase. Did makes it a bit harder to call it reproducible if you're not aware of this. Calling it with clean it always generates: {code} package name.of.the.package\r\n \n \n {code} Calling it afterwards without clean it always: {code} \n package name.of.the.package\n \n {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)