I was premature in my report. Maven still doesn't run on Alpha. I've tracked the problem down to the maven-xdoc-plugin-1.4/plugin.jelly when it tries to register a report using the <attainGoal name="${report}:register">

I suspect the problem is something similar to junit class loading issue which necessities the property "maven.junit.fork=yes"

If I run the report register goal directly, maven succeeds. The problem occurs when the report registration is called from xdoc:register-reports. I.E. "maven maven-junit-report-plugin:register" succeeds whereas "maven xdoc:register-reports" fails.

If there is any experienced java developer who would care to comment with workaround suggestions, I would appreciate that.

Erik Husby wrote:

Well, it is obviously a bug in the Alpha JVM. The default JVM is the "fast" one which is known to have some problems with native code (ie. the code that access the file system to find jars and other useful things). So by setting MAVEN_OPTS to "-Xmx256mb -classic", I can force the JVM into classic mode which appears to run.

Erik Husby wrote:

I've installed Maven-1.0-RC1 on my Windows XP system and my Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650);

Using a shared drive, if I build the project on the Windows XP system, it works fine. But if I build, using the same set of files on the Unix box, Maven fails to load the JUnitTask as shown below.



--- Unix Maven
107 11:41am [EMAIL PROTECTED] ~/workarea/SquidBuild/sequence/common > maven test:test
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT


java:prepare-filesystem:

java:compile:
[echo] Compiling to /home/radon00/mhusby/workarea/SquidBuild/sequence/common/target/classes


BUILD FAILED
File...... file:/home/radon00/mhusby/.maven/plugins/maven-test-plugin-1.4/
Element... taskdef
Line...... 89
Column.... 9
taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found
Total time: 12 seconds
Finished at: Thu Jan 08 11:41:49 EST 2004


7.487u 5.990s 0:14.39 93.6%    0+581k 10+30io 0pf+0w
108 11:41am [EMAIL PROTECTED] ~/workarea/SquidBuild/sequence/common >

--- Windows XP Maven
F:\workarea\SquidBuild\sequence\common>maven test
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

Attempting to download maven-SNAPSHOT.jar.
Overriding previous definition of reference to clover.classpath
java:prepare-filesystem:

java:compile:
[echo] Compiling to F:\workarea\SquidBuild\sequence\common/target/classes


java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:
[junit] Running edu.mit.wi.genome.common.dba.AllTests
[junit] Tests run: 29, Failures: 0, Errors: 1, Time elapsed: 3.225 sec
----


Its like Maven can't find its jar files. I've verified that $MAVEN_HOME/lib contains the same set of jar files on both systems.

Any suggestions on things to look at would be really appreciated.



-- Erik Husby Team Lead for Software Quality Automation Genome Center at MIT Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669 office: 617.258.9227 [EMAIL PROTECTED]



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



Reply via email to