Hi,
Please find attached surefire-report logs for the tests on running
"m2 install" on Maven-scm snapshot.
I get these errors when the build runs tests for Maven SCM CVS
provider. I think the build halts after the encountering these error
so there might be similar errors for other provider implementation
modules.
Other errors for same module are similar to these. Also, I checked
both 'svn' and 'cvs' binaries are on path. Appreciate any
suggestions/pointers.
Thanks in advance,
Rahul
Rahul wrote:
Thanks Brett,
I am moving this thread to scm-dev then.
Cheers,
Rahul
Brett Porter wrote:
Actually, there was only a prototype plugin in the works. There
isn't anything like the Maven 1.x version just yet.
Maven SCM is a general library for SCM interface that is used by
continuum, the m2 release plugin and the m1 SCM plugin, and would
certainly form the basis of an SCM plugin for m2 (actually, it
wouldn't be that hard to do and whatever is already there could be
a good base).
Perhaps you could let us know what the test failures are that you
are getting? Some of them do depend on having the cvs or svn
executable in your path at the moment, but you can look in
target/surefire-reports for the individual projects for more info.
There is also a lower traffic scm-dev@maven.apache.org list
dedicated to problems with that specific library.
Cheers,
Brett
Rahul wrote:
Greetings,
I was wondering if the SCM plugin for M2 still far off from a
release? I am setting up builds with M2-a3 that need SCM
functionality and tried building Maven-SCM svn snapshot but there
were some build test failures :-(
Thanks in advance for any pointers.
Rahul
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
------------------------------------------------------------------------
-------------------------------------------------------------------------------
Battery:
org.apache.maven.scm.provider.cvslib.command.changelog.CvsChangeLogCommandTest
-------------------------------------------------------------------------------
testGetCommandWithStartAndEndDate(org.apache.maven.scm.provider.cvslib.command.changelog.CvsChangeLogCommandTest)
[ stdout ]
---------------------------------------------------------------
[ stderr ]
---------------------------------------------------------------
[ stacktrace ]
-----------------------------------------------------------
java.lang.Error: Unresolved compilation problem: Type mismatch:
cannot convert from ScmManager to ScmManager
at
org.apache.maven.scm.provider.cvslib.command.changelog.CvsChangeLogCommandTest.testChangeLog(CvsChangeLogCommandTest.java:72)
at
org.apache.maven.scm.provider.cvslib.command.changelog.CvsChangeLogCommandTest.testGetCommandWithStartAndEndDate(CvsChangeLogCommandTest.java:46)
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 junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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.surefire.battery.JUnitBattery.execute(JUnitBattery.java:190)
at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:155)
at org.codehaus.surefire.Surefire.run(Surefire.java:105)
at org.codehaus.surefire.Surefire.run(Surefire.java:59)
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.surefire.SurefireBooter.run(SurefireBooter.java:83)
at
org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:219)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:401)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:169)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:143)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:129)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:103)
at
org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:180)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:269)
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:303)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
testGetCommandWithoutEndDate(org.apache.maven.scm.provider.cvslib.command.changelog.CvsChangeLogCommandTest)
[ stdout ]
---------------------------------------------------------------
[ stderr ]
---------------------------------------------------------------
[ stacktrace ]
-----------------------------------------------------------
java.lang.Error: Unresolved compilation problem: Type mismatch:
cannot convert from ScmManager to ScmManager
at
org.apache.maven.scm.provider.cvslib.command.changelog.CvsChangeLogCommandTest.testChangeLog(CvsChangeLogCommandTest.java:72)
at
org.apache.maven.scm.provider.cvslib.command.changelog.CvsChangeLogCommandTest.testGetCommandWithoutEndDate(CvsChangeLogCommandTest.java:56)
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 junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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.surefire.battery.JUnitBattery.execute(JUnitBattery.java:190)
at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:155)
at org.codehaus.surefire.Surefire.run(Surefire.java:105)
at org.codehaus.surefire.Surefire.run(Surefire.java:59)
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.surefire.SurefireBooter.run(SurefireBooter.java:83)
at
org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:219)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:401)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:169)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:143)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:129)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:103)
at
org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:180)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:269)
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:303)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
testGetCommandWithBranchOrTag(org.apache.maven.scm.provider.cvslib.command.changelog.CvsChangeLogCommandTest)
[ stdout ]
---------------------------------------------------------------
[ stderr ]
---------------------------------------------------------------
[ stacktrace ]
-----------------------------------------------------------
java.lang.Error: Unresolved compilation problem: Type mismatch:
cannot convert from ScmManager to ScmManager
at
org.apache.maven.scm.provider.cvslib.command.changelog.CvsChangeLogCommandTest.testChangeLog(CvsChangeLogCommandTest.java:72)
at
org.apache.maven.scm.provider.cvslib.command.changelog.CvsChangeLogCommandTest.testGetCommandWithBranchOrTag(CvsChangeLogCommandTest.java:66)
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 junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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.surefire.battery.JUnitBattery.execute(JUnitBattery.java:190)
at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:155)
at org.codehaus.surefire.Surefire.run(Surefire.java:105)
at org.codehaus.surefire.Surefire.run(Surefire.java:59)
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.surefire.SurefireBooter.run(SurefireBooter.java:83)
at
org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:219)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:401)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:169)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:143)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:129)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:103)
at
org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:180)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:269)
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:303)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
------------------------------------------------------------------------
-------------------------------------------------------------------------------
Battery:
org.apache.maven.scm.provider.cvslib.command.checkin.CvsCheckInCommandTckTest
-------------------------------------------------------------------------------
testCheckInCommandTest(org.apache.maven.scm.provider.cvslib.command.checkin.CvsCheckInCommandTckTest)
[ stdout ]
---------------------------------------------------------------
[ stderr ]
---------------------------------------------------------------
[ stacktrace ]
-----------------------------------------------------------
java.lang.Error: Unresolved compilation problem: The constructor
CvsCheckOutConsumer(Logger) is undefined
at
org.apache.maven.scm.provider.cvslib.command.checkout.CvsCheckOutCommand.executeCheckOutCommand(CvsCheckOutCommand.java:69)
at
org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.executeCommand(AbstractCheckOutCommand.java:45)
at
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:55)
at
org.apache.maven.scm.provider.AbstractScmProvider.execute(AbstractScmProvider.java:136)
at
org.codehaus.plexus.scm.DefaultScmManager.execute(DefaultScmManager.java:298)
at
org.codehaus.plexus.scm.DefaultScmManager.checkOut(DefaultScmManager.java:187)
at
org.apache.maven.scm.tck.command.checkin.CheckInCommandTckTest.setUp(CheckInCommandTckTest.java:139)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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.surefire.battery.JUnitBattery.execute(JUnitBattery.java:190)
at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:155)
at org.codehaus.surefire.Surefire.run(Surefire.java:105)
at org.codehaus.surefire.Surefire.run(Surefire.java:59)
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.surefire.SurefireBooter.run(SurefireBooter.java:83)
at
org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:219)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:401)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:169)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:143)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:129)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:103)
at
org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:180)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:269)
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:303)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
testCheckInCommandPartialFileset(org.apache.maven.scm.provider.cvslib.command.checkin.CvsCheckInCommandTckTest)
[ stdout ]
---------------------------------------------------------------
[ stderr ]
---------------------------------------------------------------
[ stacktrace ]
-----------------------------------------------------------
java.lang.Error: Unresolved compilation problem: The constructor
CvsCheckOutConsumer(Logger) is undefined
at
org.apache.maven.scm.provider.cvslib.command.checkout.CvsCheckOutCommand.executeCheckOutCommand(CvsCheckOutCommand.java:69)
at
org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.executeCommand(AbstractCheckOutCommand.java:45)
at
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:55)
at
org.apache.maven.scm.provider.AbstractScmProvider.execute(AbstractScmProvider.java:136)
at
org.codehaus.plexus.scm.DefaultScmManager.execute(DefaultScmManager.java:298)
at
org.codehaus.plexus.scm.DefaultScmManager.checkOut(DefaultScmManager.java:187)
at
org.apache.maven.scm.tck.command.checkin.CheckInCommandTckTest.setUp(CheckInCommandTckTest.java:139)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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.surefire.battery.JUnitBattery.execute(JUnitBattery.java:190)
at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:155)
at org.codehaus.surefire.Surefire.run(Surefire.java:105)
at org.codehaus.surefire.Surefire.run(Surefire.java:59)
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.surefire.SurefireBooter.run(SurefireBooter.java:83)
at
org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:219)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:401)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:169)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:143)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:129)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:103)
at
org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:180)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:269)
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:303)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
at org.codehaus.classworlds.Launcher.main(Launcher.java:363)