You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tim Stephenson <Ti...@TechnologyOneCorp.com> on 2002/12/17 04:31:58 UTC

How to download a file explicitly? (ie not dependency)

I have a small problem that one of my dependencies is a war not a jar and it
does not seem that the support for artifact type within dependencies is
ready yet (I am using beta 7) 

How does maven download jars? If I could use a tag in my maven.xml I could
work around the problem quite easily. I looked at using http:get from jelly
but it does not work (just prints the tag to the console which I have come
to recognise as a dependency problem for the tag)

Thanks in advance, 
Tim stephenson


Re: How to download a file explicitly? (ie not dependency)

Posted by Pete Kazmier <pe...@kazmier.com>.
On Tue, Dec 17, 2002 at 01:31:58PM +1000, Tim Stephenson wrote:
> I have a small problem that one of my dependencies is a war not a jar
> and it does not seem that the support for artifact type within
> dependencies is ready yet (I am using beta 7) 

Not sure if beta7 supports the <jar> tag in the dependency, but you can
explicitly state what jar to download (even if its a war I believe):

    <dependency>
      <id>something</id>
      <version>1.0</version>
      <jar>something.war</jar>
    </dependency>