Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-ide-wg] Minutes of May 3rd Eclipse IDE WG Steering Committee Meeting

Christoph,

Previously I'd tried this approach:

jar:https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-p2/11.0.9/jetty-p2-11.0.9-p2site.zip!/

That loads the content such that one can select it, but then fails because of this

java.net.MalformedURLException: unknown protocol: mvn
    at java.base/java.net.URL.<init>(URL.java:652)
    at java.base/java.net.URL.fromURI(URL.java:719)
    at java.base/java.net.URI.toURL(URI.java:1116)
    at org.eclipse.ecf.provider.filetransfer.identity.FileTransferID.getURL(FileTransferID.java:80)
    at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:879)
    at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:148)
    at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:456)
    at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.readInto(FileReader.java:386)
    at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:107)
    at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:136)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:748)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:672)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:804)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:329)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:299)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:232)
    at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:162)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:787)
    at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:64)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

The mvn:org.eclipse.jetty:jetty-p2:11.0.9:zip:p2site URL fails the same way although before loading.  When I debugged I found that the mvn protocol is only registered if the right bundle is started, but that doesn't happen automatically; visiting the Maven preferences helps.

In older versions I tested in the past, the PGP signatures were rejected, but it seems this version doesn't have such signatures:

When a  user asked about this on the newcomers forum, nobody had an answer for them and when I went hunting, this site was not helpful in discovering such an answer when I looked:

https://www.eclipse.org/jetty/download.php

It would be trivially easy to create a mirror that doesn't rely on additional things being installed (and being activated in some way)...

On 19.05.2022 07:33, Christoph Läubrich wrote:
Just noticed the part about "a proper p2 repo for Jetty would be nice"

There actually is already a p2 repository from jetty, you can add the following URL to your target (requires m2e installed) as an Update-Site:

Jetty 10:
 mvn:org.eclipse.jetty:jetty-p2:10.0.9:zip:p2site

Jetty 11:
 mvn:org.eclipse.jetty:jetty-p2:11.0.9:zip:p2site

See here for available versions:
 https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-p2

This includes all jetty bundles and you can select the ones you like. Next release of jetty will also contain PGP signatures again (there was a bug in the previous Tycho release that is fixed now).


Am 18.05.22 um 19:56 schrieb Pradeep Balachandran:
The minutes of the Steering Committee meeting held on May 3^rd was unanimously approved in this week’s meeting and the same has been attached.

Thanks,

Pradeep


_______________________________________________
eclipse-ide-wg mailing list
eclipse-ide-wg@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/eclipse-ide-wg
_______________________________________________
eclipse-ide-wg mailing list
eclipse-ide-wg@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/eclipse-ide-wg

Back to the top