[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Specifying an archived p2 repository in pom.xml?
|
No, tycho does not support archived p2 repositories.
--
Regards,
Igor
On 12-05-21 7:54 AM, motes motes wrote:
Previously we added a repository in a parent pom.xml like:
<!-- using http -->
<repositories>
<repository>
<id>some-id</id>
<layout>p2</layout>
<url>http://some-host/the-repo</url>
<layout>p2</layout>
</repository>
</repositories>
we have now moved this repo to an internal network drive as a zipped
archive. How do I setup the repository to read from this
location/archive? I have tried:
<!-- using file/archive -->
<repositories>
<repository>
<id>some-id</id>
<layout>p2</layout>
<url>file:////our-network/p2/the-repo.zip/</url>
</repository>
</repositories>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-file</artifactId>
<version>2.2</version>
</extension>
</extensions>
but tycho does not understand/read the above archived repo:
[WARNING] Could not transfer metadata..... from/to ....
file:////our-network/p2/the-repo.zip/): No connector available to
access repository .... (file:////our-network/p2/the-repo.zip/) of type
p2
using the available factories WagonRepositoryConnectorFactory
....
[ERROR] Internal error: java.lang.RuntimeException:
java.lang.RuntimeException:
org.eclipse.equinox.p2.core.ProvisionException: No repository found at
file:////our-network/p2/the-repo.zip/. -> [Help 1]
org.apache.maven.InternalErrorException: Internal error:
java.lang.RuntimeException: java.lang.RuntimeException:
org.eclipse.equinox.p2.core.ProvisionException: No repository found a
t file:////our-network/p2/the-repo.zip/.
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
Does tycho not support archived p2 sites in the repository tag?
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user