I've been trying to configure a custom snapshot repository within my karaf distribution configuration options. It turned out, that it is not possible to configure the repository option via the following command:
commonOptions()
public Option[] commonOptions() {
return new Option[]{
karafDistributionConfiguration()
...,
repository("http://repository.apache.org/content/groups/snapshots-group").allowSnapshots().disableReleases().id("apache")
}
}
It had no effect at all during the test execution and I was not able to pull any snapshot artefact from the Apache snapshot repository. To get this working, I had to overwrite the org.ops4j.pax.url.mvn.cfg via the following command:
Since I do not think, that this is working as intended, I would like to open a bug to track this issue. If anyone knows, how to resolve this, please let me know.
Christoph Emmersberger created PAXEXAM-590
Hi
I've been trying to configure a custom snapshot repository within my karaf distribution configuration options.
It turned out, that it is not possible to configure the repository option via the following command:
commonOptions()
It had no effect at all during the test execution and I was not able to pull any snapshot artefact from the Apache snapshot repository. To get this working, I had to overwrite the org.ops4j.pax.url.mvn.cfg via the following command:
commonOptions()
Since I do not think, that this is working as intended, I would like to open a bug to track this issue. If anyone knows, how to resolve this, please let me know.
Kind regards,
Christoph
Affects: 3.3.0 Votes: 0, Watches: 2