|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Maven from 4.1The maven support isn't working for me:
BUILD SUCCESSFUL Total time: 21 seconds /Users/benson/x/woodstox/4.1 ant maven.remote.snapshot Buildfile: build.xml maven.init: BUILD FAILED /Users/benson/x/woodstox/4.1/build-maven-deploy.xml:21: Problem: failed to create task or type antlib:org.apache.maven.artifact.ant:pom Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. This appears to be an antlib declaration. Action: Check that the implementing library exists in one of: -/usr/share/ant/lib -/Users/benson/.ant/lib -a directory added on the command line with the -lib argument Total time: 0 seconds /Users/benson/x/woodstox/4.1 --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Maven from 4.1Hmmh. I have seen this one before, but I don't rememeber 100% what the
solution was... I'll try to jog my memory. I _think_ it may have involved adding the dang maven-ant-task jar in my .ant dir. -+ Tatu +- On Fri, Jun 5, 2009 at 4:37 AM, Benson Margulies<bimargulies@...> wrote: > The maven support isn't working for me: > > BUILD SUCCESSFUL > Total time: 21 seconds > /Users/benson/x/woodstox/4.1 ant maven.remote.snapshot > Buildfile: build.xml > > maven.init: > > BUILD FAILED > /Users/benson/x/woodstox/4.1/build-maven-deploy.xml:21: Problem: > failed to create task or type antlib:org.apache.maven.artifact.ant:pom > Cause: The name is undefined. > Action: Check the spelling. > Action: Check that any custom tasks/types have been declared. > Action: Check that any <presetdef>/<macrodef> declarations have taken place. > > This appears to be an antlib declaration. > Action: Check that the implementing library exists in one of: > -/usr/share/ant/lib > -/Users/benson/.ant/lib > -a directory added on the command line with the -lib argument > > > Total time: 0 seconds > /Users/benson/x/woodstox/4.1 > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Maven from 4.1I figured it out.
On Jun 6, 2009, at 6:45 PM, Tatu Saloranta <tsaloranta@...> wrote: > Hmmh. I have seen this one before, but I don't rememeber 100% what the > solution was... I'll try to jog my memory. I _think_ it may have > involved adding the dang maven-ant-task jar in my .ant dir. > > -+ Tatu +- > > On Fri, Jun 5, 2009 at 4:37 AM, Benson > Margulies<bimargulies@...> wrote: >> The maven support isn't working for me: >> >> BUILD SUCCESSFUL >> Total time: 21 seconds >> /Users/benson/x/woodstox/4.1 ant maven.remote.snapshot >> Buildfile: build.xml >> >> maven.init: >> >> BUILD FAILED >> /Users/benson/x/woodstox/4.1/build-maven-deploy.xml:21: Problem: >> failed to create task or type >> antlib:org.apache.maven.artifact.ant:pom >> Cause: The name is undefined. >> Action: Check the spelling. >> Action: Check that any custom tasks/types have been declared. >> Action: Check that any <presetdef>/<macrodef> declarations have >> taken place. >> >> This appears to be an antlib declaration. >> Action: Check that the implementing library exists in one of: >> -/usr/share/ant/lib >> -/Users/benson/.ant/lib >> -a directory added on the command line with the -lib argument >> >> >> Total time: 0 seconds >> /Users/benson/x/woodstox/4.1 >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Maven from 4.1On Sat, Jun 6, 2009 at 4:28 PM, Benson Margulies<bimargulies@...> wrote:
> I figured it out. Ok, was it related to Ant not finding the jar from place(s) you'd expect? Or something different? Btw, Maven build is planned for 5.0 -- had I known that 4.1 takes bit longer, could have changed it in 4.1 instead. :-/ -+ Tatu +- --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Maven from 4.1Correct, I hadn't realized that I had to install the antlib in my ant.
On Mon, Jun 8, 2009 at 7:20 PM, Tatu Saloranta<tsaloranta@...> wrote: > On Sat, Jun 6, 2009 at 4:28 PM, Benson Margulies<bimargulies@...> wrote: >> I figured it out. > > Ok, was it related to Ant not finding the jar from place(s) you'd > expect? Or something different? > > Btw, Maven build is planned for 5.0 -- had I known that 4.1 takes bit > longer, could have changed it in 4.1 instead. :-/ > > -+ Tatu +- > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Maven from 4.1On Mon, Jun 8, 2009 at 5:11 PM, Benson Margulies<bimargulies@...> wrote:
> Correct, I hadn't realized that I had to install the antlib in my ant. That really should NOT be needed, but that's one part of Ant that tends to cause problems. :-/ I mean, I hate having to have anything custom added there. But sometimes that's what's needed. Maven's bootstrapping is much better in this regard. -+ Tatu +- --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |