RFR: 7576: Remove the need for a local jetty server for dependencies

Austin Brooks duke at openjdk.java.net
Wed Mar 30 23:32:09 UTC 2022


On Fri, 18 Mar 2022 21:33:49 GMT, Austin Brooks <duke at openjdk.java.net> wrote:

> Using newer Tycho features to achieve result:
> 
> Maven dependencies in a target (Tycho 2.2 ): https://github.com/eclipse/tycho/blob/master/RELEASE_NOTES.md#support-for-m2e-pde-maven-target-locations
> Nested target to cut down on duplicate third party code (Tycho 2.6): https://github.com/eclipse/tycho/blob/master/RELEASE_NOTES.md#support-for-nested-targets
> 
> Note: Due to change in 2.7, you must delete a file when switching branches due to changes in the `.m2` folder: https://github.com/eclipse/tycho/blob/master/RELEASE_NOTES.md#caution-when-switching-between-tycho-versions

releng/platform-definitions/third-party.target line 121:

> 119: Bundle-Name:           Bundle derived from maven artifact ${mvnGroupId}:${mvnArtifactId}:${mvnVersion}
> 120: Import-Package:        *;resolution:=optional
> 121: Export-Package:        *

These are different than the standard Tycho defaults, but match what was in use by the old maven plugin:  https://github.com/reficio/p2-maven-plugin#default-options

-------------

PR: https://git.openjdk.java.net/jmc/pull/387


More information about the jmc-dev mailing list