Sure, your unit tests are failing. You need to look at the files in
target/test-reports to determine why.
My guess, because of the log4j warnings, is that resources are not being
copied to your test-classes directory. This is probably because your
maven is out of date, you should get a fancy ascii art header like this:
jtaylor@enki:~/projects/apache-cvs/jakarta-turbine-jcs$
~/maven/bin/maven -p project-b5.xml -v java:jar
__ __
| \/ |__ Jakarta _ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-b5-dev
jakarta-turbine-jcs (jcs) 1.0-dev
/home/jtaylor/projects/apache-cvs/jakarta-turbine-jcs
...
I think if you bootstrap a new maven from HEAD you should be good to go.
On Fri, 2002-08-09 at 13:03, Phase Web and Multimedia wrote:
> Greetings,
>
> Can someone enlighten me as to why this is happening?
>
> The following is the error I get when building jcs with maven:
>
> E:\CVS\apache\jcs\jakarta-turbine-jcs>maven -p project-b5.xml -v java:jar
>
> maven: intelligent projects
>
> project-directory: E:\CVS\apache\jcs\jakarta-turbine-jcs
> project: jakarta-turbine-jcs (jcs)
> current-version: 1.0-dev
>
> java:prepare-filesystem:
>
> java:compile:
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:compile:
>
> test:test:
> [junit] Running org.apache.jcs.TestDiskCache
> [junit] log4j:ERROR No appenders could be found for category
> (org.apache.jcs.engine.control.CompositeCacheManager).
> [junit] log4j:ERROR Please initialize the log4j system properly.
> [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.681 sec
> [junit] [ERROR] TEST org.apache.jcs.TestDiskCache FAILED
> [junit] Running org.apache.jcs.TestDiskCacheConcurrent
> [junit] log4j:ERROR No appenders could be found for category
> (org.apache.jcs.engine.control.CompositeCacheManager).
> [junit] log4j:ERROR Please initialize the log4j system properly.
> [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.651 sec
> [junit] [ERROR] TEST org.apache.jcs.TestDiskCacheConcurrent FAILED
> [junit] Running org.apache.jcs.TestJCS
> [junit] log4j:ERROR No appenders could be found for category
> (org.apache.jcs.engine.control.CompositeCacheManager).
> [junit] log4j:ERROR Please initialize the log4j system properly.
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.65 sec
> [junit] [ERROR] TEST org.apache.jcs.TestJCS FAILED
> [junit] Running org.apache.jcs.TestSimpleLoad
> [junit] log4j:ERROR No appenders could be found for category
> (org.apache.jcs.engine.control.CompositeCacheManager).
> [junit] log4j:ERROR Please initialize the log4j system properly.
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.651 sec
> [junit] [ERROR] TEST org.apache.jcs.TestSimpleLoad FAILED
> [junit] Running org.apache.jcs.TestTCPLateralCache
> [junit] log4j:ERROR No appenders could be found for category
> (org.apache.jcs.engine.control.CompositeCacheManager).
> [junit] log4j:ERROR Please initialize the log4j system properly.
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.641 sec
> [junit] [ERROR] TEST org.apache.jcs.TestTCPLateralCache FAILED
>
> [ERROR] BUILD FAILED
> [ERROR] File...... D:\maven\plugins\test\plugin.jelly
> [ERROR] Element... fail
> [ERROR] Line...... 64
> [ERROR] Column.... 50
> [ERROR] There were test failures.
> Total time: 10 seconds
>
> Brandon Goodin
> Phase Web and Multimedia
> P (406) 862-2245
> F (406) 862-0354
> [EMAIL PROTECTED]
> http://www.phase.ws
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>