I figured this out, but I think it still needs a fix. Using maven-ant-tasks 2.0.10 works, but 2.1.0 fails.
I think it's related to this recent change in maven ant tasks: http://svn.apache.org/viewvc/maven/ant-tasks/trunk/src/main/java/org/apache/maven/artifact/ant/DeployTask.java?view=diff&r1=884303&r2=884304&pathrev=884304 Michael Bushe Software Architect/Developer [email protected] www.bushe.com On Sun, Dec 20, 2009 at 8:06 PM, Michael Bushe <[email protected]> wrote: > I'm trying to confirm that the maven-install task works (or should work), > but I'm getting a failure asking me to specify a file. The BUILD file does > not say maven-install takes an argument, and it doesn't look like it does. > Am I missing something? > > cd ~ > mkdir pivot > svn co http://svn.apache.org/repos/asf/incubator/pivot/trunk/ > cd trunk > export > CLASSPATH=~/dev/maven-ant-tasks-2.1.0.jar:~/dev/junit/junit-4.8.1.jar:/System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/plugin.jar:/System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/lib/javaws.jar > > ant maven-install > > <crunch, crunch> > ... > wtk-terra: > [mkdir] Created dir: > /Users/mbushe/dev/pivot/pivot1.4/trunk/wtk-terra/ant-bin > [javac] Compiling 52 source files to > /Users/mbushe/dev/pivot/pivot1.4/trunk/wtk-terra/ant-bin > > compile: > > package: > [mkdir] Created dir: /Users/mbushe/dev/pivot/pivot1.4/trunk/lib > [jar] Building jar: > /Users/mbushe/dev/pivot/pivot1.4/trunk/lib/pivot-charts-1.4.jar > [jar] Building jar: > /Users/mbushe/dev/pivot/pivot1.4/trunk/lib/pivot-core-1.4.jar > [jar] Building jar: > /Users/mbushe/dev/pivot/pivot1.4/trunk/lib/pivot-demos-1.4.jar > [jar] Building jar: > /Users/mbushe/dev/pivot/pivot1.4/trunk/lib/pivot-tools-1.4.jar > [jar] Building jar: > /Users/mbushe/dev/pivot/pivot1.4/trunk/lib/pivot-tutorials-1.4.jar > [jar] Building jar: > /Users/mbushe/dev/pivot/pivot1.4/trunk/lib/pivot-web-1.4.jar > [jar] Building jar: > /Users/mbushe/dev/pivot/pivot1.4/trunk/lib/pivot-web-server-1.4.jar > [jar] Building jar: > /Users/mbushe/dev/pivot/pivot1.4/trunk/lib/pivot-wtk-1.4.jar > [jar] Building jar: > /Users/mbushe/dev/pivot/pivot1.4/trunk/lib/pivot-wtk-terra-1.4.jar > > maven-install: > [artifact:install] An error has occurred while processing the Maven > artifact tasks. > [artifact:install] Diagnosis: > [artifact:install] > [artifact:install] You must specify a file and/or an attached artifact to > install to the local repository. > > BUILD FAILED > /Users/mbushe/dev/pivot/pivot1.4/trunk/build.xml:550: You must specify a > file and/or an attached artifact to install to the local repository. > > Total time: 16 seconds > > Michael Bushe > Software Architect/Developer > [email protected] > www.bushe.com >
