mavenplugin « 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 » mavenplugin 

1. Why can't maven find a plugin?    stackoverflow.com

If I type the command:

mvn dependency:list
The docs suggest that I'll get a list of my project's dependencies. Instead though, I get this:
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] ...

2. How do I track plugin dependencies in maven2?    stackoverflow.com

I am trying to locate an evil plugin that includes a stoneage version of a certain jar file. How do I do that ?

3. Excluding "provided" dependencies from Maven assembly    stackoverflow.com

I am trying to use the Maven assembly plugin to build a jar-with-dependencies, except those that have provided scope. I have copied the jar-with-dependencies into an assembly.xml file and configured its use ...

4. How to get access to Maven's dependency hierarchy within a plugin    stackoverflow.com

In my plugin I need to process the dependency hierarchy and get information (groupId, artifactId, version etc) about each dependency and if it was excluded. What is the best way to ...

5. Maven dependency versioning and java.lang.NoClassDefFoundError    stackoverflow.com

I have a Java project X has dependency (in pom file) on project Y. I was modifying in Y and build X,Y with Maven tool then runing X (on JBoss) without problems. When ...

6. Maven: How to get all transitive dependencies programatically in a MOJO    stackoverflow.com

Possible Duplicate:
How to get access to Maven’s dependency hierarchy within a plugin.
The dependency:tree plugin:goal has an option 'verbose' which displays all conflicts & duplicates ...

7. Transitive dependencies in maven plugins    stackoverflow.com

Are dependencies in Maven plugins supposed to resolve their transitive dependencies or do they have to be manually added to the plugin dependencies?

8. Maven 2 assembly with dependencies: jar under scope "system" not included    stackoverflow.com

I am using maven-assembly plugin to create a jar of my application, including its dependencies as follows:

<assembly>
    <id>macosx</id>
    <formats>
       ...

9. Resolving maven dependencies    stackoverflow.com

Inovking maven2 goal "mvn dependency:list" on an artifact pom causes to download the whole dependent artifact packages. i think only those pom files are necessary for resolving dependencies. Aren't they? ...

10. Maven: add a dependency to a jar by relative path via maven-install-plugin    stackoverflow.com

Trying to setup a project based repo local to that project and found the answer here, I'm trying to take that further and automate it via the maven-install-plugin. When i ...

11. How to get a file handle of a dependency in maven    stackoverflow.com

Does anyone know the best way to get a file handle to dependency declared in a POM? I realize that there is a dependency plugin, but we are trying to avoid ...

12. How to programatically invoke a maven dependency plugin    stackoverflow.com

I am trying to invoke maven-dependency-plugin programatically. i am using maven 3 version. the problem is that when i invoke it through pluginManager.executeMojo(session, execution), i receive the following error message:

[ERROR] **The ...

13. What is the best way Mavenizing Ivy managed dependencies for an existing project    stackoverflow.com

HI need some help or advice on converting or migrating an existing Ivy managed dependencies project to a Maven. is there any good document or plugin? I am using eclipse. Thanks

14. Maven dependency incompatible license check plugin    stackoverflow.com

As the title suggest, I would like to find a maven checking that, for all dependencies, licenses are conforming to a common rule. As an example, i would like to be able ...

15. Sorting (topological) maven dependencies    stackoverflow.com

We have a number of SNAPSHOT artifacts that we need to release more or less all at once. We were looking for a plug-in that would do the sort and ...

16. Maven plugin dependencies are ignored    stackoverflow.com

I created this profile for deploying artifacts on the server via SCP. I know Ant's scp task is optional, therefore I've added the dependencies.

<profiles>
     ...

17. How to recursively resolve dependencies in a Maven 2 plugin    stackoverflow.com

I'm writing a Maven 2 plugin which must iterate over all project dependencies and recursively over all dependencies of these dependencies. Up to now I only managed to resolve the direct ...

18. How can i resolve plugin problem in maven:' Unable to load mojo'    stackoverflow.com

I have configured all the dependencies in my pom.xml through maven. when i give the command 'mvn install' I get the following error: [INFO] Internal error in the plugin manager executing goal ...

19. Maven plugin dependency isn't added to classpath in multi-module scenario    stackoverflow.com

i have an multi-module maven project with the following structure:

  • Root
    • sub-module1
    • sub-module2
    • sub-module3
Now i created an maven plugin that should generate sources. I've added the plugin to the pom of sub-module2. This plugin configuration ...

20. Eclipse Project with Dependency Management by Maven    stackoverflow.com

I have a Eclipse project where Maven manages the dependencies. I have also few jar files that are not Maven enable and I locate them at src/main/webapp/WEB-INF/lib. I have no issue ...

21. Maven multi-project dependency management for checkstyle plugin    stackoverflow.com

I'm trying to use the maven-checkstyle plugin for a multi-module project here is my projec structure

|pom-root
| -- my-checkstyles
|      |-- pom.xml
|      |-- ...

22. can't find sonar-2.10.jar anywhere    stackoverflow.com

After successful upgrade of sonar to 2.10, I run usual code analysis, got this issue: http://old.nabble.com/Problem-with-Jenkins-integration-td31783437.html with same conclusion, missing sonar-2.10.jar. Tried to get it manually and install to repository, with no ...

23. Maven assembly Include too many dependencies in a ZIP    stackoverflow.com

I have a Maven multi-module project. In one module, we create a ZIP with maven-assembly-plugin plugin. The configuration for this:

<baseDirectory>/</baseDirectory>
  <formats>
    <format>zip</format>
  </formats>
  <includeBaseDirectory>false</includeBaseDirectory>
  ...

24. Special Chars messed up after change to maven dependency    stackoverflow.com

I am writing a project, which can read Japanese characters from file and do an output of those Chars, and works just fine.
Problem is, when I change it to a maven ...

25. getting information about maven dependencies    stackoverflow.com

I wonder if it is possible to get information about all first level dependencies of my maven project. I need the following information: name, vendor, version, license type, reference URL, description. ...

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.