jetty.project icon indicating copy to clipboard operation
jetty.project copied to clipboard

Jetty p2 site is empty

Open laeubi opened this issue 3 years ago • 6 comments

Jetty version(s) https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-p2/10.0.10/

Description I have downloaded the zip but if I look at the artifacts.xml is empty:

<?artifactRepository version='1.1.0'?>
<repository name="Jetty :: P2" type="org.eclipse.equinox.p2.artifact.repository.simpleRepository" version="1.0.0">
  <properties size="2">
    <property name="p2.timestamp" value="1655410012742"/>
    <property name="p2.compressed" value="false"/>
  </properties>
  <mappings size="1">
    <rule filter="(&(classifier=osgi.bundle))" output="mvn:${maven.groupId}:${maven.artifactId}:${maven.version}:${maven.extension}:${maven.classifier}"/>
  </mappings>
  <artifacts size="0"/>
</repository>

How should it looks like If I look at https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-p2/10.0.9/

<?artifactRepository version='1.1.0'?>
<repository name="Jetty :: P2" type="org.eclipse.equinox.p2.artifact.repository.simpleRepository" version="1.0.0">
  <properties size="2">
    <property name="p2.timestamp" value="1648659692174"/>
    <property name="p2.compressed" value="false"/>
  </properties>
  <mappings size="1">
  <rule filter="(&(classifier=osgi.bundle))" output="mvn:${maven.groupId}:${maven.artifactId}:${maven.version}:${maven.extension}:${maven.classifier}"/>
  </mappings>
  <artifacts size="90">
    <artifact classifier="osgi.bundle" id="org.eclipse.jetty.quic.client" version="10.0.9">
    <properties size="9">
    <property name="artifact.size" value="23110"/>
    <property name="download.size" value="23110"/>
    <property name="download.md5" value="577f29eb3faa90cda196e31fbf7c82eb"/>
    <property name="download.checksum.md5" value="577f29eb3faa90cda196e31fbf7c82eb"/>
    <property name="download.checksum.sha-256" value="76092ffa1a90a2475eb1e0fe8370e3d0278d29d3746f23bdb74d94aab50a71c9"/>
    <property name="maven.artifactId" value="quic-client"/>
    <property name="maven.extension" value="jar"/>
    <property name="maven.version" value="10.0.9"/>
    <property name="maven.groupId" value="org.eclipse.jetty.quic"/>
    </properties>
    </artifact>
...

laeubi avatar Aug 10 '22 08:08 laeubi

Looks like jetty-p2 from Jetty version 10.0.10 was generate using ...

  <tycho-version>2.7.4</tycho-version>

  <groupId>org.eclipse.tycho</groupId>
  <artifactId>tycho-p2-repository-plugin</artifactId>
  <version>${tycho-version}</version>

https://github.com/eclipse/jetty.project/blob/jetty-10.0.x/jetty-p2/pom.xml

Is that version stable?

joakime avatar Aug 10 '22 20:08 joakime

Is Jetty 10.0.11 the same?

joakime avatar Aug 10 '22 20:08 joakime

@joakime I think this can happen when not all reactor projects are build (e.g. you only build the p2 project alone) could it be something like this?

If I look at https://oss.sonatype.org/content/repositories/jetty-snapshots/org/eclipse/jetty/jetty-p2/10.0.12-SNAPSHOT/jetty-p2-10.0.12-20220811.022501-22-p2site.zip it has <artifacts size="87"> what sounds reasonable, so maybe something in the way how 10.0.10 was deployed?

laeubi avatar Aug 11 '22 04:08 laeubi

Is Jetty 10.0.11 the same?

there is not even a jetty-p2 for 10.0.11 or a 11.0.11 neither :(

sbouchet avatar Sep 02 '22 09:09 sbouchet

this should be fixed with this commit https://github.com/eclipse/jetty.project/pull/8034.

olamy avatar Sep 06 '22 01:09 olamy

Thanks!

laeubi avatar Sep 06 '22 04:09 laeubi

This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 07 '23 00:09 github-actions[bot]