You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brian Towles <br...@towles.com> on 2003/07/23 19:59:30 UTC

Dependency resources

Howdy all

Im fairly new to maven so forgive me if I missed something.  

Im trying to set up a WAR project to pull the Taglibs from a repository,
both jar and tld, and place them in the appropriate directories.  

Ive tried something like this without much success as it doesnt pull the
tld.

    <dependency>
      <id>taglibs-datetime</id>
      <groupId>jakarta-taglibs</groupId>
      <version>1.0.1</version>
      <jar>taglibs-datetime-1.0.1.jar</jar>
      <url>http://jakarta.apache.org/taglibs/</url>
      <type>jar</type>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
    <dependency>
      <id>taglibs-datetime</id>
      <groupId>jakarta-taglibs</groupId>
      <version>1.0.1</version>
      <jar>taglibs-datetime-1.0.1.tld</jar>
      <url>http://jakarta.apache.org/taglibs/</url>
      <type>tld</type>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>

Is there a way to pull an associated resource for a dependency? ie so
that when i get the jar it auto gets the tld?


Thanks
-=Brian

-- 
Brian Towles <br...@towles.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org