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

1. How to manually disable/blacklist Maven repository    stackoverflow.com

In my base project I use dependency of JasperReports which has non-existent repository declaration in its pom. When I run every Maven commad there is dependency looking for commons-collection in this ...

2. find dependencies in target/classes instead of local repository?    stackoverflow.com

Summary: I'm looking for a way to instruct maven to search for dependencies in target/classes instead of jar in the local repository Say I have 2 modules, A and B where A ...

3. Maven and db4o dependency    stackoverflow.com

I'm intrigued to test new frameworks in the Java world, and decided to create a new project that takes advantage of Maven and db4o. I'm starting to get a hang of ...

4. How to add Maven dependencies from different repositories    stackoverflow.com

For example, let's say I have a Maven build file that has dependencies located in two different repositories:

<repository>
    <id>id1</id>
    <name>id1</name>
    <url>http://localhost/mavenRepo/repository1</url>
</repository>

<repository>
  ...

5. Publish a library to maven repositories    stackoverflow.com

I have a stable opensource library and was wondering how (and if) I can publish my lib to maven official repositories so people can include it in their pom.xml ...

6. How to prevent maven to resolve dependencies in local repository    stackoverflow.com

Is there a way to tell maven (when doing mvn package, mvn site or ...) not to resolve the dependencies from the local repository? Background of this question: Sometimes I get into ...

7. Maven: use dependencies from repository when running command line app?    stackoverflow.com

I've used Maven to build my command line application. Now I'm going to distribute it as a jar file, and I need to handle the app's dependencies. I don't want to include ...

8. How to specify a repository for a dependency in Maven    stackoverflow.com

In projects with several dependencies and repositories, the try-and-error approach of Maven for downloading dependencies is a bit cumbersome and slow, so I was wondering if there is any way to ...

9. Checking a maven project's repository portability    stackoverflow.com

Is there any way to check all dependencies are downloadable from at least one listed repository? I was once omitted a required repository from my pom.xml. But maven didn't complain because those dependencies ...

10. Maven dependency resolution    stackoverflow.com

I am creating two projects with Maven. Project1 and Project2. I have a dependency with jar1.jar to create Project1.jar. Also, I have dependency with Project1.jar to create Project2.war. I'm providing "provided" scope for ...

11. Maven repository archive including build/plugin dependencies    stackoverflow.com

My Client wants to be able to build our project from source but does not want to connect to the internet to get any dependencies for the build. Note this ...

12. maven cannot find dependencies even in local repository    stackoverflow.com

I have just moved to a new machine and installed a new maven (version 3) but it keeps complaining about project dependencies even though I can see them in the repository ...

13. cannot resolve dependencies with maven    stackoverflow.com

I can't seem to do anything with maven because it can't download its dependencies. When I try to run a sample application from http://openejb.apache.org/ejb3-tutorial.html it gives me some errors


D:\apache-maven-3.0.3\openejbsamples\simple-stateless>mvn ...

14. Maven failing to resolve recursive dependencies with multiple repositories    stackoverflow.com

I'm new to maven so there must be something I don't understand. But, I've added multiple repositories to resolve multiple dependencies in my POM file. For some reason its ...

15. maven could not resolve dependency via my local nexus repository    stackoverflow.com

I have setup an in-house Sonatype Nexus repository and configure the maven to check my local Nexus instead of getting artifacts directly from public repositories. http://www.sonatype.com/books/nexus-book/reference/config-sect-intro.html Our project was able to ...

16. Find Maven repository where a dependency is stored    stackoverflow.com

I'm working on a project with several corporate remote Maven repositories, each hosting many dozens of dependencies. The entire project uses hundreds of dependencies and I need a way to ...

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.