[ https://issues.apache.org/jira/browse/MNG-8617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filipe Roque updated MNG-8617: ------------------------------ Summary: sonar-maven-plugin fails with Maven 4.0.0-rc3 with UnsupportedOperationException (was: sona-maven-plugin fails with Maven 4.0.0-rc3 with UnsupportedOperationException) > sonar-maven-plugin fails with Maven 4.0.0-rc3 with > UnsupportedOperationException > -------------------------------------------------------------------------------- > > Key: MNG-8617 > URL: https://issues.apache.org/jira/browse/MNG-8617 > Project: Maven > Issue Type: Bug > Affects Versions: 4.0.0-rc-3 > Reporter: Filipe Roque > Priority: Major > > {code:java} > ❯ docker run -d \ > --name sonarqube \ > -e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true \ > -p 9000:9000 \ > sonarqube:lts-community > {code} > {code:java} > ❯ cat pom.xml > <project> > <modelVersion>4.0.0</modelVersion> > <groupId>com.mycompany.app</groupId> > <artifactId>my-app</artifactId> > <version>1</version> > </project> > {code} > {code:java} > ❯ /opt/maven/apache-maven-4.0.0-rc-2/bin/mvn -q \ > org.sonarsource.scanner.maven:sonar-maven-plugin:5.0.0.4389:sonar \ > -Dsonar.login=admin \ > -Dsonar.password=admin \ > -Dsonar.host.url=http://localhost:9000/ > {code} > {code:java} > ❯ /opt/maven/apache-maven-4.0.0-rc-3/bin/mvn -q \ > org.sonarsource.scanner.maven:sonar-maven-plugin:5.0.0.4389:sonar \ > -Dsonar.login=admin \ > -Dsonar.password=admin \ > -Dsonar.host.url=http://localhost:9000/ > [ERROR] Failed to execute goal > org.sonarsource.scanner.maven:sonar-maven-plugin:5.0.0.4389:sonar > (default-cli) on project my-app: null: MojoExecutionException: > UnsupportedOperationException -> [Help 1] > [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 verbose output > [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/MojoExecutionException > {code} > > > -- This message was sent by Atlassian Jira (v8.20.10#820010)