Maven Repository - POM file for Build maven-dependency-tree 2.0 2.0

Summary

Maven Dependency Tree.

A tree-based API for resolution of Maven project dependencies.

Declaration

Here is the list of declaration for maven-dependency-tree. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.apache.maven.shared</groupId>
   <artifactId>maven-dependency-tree</artifactId>
   <version>2.0</version>
</dependency>

If you think this Maven repository POM file listing for maven-dependency-tree is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

License

Apache License.

Depends on

The maven-dependency-tree-2.0 has 6 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
Buildmaven-project 2.2.0
This library is used to not only read Maven project object model files, but to assemble inheritence and to retrieve remote models as required.
6
Buildmaven-core 3.0.4
Maven Core classes.
8
Developmentplexus-component-annotations 1.5.5
Plexus Component "Java 5" Annotations, to describe plexus components properties in java sources with standard annotations instead of javadoc annotations.
19
Testing Mockjmock 1.2.0
jMock is a library for testing Java code using mock objects
121




Plugin

The following plugins are used in the maven-dependency-tree-2.0.jar

  1. maven-surefire-plugin
  2. plexus-component-metadata

Packages

The following packages are defined in the maven-dependency-tree-2.0.jar

org.apache.maven.shared.dependency.graph
org.apache.maven.shared.dependency.graph.filter
org.apache.maven.shared.dependency.graph.internal
org.apache.maven.shared.dependency.graph.traversal
org.apache.maven.shared.dependency.tree
org.apache.maven.shared.dependency.tree.filter
org.apache.maven.shared.dependency.tree.traversal




POM File Source

Here is the content of the POM file.

<?xml version='1.0' encoding='UTF-8'?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at
  
  http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.apache.maven.shared</groupId>
    <artifactId>maven-shared-components</artifactId>
    <version>17</version>
    <relativePath>../maven-shared-components/pom.xml</relativePath>
  </parent>

  <artifactId>maven-dependency-tree</artifactId>
  <version>2.0</version>

  <name>Maven Dependency Tree</name>
  <description>A tree-based API for resolution of Maven project dependencies</description>

  <scm>
    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/tags/maven-dependency-tree-2.0</connection>
    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/tags/maven-dependency-tree-2.0</developerConnection>
    <url>http://svn.apache.org/viewvc/maven/shared/tags/maven-dependency-tree-2.0</url>
  </scm>
  <issueManagement>
    <system>jira</system>
    <url>http://jira.codehaus.org/browse/MSHARED/component/13264</url>
  </issueManagement>

  <properties>
    <mavenVersion>2.2.0</mavenVersion>
  </properties>

  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <version>${mavenVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-core</artifactId>
      <version>3.0.4</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-component-annotations</artifactId>
      <version>1.5.5</version>
    </dependency>
    <dependency>
      <groupId>org.sonatype.aether</groupId>
      <artifactId>aether-api</artifactId>
      <version>1.13.1</version>
      <optional>true</optional>
    </dependency>

    <dependency>
      <groupId>jmock</groupId>
      <artifactId>jmock</artifactId>
      <version>1.2.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.shared</groupId>
      <artifactId>maven-plugin-testing-harness</artifactId>
      <version>1.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.plexus</groupId>
        <artifactId>plexus-component-metadata</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>generate-metadata</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <excludes>
            <exclude>**/DefaultDependencyTreeBuilderTest*</exclude><!-- FIXME: conflict on DefaultArtifactFactory between maven-core 3.x and maven-artifact 2.x -->
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <profiles>

    <profile>
      <id>reporting</id>
      <reporting>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <configuration>
              <groups>
                <group>
                  <title>Maven 2 &amp; 3 Dependency Graph</title>
                  <packages>org.apache.maven.shared.dependency.graph*</packages>
                </group>
                <group>
                  <title>Maven 2-specific Dependency Tree</title>
                  <packages>org.apache.maven.shared.dependency.tree*</packages>
                </group>
              </groups>
            </configuration>
          </plugin>
        </plugins>
      </reporting>
    </profile>
  </profiles>
</project>