Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Tycho/Release Notes/1.2"

m
Line 42: Line 42:
 
* Default [[../../Execution_Environments|execution environment]], used when no better source in the module is found to decide it, is now <tt>JavaSE-9</tt>.  
 
* Default [[../../Execution_Environments|execution environment]], used when no better source in the module is found to decide it, is now <tt>JavaSE-9</tt>.  
 
* Support for building bundles requiring <tt>JavaSE-10</tt> has been added ( {{bug|532233}} )
 
* Support for building bundles requiring <tt>JavaSE-10</tt> has been added ( {{bug|532233}} )
 +
* Installable Units representing the execution environment (e.g. <tt>a.jre.javase</tt> version <tt>10.0.0</tt> representing <tt>JavaSE-10</tt>) are now explicitly published in projects of packaging type <tt>eclipse-repository</tt> (as opposed to implicitly when publishing a product). The default execution environment published is <tt>JavaSE-10</tt>, but this is [https://ci.eclipse.org/tycho/job/tycho-sitedocs/ws/target/staging/tycho-p2/tycho-p2-publisher-plugin/publish-osgi-ee-mojo.html configurable].
 +
 
  
 
[[Category:Tycho|Release Notes/1.2]]
 
[[Category:Tycho|Release Notes/1.2]]

Revision as of 09:04, 29 May 2018

< Previous Version | Next Version >

SNAPSHOT builds

Tycho 1.2.0-SNAPSHOT is currently in development. To try out the most recent snapshot build, simply add the following snippet to your (parent) pom.xml or settings.xml, and set the property for the Tycho version (e.g. tycho-version) to 1.2.0-SNAPSHOT.

<pluginRepositories>
    <pluginRepository>
      <id>tycho-snapshots</id>
      <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
    </pluginRepository>
</pluginRepositories>

SNAPSHOT site docs

Refer to the latest SNAPSHOT site docs for Tycho and Tycho Extras.


New and Noteworthy

Complete list of bug fixes and enhancements in 1.2.0-SNAPSHOT

Testing

  • Support for JUnit 5 is here! (bug 522475)
    • We ported junit-platform-surefire-provider to Tycho. As soon as a test bundle requires any of the org.junit.jupiter.api.* packages, the JUnit 5 surefire provider is used, no need for explicit configuration in the default case.
    • We added junit-vintage-engine so you can mix and match JUnit 5 and JUnit 4 tests in the same test bundle. This should ease gradual migration to JUnit 5
    • You can exclude or include test based on JUnit 5 tags, see the JUnit 5 example test bundle used by the integration tests

p2 and Dependency resolution

  • Move to Equinox p2 Photon M6 ( bug 532775 )
    • This adds sha-256 signatures to p2 metadata for downloadable artifacts
    • Publish OSGi capabilites as p2 requires/provides and take them into account during dependency resolution.
    • The execution environment (EE) is now published as a requirement and taken into account during dependency resolution.
  • Default execution environment, used when no better source in the module is found to decide it, is now JavaSE-9.
  • Support for building bundles requiring JavaSE-10 has been added ( bug 532233 )
  • Installable Units representing the execution environment (e.g. a.jre.javase version 10.0.0 representing JavaSE-10) are now explicitly published in projects of packaging type eclipse-repository (as opposed to implicitly when publishing a product). The default execution environment published is JavaSE-10, but this is configurable.

Back to the top