Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-alpha-3
-
None
Description
(Package: org.apache.maven.shared.dependency.analyzer)
DefaultProjectDependencyAnalyzer.buildArtifactClassMap(MavenProject) calls MavenProject.getArtifacts() and then passes the results of artifact.getFile().toURL() to DefaultClassAnalyzer.analyze(URL). This calls ClassFileVisitorUtils.accept(URL, ClassFileVisitor), which has some fairly restrictive requirements about what URLs it can receive.
The end result of this is that if you have a project with a non-jar type of dependency, Maven dies with an IllegalArgumentException
Attachments
Attachments
Issue Links
- relates to
-
MDEP-81 analyzer can't handle non-pom projects that don't produce a /target folder
- Closed