diff --git a/tycho-its/projects/target.maven.eclipse-feature/pom.xml b/tycho-its/projects/target.maven.eclipse-feature/pom.xml index 7e770f2534..81694c3ab1 100644 --- a/tycho-its/projects/target.maven.eclipse-feature/pom.xml +++ b/tycho-its/projects/target.maven.eclipse-feature/pom.xml @@ -8,6 +8,7 @@ target-platform feature + repository diff --git a/tycho-its/projects/target.maven.eclipse-feature/repository/category.xml b/tycho-its/projects/target.maven.eclipse-feature/repository/category.xml new file mode 100644 index 0000000000..e19c6b34a7 --- /dev/null +++ b/tycho-its/projects/target.maven.eclipse-feature/repository/category.xml @@ -0,0 +1,4 @@ + + + + diff --git a/tycho-its/projects/target.maven.eclipse-feature/repository/pom.xml b/tycho-its/projects/target.maven.eclipse-feature/repository/pom.xml new file mode 100644 index 0000000000..34a19f8c16 --- /dev/null +++ b/tycho-its/projects/target.maven.eclipse-feature/repository/pom.xml @@ -0,0 +1,42 @@ + + + + 4.0.0 + + + + tycho-its-project + target.maven.eclipse-feature + 0.0.1-SNAPSHOT + + + + tycho-its-project + repository + 0.0.1-SNAPSHOT + eclipse-repository + + Update site with feature and all dependencies + + + + + org.eclipse.tycho + tycho-maven-plugin + ${tycho-version} + true + + + org.eclipse.tycho + tycho-p2-repository-plugin + ${tycho-version} + + true + + + + + diff --git a/tycho-its/src/test/java/org/eclipse/tycho/test/target/TargetPlatformLocationsTest.java b/tycho-its/src/test/java/org/eclipse/tycho/test/target/TargetPlatformLocationsTest.java index 29537b9e2d..fb6a63e5bf 100644 --- a/tycho-its/src/test/java/org/eclipse/tycho/test/target/TargetPlatformLocationsTest.java +++ b/tycho-its/src/test/java/org/eclipse/tycho/test/target/TargetPlatformLocationsTest.java @@ -165,6 +165,8 @@ public void testMavenLocationEclipseFeature() throws Exception { Verifier verifier = getVerifier("target.maven.eclipse-feature", false, true); verifier.executeGoal("verify"); verifier.verifyErrorFreeLog(); + File targetdir = new File(verifier.getBasedir(), "repository/target"); + assertFileExists(targetdir, "repository/features/org.eclipse.jgit_6.1.0.202203080745-r.jar"); } @Test