When I call mvn dependency:tree in my project, I get the following warnings and errors:
[WARNING] POM for com.sun.xml.stream.buffer: streambuffer: jar: 0.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] POM for org.jvnet.staxex: stax-ex: jar: 1.0 is invalid, transit dependencies (if any) will not be available, enable debug logging for more details
[ERROR] Failed to execute the target org.apache.maven.plugins: maven-dependency-plugin: 2.1: tree (default-cli) in the rdbms-service project: Executing default-cli of the target org.apache.maven. plugins: maven-dependency-plugin: 2.1: tree failed: for artifact {org.jvnet.staxex: stax-ex: null: jar}: version cannot be empty. β [Help 1]
However, since tree assembly does not work, I donβt know which dependency pulls these invalid dependencies. Is there any way to find out?
I tried to exclude these banks using mvn dependency:tree -Dexcludes=*stream.buffer,*staxex , but that doesn't matter.
java maven dependencies
Mikefhay
source share