From f725bb078a6fc26454fbb8694d07c6692aa317d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Fri, 12 Jan 2024 10:44:12 +0100 Subject: [PATCH] Move the copy of resources from ant to maven --- .../org.eclipse.platform.doc.isv/buildDoc.xml | 47 -------- .../org.eclipse.platform.doc.isv/pom.xml | 101 +++++++++++++++++- .../eclipse-junit-tests/pom.xml | 1 - .../src/main/assembly/assembly.xml | 5 - .../eclipse/helper.xml | 5 - .../bundles/org.eclipse.releng.tests/test.xml | 2 +- 6 files changed, 101 insertions(+), 60 deletions(-) diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/buildDoc.xml b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/buildDoc.xml index 79486856cfa..fa23ef1398f 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/buildDoc.xml +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/buildDoc.xml @@ -10,56 +10,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml index 9c5e4f5b70e..347b737936a 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml @@ -50,6 +50,28 @@ + + maven-clean-plugin + + + + reference/api + + + reference/extension-points + + index.html + + + + samples + + samples.html + + + + + org.eclipse.tycho target-platform-configuration @@ -376,7 +398,84 @@ - + + + maven-resources-plugin + + + copy-extension-resources + process-resources + + copy-resources + + + ${basedir}/reference/extension-points + + + ${basedir}/${eclipse.platform.ua}/org.eclipse.ui.cheatsheets/schema/ + false + + cheatSheetContentFileSpec.html + cheatSheetContentFileSpec.exsd + compositeContentFile.html + compositeContentFile.exsd + org.eclipse.ui.intro/schema/introContentFileSpec.html + + + + ${basedir}/${eclipse.platform.ua}/org.eclipse.ui.intro/schema/ + false + + introContentFileSpec.html + + + + + + + copy-example-resources + process-resources + + copy-resources + + + ${basedir}/samples + + + ${basedir}/${eclipse.platform.team.examples} + false + + org.eclipse.compare.examples/doc-html/*.* + org.eclipse.compare.examples.xml/doc-html/*.* + org.eclipse.team.examples.filesystem/doc-html/*.* + + + + ${basedir}/${eclipse.platform.swt.examples} + false + + org.eclipse.swt.examples/doc-html/*.* + org.eclipse.swt.examples.views/doc-html/*.* + org.eclipse.swt.examples.launcher/doc-html/*.* + org.eclipse.swt.examples.ole.win32/doc-html/*.* + + + + ${basedir}/${eclipse.platform.ui.examples} + false + + org.eclipse.ui.examples.fieldassist/doc-html/*.* + org.eclipse.ui.examples.multipageeditor/doc-html/*.* + org.eclipse.ui.examples.propertysheet/doc-html/*.* + org.eclipse.ui.examples.undo/doc-html/*.* + org.eclipse.ui.examples.javaeditor/doc-html/*.* + + + + + + + org.eclipse.tycho.extras tycho-eclipserun-plugin diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml b/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml index a1c1c38d3fd..2011f7b88af 100644 --- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml +++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml @@ -36,7 +36,6 @@ a better way? --> ../../eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/target/doc.bin.log - ../../eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/target/platformconvert.txt