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

Reply via email to