I don't mean to co-opt this thread for my own purpose, but I have a
similar question: How do I get a list of depenencies in a maven
plugin? Is there better documentation on this? I tried to read the
assembly and dependency plugin source, but things are not very clear.
I've tried something
hey, there is a book for maven usage , try to find the link on
maven.apache.org
thanks
Dmitry
www.ejinz.com
- Original Message -
From: Patrick Forhan [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Friday, July 20, 2007 2:10 PM
Subject: Re: List of all dependencies
Hi
if I remember rightly it should be something like this:
/**
* @requiresDependencyResolution test
*/
public class CopyDependenciesMojo extends AbstractMojo {
/**
* @parameter expression=${project.artifacts}
* @required
*/
private Set artifacts;
}
The
Cool! That gets me one big step closer. Thanks!
Pat.
On 7/20/07, Michael Meyer [EMAIL PROTECTED] wrote:
Hi
if I remember rightly it should be something like this:
/**
* @requiresDependencyResolution test
*/
public class CopyDependenciesMojo extends AbstractMojo {
/**
*
Hi list,
I found that I can generate a report listing all the project's
dependencies with mvn project-info-reports:dependencies
(http://maven.apache.org/plugins/maven-project-info-reports-plugin/plugin-info.html)
Is there a possibility to have this dependency list wirtten to the
console
Hi
you can try: mvn
org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5-SNAPSHOT:tree
Cheers, michael
http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html
Gisbert Amm wrote:
Hi list,
I found that I can generate a report listing all the project's
dependencies
Thanks. However, it doesn't work. Am I doing something wrong?
[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.plugins
ArtifactId: maven-dependency-plugin
Version: 2.0-alpha-5-SNAPSHOT
Reason: Unable to download the artifact from any repository
Hi,
try adding the following repository to your pom:
http://people.apache.org/maven-snapshot-repository/
I just checked. It's not on repo1.maven.org
Cheers, michael
Gisbert Amm wrote:
Thanks. However, it doesn't work. Am I doing something wrong?
[INFO] Failed to resolve artifact.
GroupId:
On 20/07/07, Michael Meyer [EMAIL PROTECTED] wrote:
Hi,
try adding the following repository to your pom:
http://people.apache.org/maven-snapshot-repository/
I just checked. It's not on repo1.maven.org
Yep, 2.0-alpha-5 is not released yet, but should be shortly. In the
meantime, you can use
Great, thank you!!!
-Gisbert
Mark Hobson wrote:
On 20/07/07, Michael Meyer [EMAIL PROTECTED] wrote:
Hi,
try adding the following repository to your pom:
http://people.apache.org/maven-snapshot-repository/
I just checked. It's not on repo1.maven.org
Yep, 2.0-alpha-5 is not released yet,
If you don't mind a bit of an ugly text tree, you can also just use
mvn -X... which will provide, among other things, an ugly text tree
of your dependencies and their relationships. ;-)
But the tree provided by m-d-p is much nicer.
Wayne
On 7/20/07, Gisbert Amm [EMAIL PROTECTED] wrote:
Great,
That's very true and there are tools like grep, sed, awk and the like to
make ugly text beautiful ,)
However, for the moment I won't re-implement the tree view of the
maven-dependency-plugin as a shell script and rather use the plugin
itself to get it ;)
Thanks!
-Gisbert
Wayne Fay wrote:
12 matches
Mail list logo