talios commented on issue #524:
URL: 
https://github.com/apache/maven-dependency-plugin/issues/524#issuecomment-2874930744

   Would love to see this updated - looking at the projects `pom.xml`, I see 
this is likely fixed in `maven-dependency-analyer`, which had a recent release 
(last month), so updating `<version>1.15.1</version>` to 
`<version>1.16.0</version>` would likely resolve the issue.
   
   However, updating that locally and building (under 24) gives me:
   
   ```
   [ERROR] Failed to execute goal 
org.eclipse.sisu:sisu-maven-plugin:0.9.0.M3:main-index (index-project) on 
project maven-dependency-plugin: Execution index-project of goal 
org.eclipse.sisu:sisu-maven-plugin:0.9.0.M3:main-index failed: Problem scanning 
file:/Users/amrk/IdeaProjects/upstream/maven-dependency-plugin/target/classes/org/apache/maven/plugins/dependency/resolvers/OldResolveDependencySourcesMojo.class:
 Problem scanning jrt:/java.base/java/lang/Deprecated.class: Unsupported class 
file major version 68 -> [Help 1]
   ```
   
   Building under 23 succeeds, then running `mvn 
dependency:3.8.2-SNAPSHOT:analyze` on my project passes.
   
   I can raise a PR if desired, tho the change is just ```
   diff --git i/pom.xml w/pom.xml
   index 2cbae8d1..4013f229 100644
   --- i/pom.xml
   +++ w/pom.xml
   @@ -217,7 +217,7 @@ under the License.
        <dependency>
          <groupId>org.apache.maven.shared</groupId>
          <artifactId>maven-dependency-analyzer</artifactId>
   -      <version>1.15.1</version>
   +      <version>1.16.0</version>
        </dependency>
        <dependency>
   ```
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to