<snip>
>     <dependencies>
> -
>     <dependency>
> <groupId/>
> <artifactId/>
> <version/>
> <url/>
> </dependency>
> </dependencies>
</snip>

This would do the trick...this is actually a section in which you're
supposed to list the dependencies upon which your
project...well...depends. As such, it should be a set of entries that
look something like this:

<dependency>
  <groupId>commons-jelly</groupId>
  <artifactId>common-jelly-tags-xml</artifactId>
  <version>20030211.142729</version>
</dependency>

or some such. The group id is a grouping mechanism, which helps to
determine the directory structure on the remote repository where the
dependency jar can be downloaded. The artifact id is the the name of the
jar file itself, minus the version and the '.jar' suffix. The above
specification would translate to the following download URL on the
remote repository:

http://the.remote.repository.url/base/path/commons-jelly/jars/commons-jelly-tags-xml-20030211.142729.jar

Leaving any of the above element bodies empty will no doubt result in a
NPE, since there is literally no value for something that expects one.

Hope that helps.

-john


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to