dependency « POM « 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 » POM » dependency 

2. find pom dependencies by classname    stackoverflow.com

How can I found the dependency by classname? In particular, I want to include this class org.mortbay.jetty.testing.ServletTester in my project, how do I do that? And how did you find the answer? ...

3. Is there a simple way to remove unused dependencies from a maven pom.xml?    stackoverflow.com

I have a large Maven project with numerous modules and pom.xmls. and the project has changed that much that I'm sure the pom's must have some unnecessary dependencies in them. ...

4. Tool to determine licenses for pom.xml dependencies    stackoverflow.com

I'm looking for a tool that given a maven pom.xml file tells me all the licenses that are used by the dependencies (and recursively their dependencies). Does such a thing exist? Ideally ...

5. differences between dependencymanagement and dependencies of maven    stackoverflow.com

Hi: What is the differences between dependencymanagement and dependencies? I have seen the docs at apache maven web site.However I got nothing. It seems that a dependency defined under the DependencyManagement can be used ...

6. Add dependency to existing pom.xml via shell    stackoverflow.com

Is there a way to add dependencies to an existing pom.xml via shell script? Something like:

mvn dependency:add -DgroupID=com.acme -DartifactId=project
[Update] Clarified that I want to add to an existing pom

7. using pom for test scope dependencies    stackoverflow.com

Is it possible to create a pom file so it can be used inside another pom to add test scope dependencies? So in module E's pom.xml I have:

<dependencies>
  <dependency>
   ...

8. How to copy one Maven Pom.xml dependencies to other Pom.xml    stackoverflow.com

Is there any way I can copy one pom.xml dependencies into other pom.xml Update: Well, I have project A and Project B. Project B is using some dependencies ( like Junit.jar, commons-httpclient, commons-collections, ...

9. Resolving a Maven dependency differently if the JVM in use is x86 or x64?    stackoverflow.com

I have a Maven repository set up to host some dlls, but I need my Maven projects to download different dlls depending on whether the JVM in use is x86 or ...

10. How to check pom.xml for updated dependencies    stackoverflow.com

I am fairly new to Maven and pom.xml. Is there a way I can find out which of my dependencies that are outdated, so that I can update version numbers in ...

11. Is there a way to exclude a Maven dependency globally?    stackoverflow.com

I'm trying to find a "generic" way of excluding a transitive dependency from being included without having to exclude it from all the dependencies that depend on it. For example, ...

12. ha-jdbc dependency for maven 2    stackoverflow.com

could someone please post me the maven 2 dependency for ha-jdbc and if there is any need to add extra repository?

13. How can I checkout all dependencies used in a Maven POM?    stackoverflow.com

Given the following project setup:

  • Services
    • ServicePackage A
    • ServicePackage B
    • ServicePackage C
    • ...
  • Processes
    • Process 1 (depends on C)
    • Process 2 (depends on A & B)
    • Process 3 (depends on A & C)
    • ...
  • Applications
    • Application X (depends on 1 & 3)
    • Application Y ...

14. looking for up to date Maven dependencies/repos    stackoverflow.com

this far i've been working on projects without using any build manager, i've used Maven just once before and found it pretty useful, so i'd like to start implementing it on ...

15. How do I add a NAR dependency to a maven pom file?    stackoverflow.com

I'm trying to use JNI, and I'm using the maven-nar-plugin to package up the C++ code into a NAR. Now, I want to include this code in another Java project. How ...

16. How can I locate the POM which requests a missing POM?    stackoverflow.com

When I build my project, I get these warnings:

[INFO] ------------------------------------------------------------------------
[INFO] Building XXX
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.eclipse.update:org.eclipse.update.configurator:jar:3.2.0 is missing, no dependency information available
[WARNING] The POM for org.eclipse.emf:org.eclipse.emf.ecore:jar:2.3.2 is missing, no dependency ...

17. Multiple Dependency Scopes in POM    stackoverflow.com

I have a dependency in my POM that needs to be set to "provided" so it is not included at compilation, but it can still be referenced within my project. I ...

18. Can I avoid a dependency cycle with one edge being a test dependency?    stackoverflow.com

Consider a testCycle parent with modules DummyCore and TestFramework. TestFramework depends on DummyCore, and DummyCore has a test dedepency on TestFramework. Building and testing each module independently maven has no problems. ...

19. How can I view transitive dependencies of a Maven pom.xml file?    stackoverflow.com

Is there a CLI tool I can use to quickly view the transitive dependencies of a Maven pom.xml file?

20. Axis 2 maven dependencies    stackoverflow.com

I have to include axis 2 into my maven web project. I was wondering if the dependencies mentioned in the below questions suffice or do I need more? What's the minimum ...

21. maven2: how to use a pom.xml to retrieve the dependencies    stackoverflow.com

I have never worked with maven 2 but I have a basic idea about how it works. But I do not know how to work with it. I basically need some ...

22. Is declaring maven "dependencies" in pom.xml really necessary?    stackoverflow.com

I need some verification of how Maven works. How important is it for us to specify the project dependencies explicitly (<dependencies>) in pom.xml? Some said that it's necessary only when we need ...

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.