transitive « dependency « Maven/Ant Q&A

Home
Maven/Ant Q&A
1.Ant
2.artifact
3.dependency
4.deploy
5.Development
6.eclipse
7.glassfish
8.hudson
9.integration
10.jetty
11.junit
12.m2eclipse
13.module
14.netbeans
15.package
16.plugin
17.POM
18.repository
19.svn
Maven/Ant Q&A » dependency » transitive 

1. In Maven 2, how do I know from which dependency comes a transitive dependency?    stackoverflow.com

I would like to know which dependency described in my pom.xml brings a transitive dependency in my target directory. To be more precise, I have the library "poi-2.5.1-final-20040804.jar" in my WEB-INF/lib directory ...

2. How to exclude all transitive dependencies of a Maven dependency    stackoverflow.com

Right now, in Maven2, to exclude a single transitive dependency, I have to do something like:

  <dependency>
  <groupId>sample.group</groupId>
  <artifactId>sample-artifactB</artifactId>
  <version>1</version>
   <exclusions>
     ...

3. Maven: remove a single transitive dependency    stackoverflow.com

My project includes a jar file because it is listed as a transitive dependency. However, I have verified not only that I don't need it but it causes problems because a class ...

4. Why does a dependency with scope "provided" hide transitive dependencies in Maven?    stackoverflow.com

I have three modules in my Maven project (this is slightly simplified):

  • model contains JPA annotated entity classes
  • persistence instantiates an EntityManager and calls methods on it
  • application creates instances of the classes in ...

5. maven assemblies. Putting each dependency with transitive dependencies in own directory?    stackoverflow.com

I have a maven project which consists of a few modules. This is to be deployed on a client machine and will involve installing Tomcat and will make use of NSIS ...

6. Maven. Transitive dependencies    stackoverflow.com

This is a novice question. My project P depends on dependency A which depends on dependency B. My project's pom.xml file includes A as a dependency, and its jar is included ...

7. Maven : Parent project not resolved, transitive dependencies not used for compiling    stackoverflow.com

After searching and trying a lot of things I need a Maven maven :)
So, my problem is that on my development box (which is Windows 2003) I can build my maven ...

8. Transitive dependencies in Maven2    stackoverflow.com

I've just started using Maven2 after using Ant for the last 3 years. So far I like what I'm seeing but I'm still getting to grips with the structure of the ...

9. Maven transitive dependency problem    stackoverflow.com

I have the following setup:

  • Master: has modules A and B
  • A: declares a dependency on B, Master as its parent
  • B: Master as its parent
So basically Master has a parent pom which builds ...

10. Maven: How do you deal with dependencies that are both direct and transitive?    stackoverflow.com

I'm trying to determine an approach to the following situation: There are 3 Maven artifacts: A, B, and C. B depends on A. (i.e. it uses some of A's code) C depends on both ...

11. dependency mechanism ( overriding transitive version )    stackoverflow.com

I am trying to explicitly override a transitive dependencies version, but doesn't seem to work. I have this in my projects pom

<!-- use no-commons-logging -->
<dependency>
    <groupId>commons-logging</groupId>
    ...

12. Transitive third party dependencies with Maven    stackoverflow.com

I am developing application that uses Cassandra NoSQL database and I am adding web interface. I have 2 projects: cassandra-access (this project is DAL) and web (this project is web application). Scenario ...

13. Maven assembly dependency set with include doesn't pick up transitive dependencies    stackoverflow.com

I'm having a spot of bother with the Maven assembly goal. I have a project which has a number of dependencies each of which may have their own transitive dependencies. If ...

14. Maven settings.xml property is not resolved in transitive dependency    stackoverflow.com

I have a property in settings.xml,

fwk.version = "2.0.001"
Other side, a multiproject with two projects, earmodule and ejbmodule. ejbmodule has a dependency:
    <dependency>
      ...

15. Maven - transitive dependencies with different versions    stackoverflow.com

  • lets assume my application needs foo.jar and bar.jar
  • foo.jar needs version 1.0 of c.jar
  • bar.jar needs version 2.0 of c.jar
How does Maven resolve this conflict? Which version of c.jar will be used?

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.