diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index fa3548e60d..fd0d93fbc9 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -76,12 +76,16 @@ Tycho now correctly supports repository references in `category.xml`: in the pre ### Add PGP signatures to artifacts in p2 repositories -A new mojo [](https://www.eclipse.org/tycho/sitedocs/tycho-gpg-plugin/sign-p2-artifacts-mojo.html) was added to add GPG signatures to artifacts metadata. Those GPG signatures are later expected to be used by p2 during installation to verify integrity and build trust in installed components. +A new mojo [tycho-gpg-plugin:sign-p2-artifacts-mojo](https://www.eclipse.org/tycho/sitedocs/tycho-gpg-plugin/sign-p2-artifacts-mojo.html) was added to add GPG signatures to artifacts metadata. Those GPG signatures are later expected to be used by p2 during installation to verify integrity and build trust in installed components. ### [Support for "additional.bundles" directive in build.properties](https://bugs.eclipse.org/bugs/show_bug.cgi?id=572481) Tycho now understands the `additional.bundles` directive in the `build.properties` file and properly resolves them during dependency resolution. +### Create p2 repository referencing Maven artifacts + +A new mojo [tycho-p2-repository-plugin:assemble-maven-repository](https://www.eclipse.org/tycho/sitedocs/tycho-p2-repository-plugin/assemble-maven-repository.html) was added to enable creation of p2 repositories directly from Maven artifact references. This removes the usual need to create a target definition and a category.xml for this task. + ## 2.3.0 ### Official Equinox Resolver used for dependency resolution (stricter and can produce errors for split packages) diff --git a/tycho-its/projects/p2mavensite/producer/pom.xml b/tycho-its/projects/p2mavensite/producer/pom.xml index 0098755f4c..cb3dc0de2b 100644 --- a/tycho-its/projects/p2mavensite/producer/pom.xml +++ b/tycho-its/projects/p2mavensite/producer/pom.xml @@ -26,7 +26,7 @@ maven-p2-site package - assemble-p2-maven-site + assemble-maven-repository diff --git a/tycho-p2/tycho-p2-repository-plugin/src/main/java/org/eclipse/tycho/plugins/p2/repository/MavenP2SiteMojo.java b/tycho-p2/tycho-p2-repository-plugin/src/main/java/org/eclipse/tycho/plugins/p2/repository/MavenP2SiteMojo.java index ff5c064eb3..914995ed78 100644 --- a/tycho-p2/tycho-p2-repository-plugin/src/main/java/org/eclipse/tycho/plugins/p2/repository/MavenP2SiteMojo.java +++ b/tycho-p2/tycho-p2-repository-plugin/src/main/java/org/eclipse/tycho/plugins/p2/repository/MavenP2SiteMojo.java @@ -89,7 +89,7 @@ *

* */ -@Mojo(name = "assemble-p2-maven-site", requiresDependencyResolution = ResolutionScope.COMPILE) +@Mojo(name = "assemble-maven-repository", requiresDependencyResolution = ResolutionScope.COMPILE) public class MavenP2SiteMojo extends AbstractMojo { @Parameter(defaultValue = "${project}", readonly = true, required = true)