On Thu, 27 Nov 2003, Ted Husted wrote:
> When I run the maven jar target, the upload tests fail
> (MultipartTestSuite).
On a fresh copy of....well....everything (maven 1.0-rc1, jakarta-struts,
etc, etc) I cannot do anything with maven.
The attempt to download validator SNAPSHOT fails. When I change
project.xml to use 1.0.1 or 1.0.2, it downloads, but the compile fails
complaining about missing ValidatorUtils.
I downloaded a nightly, moved it to
~/.maven/repository/commons-validator/jars/.
Then changed "SNAPSHOT" to "nightly" in project.xml.
Then this:
[EMAIL PROTECTED] jakarta-struts]$ maven jar
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
java:prepare-filesystem:
java:compile:
[echo] Compiling to m-target/classes
[javac] Compiling 266 source files to
/home/jmitchell/cvs/jakarta-struts/m-target/classes
/home/jmitchell/cvs/jakarta-struts/src/share/org/apache/struts/tiles/actions/DefinitionDispatcherAction.java:78:
warning: org.apache.struts.tiles.DefinitionsUtil in
org.apache.struts.tiles has been deprecated
import org.apache.struts.tiles.DefinitionsUtil;
^
<huge-snip/>
/home/jmitchell/cvs/jakarta-struts/src/share/org/apache/struts/validator/ValidatorPlugIn.java:264:
warning: org.apache.commons.validator.ValidatorResourcesInitializer in
org.apache.commons.validator has been deprecated
ValidatorResourcesInitializer.initialize(resources,
bis, false);
^
41 warnings
java:jar-resources:
Copying 15 files to /home/jmitchell/cvs/jakarta-struts/m-target/classes
test:prepare-filesystem:
[mkdir] Created dir:
/home/jmitchell/cvs/jakarta-struts/m-target/test-classes
[mkdir] Created dir:
/home/jmitchell/cvs/jakarta-struts/m-target/test-reports
test:test-resources:
test:compile:
[echo] No test source files to compile.
test:test:
[echo] No tests to run.
jar:jar:
[jar] Building jar:
/home/jmitchell/cvs/jakarta-struts/m-target/struts-1.2.0.jar
BUILD SUCCESSFUL
Total time: 26 seconds
Finished at: Fri Nov 28 01:40:35 EST 2003
"No tests to run"....Am I missing something here?
>
> But, when I run the ant test.junit test, only the
> TestActionConfigMatcher test fails.
>
> Is it me, or do others share this experience?
>
> If so, any ideas as to why this would be?
>
> -Ted.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
James Mitchell
Software Developer / Struts Evangelist
http://www.struts-atlanta.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]