Hi,
I'm very new to Maven and have some problems building my project.
I have a working tdk build.xml file.
Should I use that one or try to copy a plain build-maven into that
directory and use the call
  <goal
    name="test:compile"
    description="compiles the project">

    <ant antfile="build-maven.xml"
         dir="."
         inheritAll="false"/>
  </goal>

to do this? It seems that would force all files to be in the default
locations.

However, when I try this, maven complains about the build-maven.xml:

[peter@peter WEB-INF]$ maven peter:compile
 __  __
|  \/  |__ Jakarta _ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|   v. 1.0-b5-dev

fotonytt website (fotonytt) 0.01
/home/peter/project/tdk/webapps/fotonytt/WEB-INF

    [available] DEPRECATED - <available> used to override an existing
property.
  Build file should not reuse the same property name for different
values.
peter:compile:
    [echo] lib.repo: /home/peter/.maven/lib
  maven.home=/usr/local/maven

[ERROR] BUILD FAILED
[ERROR] File......
/home/peter/project/tdk/webapps/fotonytt/WEB-INF/maven.xml
[ERROR] Element... ant
[ERROR] Line...... 20
[ERROR] Column.... 23
[ERROR] taskdef class org.apache.maven.ProjectProperties cannot be found
Total time: 9 seconds


It seems that the classpath is not ok. I copied all files in the
$MAVEN_HOME to $MAVEN_LIB, but it still doesn't work.

Any hints?

/peter

_____________________________________________________
F�lj VM p� n�ra h�ll p� Yahoo!s officielle VM-sajt www.yahoo.se/vm2002
H�ll dig ajour med nyheter och resultat, med vinnare och f�rlorare...

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to