Questions tagged [maven-dependency-plugin]

The dependency plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from local or remote repositories to a specified location.

The dependency plugin provides the capability to manipulate artifacts. It can copy and/or unpack artifacts from local or remote repositories to a specified location.

When using the Maven Dependency Plugin, it is recommended to keep in mind the Maven Dependency Mediation mechanism, what Maven coordinates are and how Maven dependencies are declared and handled.

More information

420 questions
0
votes
1 answer

Maven Dependency Plugin appendOutput Parameter is Failing?

UPDATE: This issue seems to have resolved itself. I could still produce it on a copy of the source code, but it was a temporary copy that I deleted before realizing I would need it to pin this issue down. I'm continuing to track this and see if I…
Adam
  • 1,011
  • 2
  • 19
  • 37
0
votes
1 answer

Transitive Test Dependencies and Maven Dependency Cycles

I have 3 modules A, B, C. A has a compile/default dependency on B, B has a test dependency on C and C has a compile/default dependency on A. Maven detects this as a cycle, but only B's tests (not non-test code) are dependent on C and neither C nor A…
user1991839
  • 1,993
  • 2
  • 14
  • 11
0
votes
1 answer

Maven-2: How to manage where the dependency depends on?

I know, by default, with maven dependencies, it will grab everything it needs from the local repo (.m2 directory). In my application, I don't want it to depend from the local directory, but from a specific location. I've used the…
Rob Avery IV
  • 3,562
  • 10
  • 48
  • 72
0
votes
1 answer

Maven plugin output to recourse file using filtering

I have resource file containing: ${project.version} ${dependency.tree} Is it possible to replace (filtering) ${dependency.tree} property with mvn dependency:tree -Dincludes=com.foo.bar command output ?
0
votes
1 answer

Maven : How to unpack dependencies in specific order?

My project is depending on many ZIP resources. With "maven-dependency-plugin" and its "unpack-dependencies", I kown how to unpack each dependency. But (for different reasons I cannot explain here), I have to unpack the dependencies in a specific…
xnopre
  • 583
  • 1
  • 4
  • 10
0
votes
1 answer

Grails tries to load zip file as plugin

I'm using Grails 2.1.1 with Maven. In my pom.xml I use maven-dependency-plugin that downloads some common-java-script.zip file from local maven repository and unpacks it into web-app. That works fine, but then Grails fails with message: |Packaging…
Andrey.Kozyrev
  • 579
  • 8
  • 17
0
votes
1 answer

Maven 3 assembly-plugin manifest classpath location

I have the following node in my pom.xml file http://maven.apache.org/xsd/maven-4.0.0.xsd"> …
user322076
0
votes
2 answers

How to get a list of all dependency JARs in a parameter?

I'm working on a plugin for Talend Open Studio; the component architecture of that platform needs that all external JARs are declared in a component-descriptor XML file in a form like:
Gabriele B
  • 2,665
  • 1
  • 25
  • 40
0
votes
1 answer

Perform sections of pom.xml with elevated privileges

Is it possible to grant/request evelated privileges for particular goals within a pom? Splecifically I need to retrieve an artifact from a repository then store that artifact in a file system directory the user does not have write permissions…
TaninDirect
  • 458
  • 1
  • 7
  • 15
0
votes
2 answers

maven site unpack error

I have a multi module maven project. If I run mvn clean install everything works fine. But if I run: mvn site I get the following error: [INFO] --- maven-dependency-plugin:2.4:unpack (copy-war) @ module2 --- [INFO] Configured Artifact:…
reen
  • 2,483
  • 5
  • 29
  • 40
-1
votes
1 answer

Using Maven with Eclipse

I just started working with maven and I am really new to this concept. I am using m2Eclipse plugin to work in maven. I use dependency to include the quartz library. org.quartz-scheduler
Zach
  • 9,989
  • 19
  • 70
  • 107
-1
votes
1 answer

How to append folder to each classpath entry using maven dependency and jar plugin?

I am trying to append folder before for all classpath entries in manifest file. As you can see in pom file below, I am using jar plugin to add classpath entries to manifest. With dependency plugin I am copying dependencies to…
Wortig
  • 963
  • 2
  • 11
  • 37
-1
votes
1 answer

Trying to copy denedecy bot not working

4.0.0 eau-claims-jar com eau-claims-jar jar 2.1.10.0-TIM3-SNAPSHOT
RajRayan
  • 1
  • 1
-2
votes
2 answers

Dependencies' jar-s copied by maven-dependency-plugin aren't installed to local repository

There are modules A, B and C. Module A is a dependency for modules B and C. All jar-s built in the module A are to be distributes into Maven Central but only after integration tests in modules B and C are passed. To achieve the goal above, I decided…
Thed
  • 23
  • 7
-2
votes
2 answers

strange marker info messages from maven dependency plugin

how I can get rid of these messages? [INFO] --- maven-dependency-plugin:2.3:unpack-dependencies (jetty-classpath) @ scmapi --- isMarkerOlder: artifact1 =…
gsf
  • 6,612
  • 7
  • 35
  • 64
1 2 3
27
28