-
Notifications
You must be signed in to change notification settings - Fork 200
Description
The following builds successfully with 4.0.13
but not with 5.0.0
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.oomph.jetty.mirror</groupId>
<artifactId>org.eclipse.oomph.jetty.mirror</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho-version>4.0.13</tycho-version>
<jetty-version>10.0.26</jetty-version>
</properties>
<pluginRepositories>
<pluginRepository>
<id>eclipse-maven-releases</id>
<url>https://repo.eclipse.org/content/repositories/releases</url>
</pluginRepository>
<pluginRepository>
<id>eclipse-cbi-releases</id>
<url>https://repo.eclipse.org/content/repositories/cbi-releases</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-publisher-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>mirror</goal>
</goals>
</execution>
</executions>
<configuration>
<source>
<repository>
<id>jetty</id>
<layout>p2</layout>
<url>mvn:org.eclipse.jetty:jetty-p2:${jetty-version}:zip:p2site</url>
</repository>
</source>
<compress>true</compress>
<xzCompress>true</xzCompress>
<keepNonXzIndexFiles>false</keepNonXzIndexFiles>
<followStrictOnly>true</followStrictOnly>
</configuration>
</plugin>
</plugins>
</build>
</project>
It fails like this:
Mirroring: osgi.bundle,org.eclipse.jetty.maven.plugin,10.0.26 (Descriptor: canonical: osgi.bundle,org.eclipse.jetty.maven.plugin,10.0.26)
[INFO] Downloading from p2: mvn:org.eclipse.jetty:jetty-maven-plugin:10.0.26:maven-plugin:
Downloading from local: file:///D:/Users/merks/oomph-incubator/git/oomph.incubator/jetty/fake-home/.m2/repository/org/eclipse/jetty/jetty-maven-plugin/10.0.26/jetty-maven-plugin-10.0.26.maven-plugin
Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-maven-plugin/10.0.26/jetty-maven-plugin-10.0.26.maven-plugin
[WARNING] Mirror tool: Messages while mirroring artifact descriptors.:
download from mvn:org.eclipse.jetty:jetty-maven-plugin:10.0.26:maven-plugin: failed
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.961 s
[INFO] Finished at: 2025-09-01T14:19:36+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-p2-extras-plugin:5.0.0:mirror (default) on project org.eclipse.oomph.jetty.mirror: Error during mirroring: Mirroring failed: Messages while mirroring artifact descriptors.: [download from mvn:org.eclipse
.jetty:jetty-maven-plugin:10.0.26:maven-plugin: failed]: artifact [org.eclipse.jetty, jetty-maven-plugin, 10.0.26, maven-plugin] could not be resolved -> [Help 1]