[
https://issues.apache.org/jira/browse/MNG-7744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17702698#comment-17702698
]
Tamas Cservenak commented on MNG-7744:
--------------------------------------
Same impsort plugin, please update
> Broken compatibility with Apache Mina SSHD build
> ------------------------------------------------
>
> Key: MNG-7744
> URL: https://issues.apache.org/jira/browse/MNG-7744
> Project: Maven
> Issue Type: Bug
> Affects Versions: 3.9.0
> Reporter: Gary D. Gregory
> Priority: Major
>
> The following works fine with 3.8.7:
> # git clone [https://gitbox.apache.org/repos/asf/mina-sshd.git]
> # cd mina-sshd
> # mvn -V clean install javadoc:javadoc
> {noformat}
> Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
> Maven home: C:\java\apache-maven-3.9.0
> Java version: 1.8.0_362, vendor: Temurin, runtime: C:\Program Files\Eclipse
> Adoptium\jdk-8.0.362.9-hotspot\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
> ...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 32.853 s
> [INFO] Finished at: 2023-03-20T09:14:04-04:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> net.revelc.code:impsort-maven-plugin:1.6.2:sort (sort-imports) on project
> sshd-common: Execution sort-imports of goal
> net.revelc.code:impsort-maven-plugin:1.6.2:sort failed: A required class was
> missing while executing net.revelc.code:impsort-maven-plugin:1.6.2:sort:
> org/codehaus/plexus/util/DirectoryScanner
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>net.revelc.code:impsort-maven-plugin:1.6.2
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] =
> file:/C:/Users/ggregory/.m2/repository/net/revelc/code/impsort-maven-plugin/1.6.2/impsort-maven-plugin-1.6.2.jar
> [ERROR] urls[1] =
> file:/C:/Users/ggregory/.m2/repository/com/github/javaparser/javaparser-core/3.22.1/javaparser-core-3.22.1.jar
> [ERROR] urls[2] =
> file:/C:/Users/ggregory/.m2/repository/com/google/guava/guava/30.1.1-jre/guava-30.1.1-jre.jar
> [ERROR] urls[3] =
> file:/C:/Users/ggregory/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
> [ERROR] urls[4] =
> file:/C:/Users/ggregory/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
> [ERROR] urls[5] =
> file:/C:/Users/ggregory/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
> [ERROR] urls[6] =
> file:/C:/Users/ggregory/.m2/repository/org/checkerframework/checker-qual/3.8.0/checker-qual-3.8.0.jar
> [ERROR] urls[7] =
> file:/C:/Users/ggregory/.m2/repository/com/google/errorprone/error_prone_annotations/2.5.1/error_prone_annotations-2.5.1.jar
> [ERROR] urls[8] =
> file:/C:/Users/ggregory/.m2/repository/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm
> ClassRealm[project>org.apache.sshd:sshd:2.9.3-SNAPSHOT, parent:
> ClassRealm[maven.api, parent: null]]]
> [ERROR]
> [ERROR] -----------------------------------------------------
> [ERROR] : org.codehaus.plexus.util.DirectoryScanner
> [ERROR] -> [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 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/PluginContainerException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <args> -rf :sshd-common
> {noformat}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)