KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
First of all, let me start by saying mvn dependency:tree does not work in my scenario. I'm working on an already existing codebase which is giving a build failure. The issue was that the maven repos (including nexus) does not have a POM for a transitive dependency (org.apache.ws.security:wss4j:pom:1.5.2) in this project. I want to find where this dependency came from. It's probably a transitive dependency, because it isn't listed in the project's pom nor in parent poms. Invoking mvn dependency:tree does not work because it also fails with the same error I get when I use mvn install (Connection timeout). The error is given below. So, how can I identify which dependency tries to download this pom? I'd like a general answer to find the dependency tree rather than focusing on wss4j pom stated above. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Sample/XKMS 4.5.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://ws.zones.apache.org/repository2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom [WARNING] The POM for bouncycastle:bcprov-jdk13:jar:132 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3:10.155s [INFO] Finished at: Wed Mar 14 10:35:20 IST 2012 [INFO] Final Memory: 7M/490M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project wso2appserver-samples-xkms: Could not resolve dependencies for project org.wso2.appserver:wso2appserver-samples-xkms:jar:4.5.0-SNAPSHOT: Failed to collect dep
Tags (comma-separated)
Save Edits
Cancel