Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Please test staged Tycho 1.7.0

Hi Tycho team,

Sigasi's build runs into a Junit (5) problem with the staged Tycho 1.7.0: 

!ENTRY org.eclipse.osgi 4 0 2020-04-07 14:48:34.944
!MESSAGE Application error
!STACK 1
org.apache.maven.surefire.util.SurefireReflectionException: java.lang.ClassNotFoundException: org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
        at org.apache.maven.surefire.util.ReflectionUtils.loadClass(ReflectionUtils.java:249)
        at org.apache.maven.surefire.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:133)
        at org.apache.maven.surefire.booter.SurefireReflector.instantiateProvider(SurefireReflector.java:265)
        at org.apache.maven.surefire.booter.ProviderFactory.createProvider(ProviderFactory.java:118)
        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:83)
        at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:113)
        at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:593)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:205)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
        at org.eclipse.tycho.surefire.osgibooter.CombinedClassLoader.findClass(CombinedClassLoader.java:37)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
        at org.apache.maven.surefire.util.ReflectionUtils.loadClass(ReflectionUtils.java:241)
        ... 24 more

Worked fine with Tycho 1.6.0

Kind regards,
Hendrik

On Mon, Apr 6, 2020 at 11:33 PM Mickael Istria <mistria@xxxxxxxxxx> wrote:
Tycho release 1.7.0 has been staged. For details of new features and bugfixes, see release notes [1].
Please help by testing the staged build. To use it, change your tycho version to 1.7.0 and add snippet [2] to your pom.

We plan to promote this release in one week unless major regressions are found.

Regards,
Tycho team

[1] http://wiki.eclipse.org/Tycho/Release_Notes/1.7.0
[2]
  <pluginRepositories>
    <pluginRepository>
      <id>tycho-staged</id>
      <url><https://oss.sonatype.org/content/repositories/orgeclipsetycho-1060</url
    </pluginRepository>
  </pluginRepositories>


--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user


--

Hendrik Eeckhaut, PhD   – CTO

www.sigasi.com

Kerkstraat 108, 9050 Gentbrugge, Belgium
-------------------------------------------------------------------

Back to the top