From 232335945ed4bf26128d28ccf5fadf8303ebd2ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Mon, 13 Feb 2023 13:15:22 +0100 Subject: [PATCH] Add workaround for polyglot issue Currently polyglot do not work with maven 3.9 because it extends an internal component ... this extends the polyglot component to enbedd updated metadata in tycho itself. See: - https://github.com/takari/polyglot-maven/pull/256 --- .../pomless/TychoTeslaProjectBuilder.java | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tycho-extras/tycho-pomless/src/main/java/org/eclipse/tycho/pomless/TychoTeslaProjectBuilder.java diff --git a/tycho-extras/tycho-pomless/src/main/java/org/eclipse/tycho/pomless/TychoTeslaProjectBuilder.java b/tycho-extras/tycho-pomless/src/main/java/org/eclipse/tycho/pomless/TychoTeslaProjectBuilder.java new file mode 100644 index 0000000000..2e079feb41 --- /dev/null +++ b/tycho-extras/tycho-pomless/src/main/java/org/eclipse/tycho/pomless/TychoTeslaProjectBuilder.java @@ -0,0 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2023 Christoph Läubrich and others. + * + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Christoph Läubrich - initial API and implementation + * + *******************************************************************************/ +package org.eclipse.tycho.pomless; + +import javax.annotation.Priority; + +import org.apache.maven.project.ProjectBuilder; +import org.codehaus.plexus.component.annotations.Component; +import org.sonatype.maven.polyglot.TeslaProjectBuilder; + +@Component(role = ProjectBuilder.class) +@Priority(10) +//Workaround for https://github.com/takari/polyglot-maven/pull/256 +public class TychoTeslaProjectBuilder extends TeslaProjectBuilder { + +}