The plot thickends.
It seems to actually be in cobertura where the error is and when I comment
out the coburtura plugin, it works.

The module that the error is happening is one of 4 modules in my ./common/*
set of modules
The first module is common-jar and when I run site, I now get a "
surefire.properties", and "surefire-classloader.properties" file created in
the root directory of common-jar module.

WHy are these 2 files being created all of the sudden? Was there a change in
the SNAPSHOT plugin?



On 10/2/06, Mick Knutson <[EMAIL PROTECTED]> wrote:

Not doing anything different for these 2 new JUNit tests. They are not
even completed yet. So what is this error as I am not sure where to start to
find out what might be causing this.


[INFO] Instrumentation was successful.
[INFO] [junitdoclet:junitdoclet {execution: default}]
Loading source files for package org.delta.security...
Constructing Javadoc information...
Generating TestSuites and TestCases.
Loading properties junitdoclet.properties from class path.
TestCase org.delta.security.RoleLookupTest did not change but
org.delta.security.RoleLookup did.
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 3 source files to
c:\opt\npi\common\jazn-adapter\target\test-classes
[INFO] [surefire:test]
[INFO] Setting reports dir:
c:\opt\npi\common\jazn-adapter\target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Cobertura: Loaded information on 7 classes.
[surefire] Running org.delta.security.RoleLookupTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.079 sec
[surefire] Running org.delta.security.SecurityLoginModuleTest
[surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.016 sec

Results :
[surefire] Tests run: 9, Failures: 0, Errors: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error configuring: org.apache.maven.plugins:maven-surefire-plugin .
Reason: ERROR: Cannot override read-only parameter: classpathElements in goa
l: surefire:test
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException : Error
configuring: org.apache.maven.plugins:maven-surefire-plugin. Reason:
ERROR: Cannot overr
ide read-only parameter: classpathElements in goal: surefire:test
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (
DefaultLifecycleExecutor.java:563)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle (
DefaultLifecycleExecutor.java:891)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(
DefaultLifecycleExecutor.java:734)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (
DefaultLifecycleExecutor.java:525)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (
DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke (Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode (
Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.PluginConfigurationException: Error
configuring: org.apache.maven.plugins:maven-surefire-plugin . Reason:
ERROR: Can
not override read-only parameter: classpathElements in goal: surefire:test
        at
org.apache.maven.plugin.DefaultPluginManager.validatePomConfiguration(
DefaultPluginManager.java:848)
        at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
DefaultPluginManager.java:558)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:390)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (
DefaultLifecycleExecutor.java:534)
        ... 20 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 42 seconds
[INFO] Finished at: Mon Oct 02 10:23:40 PDT 2006
[INFO] Final Memory: 30M/55M
[INFO]
------------------------------------------------------------------------
Cobertura: Saved information on 7 classes.
Cobertura: Saved information on 26 classes.

c:\opt\npi>




--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson




--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson

Reply via email to