Skip to content

Commit

Permalink
Add workaround for polyglot issue
Browse files Browse the repository at this point in the history
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:
- takari/polyglot-maven#256
  • Loading branch information
laeubi committed Feb 13, 2023
1 parent 20b2846 commit 2323359
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 {

}

0 comments on commit 2323359

Please sign in to comment.