From cd76ad365983edea3acc584bcb174ddd4e9e5f02 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Mon, 8 Mar 2004 22:10:49 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162594 13f79535-47bb-0310-9956-ffa450edef68 --- maven-model/maven.mdo | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/maven-model/maven.mdo b/maven-model/maven.mdo index 81821444e6..90b57e4842 100644 --- a/maven-model/maven.mdo +++ b/maven-model/maven.mdo @@ -164,7 +164,12 @@ dependencies - The project's dependencies. + + This element describes all of the dependencies associated with a + project. Each dependency is described by a + dependency element, which is then described by + additional elements (described below). + java.util.List new ArrayList() These should ultimately only be compile time dependencies when transitive dependencies come into play. @@ -427,22 +432,32 @@ groupId - the description + + The project group that produced the dependency, e.g. geronimo. + String artifactId - the description + + The unique id for an artifact produced by the project group, e.g. + germonimo-jms + String version - the description + + The version of the dependency., e.g. 3.2.1 + String url - the description + + This url will be provided to the user if the jar file cannot be downloaded + from the central repository. + String The URL should really be gleaned from a shared database of dependency information. @@ -453,13 +468,22 @@ type - The type of dependency. + + Other known and recognised dependency types are: + ejb and plugin. + String jar properties - Properties for this dependency. + + Properties about the dependency. Various plugins allow you to + mark dependencies with properties. For example the + war plugin looks for a + war.bundle property, and if found will include the dependency + in WEB-INF/lib. For example syntax, check the war plugin docs. + java.util.Properties new Properties()