[jira] [Created] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
Candice Tosi Michelon created MINSTALL-194: -- Summary: Fail to install snapshot artifact when clean phase is used Key: MINSTALL-194 URL: https://issues.apache.org/jira/browse/MINSTALL-194 Project: Maven Install Plugin Issue Type: Bug Components: install:install Affects Versions: 3.1.1 Environment: Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9) Maven home: C:\Program Files\Maven\apache-maven-3.9.4 Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11 Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" Reporter: Candice Tosi Michelon {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects started failing in the install phase with the error below{*}: Failed to install artifact xx:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install (default-install) on project x: Failed to install artifact x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar Caused by: org.apache.maven.plugin.MojoExecutionException: Caused by: org.eclipse.aether.installation.InstallationException: Caused by: java.nio.file.AccessDeniedException: *Command used:* mvn clean install *All the projects affected have the following characteristics:* * Multi-modules * The clean phase is used at least once * The pmd check is performed * A jar snapshot of the module already existis in the maven repository folder (.m2) This is not a blocker issue because *it is still possible to build the projects and install the snapshots* in the local repository if the follwoing options are used: * Option 1: Avoid using the clean phase. Use only 'mvn install'. * Option 2: Use the following mvn commands: ** mvn clean ** mvn install -N ** mvn install -rf * Option 3: Use the following commands: ** mvn clean install (the build will fail trying to install the jar of one of the modules in the .m2 folder) ** mvn install -rf * Option 4: skip pmd check: ** mvn clean install -Dpmd.skip=true * Option 5: delete the jar snapshots previously installed in the maven repository folder. I can't provide a sample project or pom because I was not able to reproduce the issue in a new project. Also, there are other projects with the same characteristcs that does not present the problem, I could not identify any significant difference between them as dependencies and plugins versions, as well as build configuration, are all the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Candice Tosi Michelon updated MINSTALL-194: --- Description: {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects started failing in the install phase with the error below{*}: Failed to install artifact xx:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install (default-install) on project x: Failed to install artifact x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar Caused by: org.apache.maven.plugin.MojoExecutionException: Caused by: org.eclipse.aether.installation.InstallationException: Caused by: java.nio.file.AccessDeniedException: *Command used:* mvn clean install *All the projects affected have the following characteristics:* * Multi-modules * The clean phase is used at least once * The pmd check is performed * A jar snapshot of the module already existis in the maven repository folder (.m2) This is not a blocker issue because *it is still possible to build the projects and install the snapshots* in the local repository if the follwoing options are used: * Option 1: Avoid using the clean phase. Use only 'mvn install'. * Option 2: Use the following mvn commands: ** mvn clean ** mvn install -N ** mvn install -rf * Option 3: Use the following commands: ** mvn clean install (the build will fail trying to install the jar of one of the modules in the .m2 folder) ** mvn install -rf * Option 4: skip pmd check: ** mvn clean install -Dpmd.skip=true * Option 5: delete the jar snapshots previously installed in the maven repository folder. I can't provide a sample project or pom because I was not able to reproduce the issue in a new project. Also, there are other projects with the same characteristcs that does not present the problem, I could not identify any significant difference between them as dependencies and plugins versions, as well as build configuration, are mostly the same. was: {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects started failing in the install phase with the error below{*}: Failed to install artifact xx:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install (default-install) on project x: Failed to install artifact x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar Caused by: org.apache.maven.plugin.MojoExecutionException: Caused by: org.eclipse.aether.installation.InstallationException: Caused by: java.nio.file.AccessDeniedException: *Command used:* mvn clean install *All the projects affected have the following characteristics:* * Multi-modules * The clean phase is used at least once * The pmd check is performed * A jar snapshot of the module already existis in the maven repository folder (.m2) This is not a blocker issue because *it is still possible to build the projects and install the snapshots* in the local repository if the follwoing options are used: * Option 1: Avoid using the clean phase. Use only 'mvn install'. * Option 2: Use the following mvn commands: ** mvn clean ** mvn install -N ** mvn install -rf * Option 3: Use the following commands: ** mvn clean install (the build will fail trying to install the jar of one of the modules in the .m2 folder) ** mvn install -rf * Option 4: skip pmd check: ** mvn clean install -Dpmd.skip=true * Option 5: delete the jar snapshots previously installed in the maven repository folder. I can't provide a sample project or pom because I was not able to reproduce the issue in a new project. Also, there are other projects with the same characteristcs that does not present the problem, I could not identify any significant difference between them as dependencies and plugins versions, as well as build configuration, are all the same. > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.4 > (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9) > Maven home: C:\Program Files\Maven\apache-maven-3.9.4 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >
[jira] [Updated] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Candice Tosi Michelon updated MINSTALL-194: --- Environment: Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546) Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11 Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" was: Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9) Maven home: C:\Program Files\Maven\apache-maven-3.9.4 Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11 Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.5 > (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: Candice Tosi Michelon >Priority: Minor > > {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects > started failing in the install phase with the error below{*}: > Failed to install artifact xx:jar:1.1-SNAPSHOT: > x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install > (default-install) on project x: Failed to install artifact > x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar > Caused by: org.apache.maven.plugin.MojoExecutionException: > Caused by: org.eclipse.aether.installation.InstallationException: > Caused by: java.nio.file.AccessDeniedException: > > *Command used:* mvn clean install > > *All the projects affected have the following characteristics:* > * Multi-modules > * The clean phase is used at least once > * The pmd check is performed > * A jar snapshot of the module already existis in the maven repository > folder (.m2) > This is not a blocker issue because *it is still possible to build the > projects and install the snapshots* in the local repository if the follwoing > options are used: > * Option 1: Avoid using the clean phase. Use only 'mvn install'. > * Option 2: Use the following mvn commands: > ** mvn clean > ** mvn install -N > ** mvn install -rf > * Option 3: Use the following commands: > ** mvn clean install (the build will fail trying to install the jar of one > of the modules in the .m2 folder) > ** mvn install -rf installed> > * Option 4: skip pmd check: > ** mvn clean install -Dpmd.skip=true > * Option 5: delete the jar snapshots previously installed in the maven > repository folder. > I can't provide a sample project or pom because I was not able to reproduce > the issue in a new project. Also, there are other projects with the same > characteristcs that does not present the problem, I could not identify any > significant difference between them as dependencies and plugins versions, as > well as build configuration, are mostly the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779599#comment-17779599 ] Candice Tosi Michelon commented on MINSTALL-194: Even after upgrading to 3.9.5 the problem still occurs. I updated the environment field with the last test I did. > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.5 > (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: Candice Tosi Michelon >Priority: Minor > > {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects > started failing in the install phase with the error below{*}: > Failed to install artifact xx:jar:1.1-SNAPSHOT: > x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install > (default-install) on project x: Failed to install artifact > x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar > Caused by: org.apache.maven.plugin.MojoExecutionException: > Caused by: org.eclipse.aether.installation.InstallationException: > Caused by: java.nio.file.AccessDeniedException: > > *Command used:* mvn clean install > > *All the projects affected have the following characteristics:* > * Multi-modules > * The clean phase is used at least once > * The pmd check is performed > * A jar snapshot of the module already existis in the maven repository > folder (.m2) > This is not a blocker issue because *it is still possible to build the > projects and install the snapshots* in the local repository if the follwoing > options are used: > * Option 1: Avoid using the clean phase. Use only 'mvn install'. > * Option 2: Use the following mvn commands: > ** mvn clean > ** mvn install -N > ** mvn install -rf > * Option 3: Use the following commands: > ** mvn clean install (the build will fail trying to install the jar of one > of the modules in the .m2 folder) > ** mvn install -rf installed> > * Option 4: skip pmd check: > ** mvn clean install -Dpmd.skip=true > * Option 5: delete the jar snapshots previously installed in the maven > repository folder. > I can't provide a sample project or pom because I was not able to reproduce > the issue in a new project. Also, there are other projects with the same > characteristcs that does not present the problem, I could not identify any > significant difference between them as dependencies and plugins versions, as > well as build configuration, are mostly the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779599#comment-17779599 ] Candice Tosi Michelon edited comment on MINSTALL-194 at 10/25/23 5:55 PM: -- Even after upgrading to 3.9.5 the problem still occurs. I updated the environment field with the maven version used in the last test I did. was (Author: JIRAUSER302781): Even after upgrading to 3.9.5 the problem still occurs. I updated the environment field with the last test I did. > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.5 > (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: Candice Tosi Michelon >Priority: Minor > > {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects > started failing in the install phase with the error below{*}: > Failed to install artifact xx:jar:1.1-SNAPSHOT: > x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install > (default-install) on project x: Failed to install artifact > x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar > Caused by: org.apache.maven.plugin.MojoExecutionException: > Caused by: org.eclipse.aether.installation.InstallationException: > Caused by: java.nio.file.AccessDeniedException: > > *Command used:* mvn clean install > > *All the projects affected have the following characteristics:* > * Multi-modules > * The clean phase is used at least once > * The pmd check is performed > * A jar snapshot of the module already existis in the maven repository > folder (.m2) > This is not a blocker issue because *it is still possible to build the > projects and install the snapshots* in the local repository if the follwoing > options are used: > * Option 1: Avoid using the clean phase. Use only 'mvn install'. > * Option 2: Use the following mvn commands: > ** mvn clean > ** mvn install -N > ** mvn install -rf > * Option 3: Use the following commands: > ** mvn clean install (the build will fail trying to install the jar of one > of the modules in the .m2 folder) > ** mvn install -rf installed> > * Option 4: skip pmd check: > ** mvn clean install -Dpmd.skip=true > * Option 5: delete the jar snapshots previously installed in the maven > repository folder. > I can't provide a sample project or pom because I was not able to reproduce > the issue in a new project. Also, there are other projects with the same > characteristcs that does not present the problem, I could not identify any > significant difference between them as dependencies and plugins versions, as > well as build configuration, are mostly the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779609#comment-17779609 ] Candice Tosi Michelon commented on MINSTALL-194: Sure, I uploaded a txt file with it. > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.5 > (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: Candice Tosi Michelon >Priority: Minor > Attachments: StackTrace.txt > > > {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects > started failing in the install phase with the error below{*}: > Failed to install artifact xx:jar:1.1-SNAPSHOT: > x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install > (default-install) on project x: Failed to install artifact > x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar > Caused by: org.apache.maven.plugin.MojoExecutionException: > Caused by: org.eclipse.aether.installation.InstallationException: > Caused by: java.nio.file.AccessDeniedException: > > *Command used:* mvn clean install > > *All the projects affected have the following characteristics:* > * Multi-modules > * The clean phase is used at least once > * The pmd check is performed > * A jar snapshot of the module already existis in the maven repository > folder (.m2) > This is not a blocker issue because *it is still possible to build the > projects and install the snapshots* in the local repository if the follwoing > options are used: > * Option 1: Avoid using the clean phase. Use only 'mvn install'. > * Option 2: Use the following mvn commands: > ** mvn clean > ** mvn install -N > ** mvn install -rf > * Option 3: Use the following commands: > ** mvn clean install (the build will fail trying to install the jar of one > of the modules in the .m2 folder) > ** mvn install -rf installed> > * Option 4: skip pmd check: > ** mvn clean install -Dpmd.skip=true > * Option 5: delete the jar snapshots previously installed in the maven > repository folder. > I can't provide a sample project or pom because I was not able to reproduce > the issue in a new project. Also, there are other projects with the same > characteristcs that does not present the problem, I could not identify any > significant difference between them as dependencies and plugins versions, as > well as build configuration, are mostly the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Candice Tosi Michelon updated MINSTALL-194: --- Attachment: StackTrace.txt > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.5 > (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: Candice Tosi Michelon >Priority: Minor > Attachments: StackTrace.txt > > > {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects > started failing in the install phase with the error below{*}: > Failed to install artifact xx:jar:1.1-SNAPSHOT: > x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install > (default-install) on project x: Failed to install artifact > x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar > Caused by: org.apache.maven.plugin.MojoExecutionException: > Caused by: org.eclipse.aether.installation.InstallationException: > Caused by: java.nio.file.AccessDeniedException: > > *Command used:* mvn clean install > > *All the projects affected have the following characteristics:* > * Multi-modules > * The clean phase is used at least once > * The pmd check is performed > * A jar snapshot of the module already existis in the maven repository > folder (.m2) > This is not a blocker issue because *it is still possible to build the > projects and install the snapshots* in the local repository if the follwoing > options are used: > * Option 1: Avoid using the clean phase. Use only 'mvn install'. > * Option 2: Use the following mvn commands: > ** mvn clean > ** mvn install -N > ** mvn install -rf > * Option 3: Use the following commands: > ** mvn clean install (the build will fail trying to install the jar of one > of the modules in the .m2 folder) > ** mvn install -rf installed> > * Option 4: skip pmd check: > ** mvn clean install -Dpmd.skip=true > * Option 5: delete the jar snapshots previously installed in the maven > repository folder. > I can't provide a sample project or pom because I was not able to reproduce > the issue in a new project. Also, there are other projects with the same > characteristcs that does not present the problem, I could not identify any > significant difference between them as dependencies and plugins versions, as > well as build configuration, are mostly the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779609#comment-17779609 ] Candice Tosi Michelon edited comment on MINSTALL-194 at 10/25/23 6:07 PM: -- Sure, I uploaded a txt file the full stack with -e. was (Author: JIRAUSER302781): Sure, I uploaded a txt file with it. > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.5 > (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: Candice Tosi Michelon >Priority: Minor > Attachments: StackTrace.txt > > > {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects > started failing in the install phase with the error below{*}: > Failed to install artifact xx:jar:1.1-SNAPSHOT: > x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install > (default-install) on project x: Failed to install artifact > x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar > Caused by: org.apache.maven.plugin.MojoExecutionException: > Caused by: org.eclipse.aether.installation.InstallationException: > Caused by: java.nio.file.AccessDeniedException: > > *Command used:* mvn clean install > > *All the projects affected have the following characteristics:* > * Multi-modules > * The clean phase is used at least once > * The pmd check is performed > * A jar snapshot of the module already existis in the maven repository > folder (.m2) > This is not a blocker issue because *it is still possible to build the > projects and install the snapshots* in the local repository if the follwoing > options are used: > * Option 1: Avoid using the clean phase. Use only 'mvn install'. > * Option 2: Use the following mvn commands: > ** mvn clean > ** mvn install -N > ** mvn install -rf > * Option 3: Use the following commands: > ** mvn clean install (the build will fail trying to install the jar of one > of the modules in the .m2 folder) > ** mvn install -rf installed> > * Option 4: skip pmd check: > ** mvn clean install -Dpmd.skip=true > * Option 5: delete the jar snapshots previously installed in the maven > repository folder. > I can't provide a sample project or pom because I was not able to reproduce > the issue in a new project. Also, there are other projects with the same > characteristcs that does not present the problem, I could not identify any > significant difference between them as dependencies and plugins versions, as > well as build configuration, are mostly the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Candice Tosi Michelon updated MINSTALL-194: --- Attachment: StackTraceDebug.txt > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.5 > (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: Candice Tosi Michelon >Priority: Minor > Attachments: StackTrace.txt, StackTraceDebug.txt > > > {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects > started failing in the install phase with the error below{*}: > Failed to install artifact xx:jar:1.1-SNAPSHOT: > x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install > (default-install) on project x: Failed to install artifact > x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar > Caused by: org.apache.maven.plugin.MojoExecutionException: > Caused by: org.eclipse.aether.installation.InstallationException: > Caused by: java.nio.file.AccessDeniedException: > > *Command used:* mvn clean install > > *All the projects affected have the following characteristics:* > * Multi-modules > * The clean phase is used at least once > * The pmd check is performed > * A jar snapshot of the module already existis in the maven repository > folder (.m2) > This is not a blocker issue because *it is still possible to build the > projects and install the snapshots* in the local repository if the follwoing > options are used: > * Option 1: Avoid using the clean phase. Use only 'mvn install'. > * Option 2: Use the following mvn commands: > ** mvn clean > ** mvn install -N > ** mvn install -rf > * Option 3: Use the following commands: > ** mvn clean install (the build will fail trying to install the jar of one > of the modules in the .m2 folder) > ** mvn install -rf installed> > * Option 4: skip pmd check: > ** mvn clean install -Dpmd.skip=true > * Option 5: delete the jar snapshots previously installed in the maven > repository folder. > I can't provide a sample project or pom because I was not able to reproduce > the issue in a new project. Also, there are other projects with the same > characteristcs that does not present the problem, I could not identify any > significant difference between them as dependencies and plugins versions, as > well as build configuration, are mostly the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779620#comment-17779620 ] Candice Tosi Michelon edited comment on MINSTALL-194 at 10/25/23 6:26 PM: -- I uploaded another file with -X option, but only the last part of the output, when install plugin starts. Please let me know if you need other parts of the output. was (Author: JIRAUSER302781): I uploaded another file with -X option, but only the last part of the output, when install plugin starts. Please let me know if you need other parts of the outoput. > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.5 > (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: Candice Tosi Michelon >Priority: Minor > Attachments: StackTrace.txt, StackTraceDebug.txt > > > {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects > started failing in the install phase with the error below{*}: > Failed to install artifact xx:jar:1.1-SNAPSHOT: > x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install > (default-install) on project x: Failed to install artifact > x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar > Caused by: org.apache.maven.plugin.MojoExecutionException: > Caused by: org.eclipse.aether.installation.InstallationException: > Caused by: java.nio.file.AccessDeniedException: > > *Command used:* mvn clean install > > *All the projects affected have the following characteristics:* > * Multi-modules > * The clean phase is used at least once > * The pmd check is performed > * A jar snapshot of the module already existis in the maven repository > folder (.m2) > This is not a blocker issue because *it is still possible to build the > projects and install the snapshots* in the local repository if the follwoing > options are used: > * Option 1: Avoid using the clean phase. Use only 'mvn install'. > * Option 2: Use the following mvn commands: > ** mvn clean > ** mvn install -N > ** mvn install -rf > * Option 3: Use the following commands: > ** mvn clean install (the build will fail trying to install the jar of one > of the modules in the .m2 folder) > ** mvn install -rf installed> > * Option 4: skip pmd check: > ** mvn clean install -Dpmd.skip=true > * Option 5: delete the jar snapshots previously installed in the maven > repository folder. > I can't provide a sample project or pom because I was not able to reproduce > the issue in a new project. Also, there are other projects with the same > characteristcs that does not present the problem, I could not identify any > significant difference between them as dependencies and plugins versions, as > well as build configuration, are mostly the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779620#comment-17779620 ] Candice Tosi Michelon commented on MINSTALL-194: I uploaded another file with -X option, but only the last part of the output, when install plugin starts. Please let me know if you need other parts of the outoput. > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.5 > (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: Candice Tosi Michelon >Priority: Minor > Attachments: StackTrace.txt, StackTraceDebug.txt > > > {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects > started failing in the install phase with the error below{*}: > Failed to install artifact xx:jar:1.1-SNAPSHOT: > x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install > (default-install) on project x: Failed to install artifact > x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar > Caused by: org.apache.maven.plugin.MojoExecutionException: > Caused by: org.eclipse.aether.installation.InstallationException: > Caused by: java.nio.file.AccessDeniedException: > > *Command used:* mvn clean install > > *All the projects affected have the following characteristics:* > * Multi-modules > * The clean phase is used at least once > * The pmd check is performed > * A jar snapshot of the module already existis in the maven repository > folder (.m2) > This is not a blocker issue because *it is still possible to build the > projects and install the snapshots* in the local repository if the follwoing > options are used: > * Option 1: Avoid using the clean phase. Use only 'mvn install'. > * Option 2: Use the following mvn commands: > ** mvn clean > ** mvn install -N > ** mvn install -rf > * Option 3: Use the following commands: > ** mvn clean install (the build will fail trying to install the jar of one > of the modules in the .m2 folder) > ** mvn install -rf installed> > * Option 4: skip pmd check: > ** mvn clean install -Dpmd.skip=true > * Option 5: delete the jar snapshots previously installed in the maven > repository folder. > I can't provide a sample project or pom because I was not able to reproduce > the issue in a new project. Also, there are other projects with the same > characteristcs that does not present the problem, I could not identify any > significant difference between them as dependencies and plugins versions, as > well as build configuration, are mostly the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Candice Tosi Michelon updated MINSTALL-194: --- Attachment: image-2023-11-16-08-15-07-597.png > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.5 > (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: Candice Tosi Michelon >Priority: Minor > Attachments: StackTrace.txt, StackTraceDebug.txt, > image-2023-11-16-08-15-07-597.png > > > {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects > started failing in the install phase with the error below{*}: > Failed to install artifact xx:jar:1.1-SNAPSHOT: > x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install > (default-install) on project x: Failed to install artifact > x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar > Caused by: org.apache.maven.plugin.MojoExecutionException: > Caused by: org.eclipse.aether.installation.InstallationException: > Caused by: java.nio.file.AccessDeniedException: > > *Command used:* mvn clean install > > *All the projects affected have the following characteristics:* > * Multi-modules > * The clean phase is used at least once > * The pmd check is performed > * A jar snapshot of the module already existis in the maven repository > folder (.m2) > This is not a blocker issue because *it is still possible to build the > projects and install the snapshots* in the local repository if the follwoing > options are used: > * Option 1: Avoid using the clean phase. Use only 'mvn install'. > * Option 2: Use the following mvn commands: > ** mvn clean > ** mvn install -N > ** mvn install -rf > * Option 3: Use the following commands: > ** mvn clean install (the build will fail trying to install the jar of one > of the modules in the .m2 folder) > ** mvn install -rf installed> > * Option 4: skip pmd check: > ** mvn clean install -Dpmd.skip=true > * Option 5: delete the jar snapshots previously installed in the maven > repository folder. > I can't provide a sample project or pom because I was not able to reproduce > the issue in a new project. Also, there are other projects with the same > characteristcs that does not present the problem, I could not identify any > significant difference between them as dependencies and plugins versions, as > well as build configuration, are mostly the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17786710#comment-17786710 ] Candice Tosi Michelon commented on MINSTALL-194: This issue was fixed by removing the tag 'aggregate' from pmd plugin configuration. !image-2023-11-16-08-15-07-597.png! This solution was based on maven PMD plugin team's suggestion Now all our builds are running smoothly again. > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.5 > (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: Candice Tosi Michelon >Priority: Minor > Attachments: StackTrace.txt, StackTraceDebug.txt, > image-2023-11-16-08-15-07-597.png > > > {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects > started failing in the install phase with the error below{*}: > Failed to install artifact xx:jar:1.1-SNAPSHOT: > x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install > (default-install) on project x: Failed to install artifact > x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar > Caused by: org.apache.maven.plugin.MojoExecutionException: > Caused by: org.eclipse.aether.installation.InstallationException: > Caused by: java.nio.file.AccessDeniedException: > > *Command used:* mvn clean install > > *All the projects affected have the following characteristics:* > * Multi-modules > * The clean phase is used at least once > * The pmd check is performed > * A jar snapshot of the module already existis in the maven repository > folder (.m2) > This is not a blocker issue because *it is still possible to build the > projects and install the snapshots* in the local repository if the follwoing > options are used: > * Option 1: Avoid using the clean phase. Use only 'mvn install'. > * Option 2: Use the following mvn commands: > ** mvn clean > ** mvn install -N > ** mvn install -rf > * Option 3: Use the following commands: > ** mvn clean install (the build will fail trying to install the jar of one > of the modules in the .m2 folder) > ** mvn install -rf installed> > * Option 4: skip pmd check: > ** mvn clean install -Dpmd.skip=true > * Option 5: delete the jar snapshots previously installed in the maven > repository folder. > I can't provide a sample project or pom because I was not able to reproduce > the issue in a new project. Also, there are other projects with the same > characteristcs that does not present the problem, I could not identify any > significant difference between them as dependencies and plugins versions, as > well as build configuration, are mostly the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (MINSTALL-194) Fail to install snapshot artifact when clean phase is used
[ https://issues.apache.org/jira/browse/MINSTALL-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17786710#comment-17786710 ] Candice Tosi Michelon edited comment on MINSTALL-194 at 11/16/23 11:20 AM: --- This issue was fixed by removing the tag 'aggregate' from pmd plugin configuration. !image-2023-11-16-08-15-07-597.png! This solution was based on [maven PMD plugin team's suggestion|https://issues.apache.org/jira/browse/MPMD-277?focusedCommentId=16814718&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16814718] Now all our builds are running smoothly again. was (Author: JIRAUSER302781): This issue was fixed by removing the tag 'aggregate' from pmd plugin configuration. !image-2023-11-16-08-15-07-597.png! This solution was based on maven PMD plugin team's suggestion Now all our builds are running smoothly again. > Fail to install snapshot artifact when clean phase is used > -- > > Key: MINSTALL-194 > URL: https://issues.apache.org/jira/browse/MINSTALL-194 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install >Affects Versions: 3.1.1 > Environment: Apache Maven 3.9.5 > (57804ffe001d7215b5e7bcb531cf83df38f93546) > Maven home: C:\Program Files\Maven\apache-maven-3.9.5-bin\apache-maven-3.9.5 > Java version: 11.0.18, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk-11 > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: Candice Tosi Michelon >Priority: Minor > Attachments: StackTrace.txt, StackTraceDebug.txt, > image-2023-11-16-08-15-07-597.png > > > {*}After ugrading maven from version 3.6.3 to 3.9.4 a few maven projects > started failing in the install phase with the error below{*}: > Failed to install artifact xx:jar:1.1-SNAPSHOT: > x-1.1-SNAPSHOT.jar.3154215231322123456.tmp -> x-1.1-SNAPSHOT.jar -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install > (default-install) on project x: Failed to install artifact > x:jar:1.1-SNAPSHOT: x-1.1-SNAPSHOT.jar > Caused by: org.apache.maven.plugin.MojoExecutionException: > Caused by: org.eclipse.aether.installation.InstallationException: > Caused by: java.nio.file.AccessDeniedException: > > *Command used:* mvn clean install > > *All the projects affected have the following characteristics:* > * Multi-modules > * The clean phase is used at least once > * The pmd check is performed > * A jar snapshot of the module already existis in the maven repository > folder (.m2) > This is not a blocker issue because *it is still possible to build the > projects and install the snapshots* in the local repository if the follwoing > options are used: > * Option 1: Avoid using the clean phase. Use only 'mvn install'. > * Option 2: Use the following mvn commands: > ** mvn clean > ** mvn install -N > ** mvn install -rf > * Option 3: Use the following commands: > ** mvn clean install (the build will fail trying to install the jar of one > of the modules in the .m2 folder) > ** mvn install -rf installed> > * Option 4: skip pmd check: > ** mvn clean install -Dpmd.skip=true > * Option 5: delete the jar snapshots previously installed in the maven > repository folder. > I can't provide a sample project or pom because I was not able to reproduce > the issue in a new project. Also, there are other projects with the same > characteristcs that does not present the problem, I could not identify any > significant difference between them as dependencies and plugins versions, as > well as build configuration, are mostly the same. -- This message was sent by Atlassian Jira (v8.20.10#820010)