2011/11/10 Ioan Eugen Stan <[email protected]>:
> Hi,
>
> I'm running
> mvn dependency:tree -DoutputType=graphml
>
> on Apache James and I'm getting an output like this:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache James Server Client 3.0-beta4-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ james-server-cli
> ---
> [INFO] org.apache.james:james-server-cli:jar:3.0-beta4-SNAPSHOT
> [INFO] +-
> org.apache.james:james-server-data-api:jar:3.0-beta4-SNAPSHOT:compile
> [INFO] | +- org.apache.james:apache-mailet:jar:2.4:compile
> [INFO] | \- javax.mail:mail:jar:1.4.4:compile
> [INFO] +- commons-cli:commons-cli:jar:1.2:compile
> [INFO] \- junit:junit:jar:3.8.1:test
> [INFO]
> ------------------------------------------------------------------------
>
>
> Shouldn't I get GraphML output? Also tried with dot and other stuf.
> Still the same output. What am I doing wrong?
> I'm trying to get the dependency tree of James.
>
> I'm using:
>
> mvn --version
> Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
> Java version: 1.6.0_23, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
> Default locale: ro_RO, platform encoding: UTF-8
> OS name: "linux", version: "3.0.0-1-amd64", arch: "amd64", family: "unix"
>
> Thanks,
>
> --
> Ioan Eugen Stan
> http://ieugen.blogspot.com/
>
SOLVED: added the plugin to pom.xml and forced version to 2.3. like:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.3</version>
</plugin>
It seams that maven uses a lower version by default and that graphML
is only available in that version.
--
Ioan Eugen Stan
http://ieugen.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]