Skip to main content
Jump to: navigation, search

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

(Tycho Document Bundle Plugin)
(format document-bundle changes; move below header that we used in previous release notes ("additional tools"))
Line 30: Line 30:
 
* You can now use <tt>&lt;iu&gt;</tt> elements in an eclipse-repository's category.xml to include and/or categorize arbitrary artifacts in a p2 repository ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=371983 <strike>bug 371983</strike>]). See [[Tycho/category.xml]] for details.
 
* You can now use <tt>&lt;iu&gt;</tt> elements in an eclipse-repository's category.xml to include and/or categorize arbitrary artifacts in a p2 repository ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=371983 <strike>bug 371983</strike>]). See [[Tycho/category.xml]] for details.
  
=== Tycho Document Bundle Plugin ===
+
=== Test Execution ===
([https://bugs.eclipse.org/bugs/show_bug.cgi?id=459214 <strike>Bug 459214</strike>]) It is now possible to select which packages actually get documented by specifying include/exclude lists in the plugin configuration.
+
  
([https://bugs.eclipse.org/bugs/show_bug.cgi?id=453602 <strike>Bug 453602</strike>]) It is now possible to use a custom doclet and to specify custom doclet artifacts. The <tt>doclet</tt> parameter will be passed to javadoc as <tt>-doclet</tt>. The <tt>docletArtifacts</tt> are resolved (including the transitive depenencies) and passed to javadoc as <tt>-docletpath</tt>.
+
* (INCOMPATIBLE CHANGE) The tycho-surefire property <tt>testSuite</tt> had been removed. If you are building a multi-bundle project and had set the <tt>testSuite</tt> and <tt>testClass</tt> property on the CLI or in a parent pom, you have to set the property <tt>failIfNoTests</tt> to <tt>false</tt>. If you had specified <tt>testSuite</tt> and <tt>testClass</tt> in the pom file of the plugin the <tt>testsClass</tt> belongs to, you just have to remove the <tt>testSuite</tt> property ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=453526 <strike>bug 453526</strike>]).
  
 +
=== Additional Tools ===
 +
 +
<ul>
 +
<li> The [https://hudson.eclipse.org/tycho/view/CI/job/tycho.extras-sitedocs/ws/target/staging/tycho-document-bundle-plugin/plugin-info.html tycho-document-bundle-plugin] now allows to specify includes and excludes for the packages to be documented ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=459214 <strike>bug 459214</strike>])
 +
<li> It is now possible to use a custom doclet in the [https://hudson.eclipse.org/tycho/view/CI/job/tycho.extras-sitedocs/ws/target/staging/tycho-document-bundle-plugin/plugin-info.html tycho-document-bundle-plugin] ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=453602 <strike>bug 453602</strike>]). The <tt>doclet</tt> parameter will be passed to javadoc as <tt>-doclet</tt>. The <tt>docletArtifacts</tt> are resolved (including the transitive depenencies) and passed to javadoc as <tt>-docletpath</tt>.
 
Example configuration:
 
Example configuration:
<code>
+
<pre>
 
  <configuration>
 
  <configuration>
 
     <javadocOptions>
 
     <javadocOptions>
Line 50: Line 54:
 
     </javadocOptions>
 
     </javadocOptions>
 
  </configuration>
 
  </configuration>
</code>
+
</pre>
 
+
</li>
=== Test Execution ===
+
</ul>
 
+
* (INCOMPATIBLE CHANGE) The tycho-surefire property <tt>testSuite</tt> had been removed. If you are building a multi-bundle project and had set the <tt>testSuite</tt> and <tt>testClass</tt> property on the CLI or in a parent pom, you have to set the property <tt>failIfNoTests</tt> to <tt>false</tt>. If you had specified <tt>testSuite</tt> and <tt>testClass</tt> in the pom file of the plugin the <tt>testsClass</tt> belongs to, you just have to remove the <tt>testSuite</tt> property ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=453526 <strike>bug 453526</strike>]).
+
 
+
 
[[Category:Tycho|Release Notes/0.23]]
 
[[Category:Tycho|Release Notes/0.23]]

Revision as of 09:53, 9 March 2015

< Previous Version | Next Version >

SNAPSHOT builds

To try out the most recent snapshot build of 0.23.0, 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 0.23.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 0.23.0

Packaging

  • You can now use <iu> elements in an eclipse-repository's category.xml to include and/or categorize arbitrary artifacts in a p2 repository (bug 371983). See Tycho/category.xml for details.

Test Execution

  • (INCOMPATIBLE CHANGE) The tycho-surefire property testSuite had been removed. If you are building a multi-bundle project and had set the testSuite and testClass property on the CLI or in a parent pom, you have to set the property failIfNoTests to false. If you had specified testSuite and testClass in the pom file of the plugin the testsClass belongs to, you just have to remove the testSuite property (bug 453526).

Additional Tools

  • The tycho-document-bundle-plugin now allows to specify includes and excludes for the packages to be documented (bug 459214)
  • It is now possible to use a custom doclet in the tycho-document-bundle-plugin (bug 453602). The doclet parameter will be passed to javadoc as -doclet. The docletArtifacts are resolved (including the transitive depenencies) and passed to javadoc as -docletpath. Example configuration:
     <configuration>
        <javadocOptions>
           <ignoreError>false</ignoreError>
           <doclet>foo.bar.MyDoclet</doclet>
           <docletArtifacts>
              <docletArtifact>
                 <groupId>foo.bar</groupId>
                 <artifactId>foo.bar.mydocletartifact</artifactId>
                 <version>1.0</version>
              </docletArtifact>
           </docletArtifacts>
        </javadocOptions>
     </configuration>
    

Back to the top