You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mick Knutson <mi...@gmail.com> on 2007/08/16 22:16:34 UTC

[m2] ant-contrib in Maven?

I want to use the ant-run plugin and my ant task relies upon ant-contrib but
I can seem to find it in ibiblio in a way that I can get it into my project
this does not work:


        <dependency>
            <groupId>ant-contrib</groupId>
            <artifactId>jars</artifactId>
            <version>1.0b3</version>
        </dependency>


-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---

Re: [m2] ant-contrib in Maven?

Posted by Wayne Fay <wa...@gmail.com>.
In the future, search for your artifact at http://mvnrepository.com/
for the correct dependency declaration.

Wayne

On 8/16/07, Mick Knutson <mi...@gmail.com> wrote:
> Perfect. I just had to add:
>
> <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
>
> and then
>
> <dependencies>
>           <dependency>
>             <groupId>ant-contrib</groupId>
>             <artifactId>ant-contrib</artifactId>
>             <version>1.0b2</version>
>           </dependency>
>         </dependencies>
>
>
> and it worked like a charm. Thanks
>
> On 8/16/07, Steven Rowe <sa...@syr.edu> wrote:
> >
> > Hi Mick,
> >
> > According to the Sonatype book
> > <
> > http://www.sonatype.com/book/lifecycle.html#a_structure_for_goal_execution
> > >,
> > the artifactId should be "ant-contrib".
> >
> > Steve
> >
> >
> > Mick Knutson wrote:
> > > I want to use the ant-run plugin and my ant task relies upon ant-contrib
> > but
> > > I can seem to find it in ibiblio in a way that I can get it into my
> > project
> > > this does not work:
> > >
> > >
> > >         <dependency>
> > >             <groupId>ant-contrib</groupId>
> > >             <artifactId>jars</artifactId>
> > >             <version>1.0b3</version>
> > >         </dependency>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
>
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/djmick_dot_com
> http://www.myspace.com/sexybeotches
> http://www.thumpradio.com
> ---
>

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


Re: [m2] ant-contrib in Maven?

Posted by Mick Knutson <mi...@gmail.com>.
Perfect. I just had to add:

<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>

and then

<dependencies>
          <dependency>
            <groupId>ant-contrib</groupId>
            <artifactId>ant-contrib</artifactId>
            <version>1.0b2</version>
          </dependency>
        </dependencies>


and it worked like a charm. Thanks

On 8/16/07, Steven Rowe <sa...@syr.edu> wrote:
>
> Hi Mick,
>
> According to the Sonatype book
> <
> http://www.sonatype.com/book/lifecycle.html#a_structure_for_goal_execution
> >,
> the artifactId should be "ant-contrib".
>
> Steve
>
>
> Mick Knutson wrote:
> > I want to use the ant-run plugin and my ant task relies upon ant-contrib
> but
> > I can seem to find it in ibiblio in a way that I can get it into my
> project
> > this does not work:
> >
> >
> >         <dependency>
> >             <groupId>ant-contrib</groupId>
> >             <artifactId>jars</artifactId>
> >             <version>1.0b3</version>
> >         </dependency>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 

Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---

Re: [m2] ant-contrib in Maven?

Posted by Steven Rowe <sa...@syr.edu>.
Hi Mick,

According to the Sonatype book
<http://www.sonatype.com/book/lifecycle.html#a_structure_for_goal_execution>,
the artifactId should be "ant-contrib".

Steve


Mick Knutson wrote:
> I want to use the ant-run plugin and my ant task relies upon ant-contrib but
> I can seem to find it in ibiblio in a way that I can get it into my project
> this does not work:
> 
> 
>         <dependency>
>             <groupId>ant-contrib</groupId>
>             <artifactId>jars</artifactId>
>             <version>1.0b3</version>
>         </dependency>


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