No HTTP basic auth in software sites? [message #1855748] |
Mon, 31 October 2022 14:10 |
Eclipse User |
|
|
|
We store our custom P2 sites in a Nexus server that requires authenticated access.
Tycho catches the credentials from Maven's settings.xml file and works fine like this.
But the PDE build and most specifically the target editor does not seem to work now.
Instead I get an error such as:
"No repository found at: https://my-server/nexus/content/sites/p2-releases/my-repo/v2022-01-16_16-46-54/"
The target file looks like this:
...
<target name="My target" sequenceNumber="24">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="my.unit" version="1.0.1"/>
<repository id="nexus" location="https://my-server/nexus/content/sites/p2-releases/my-repo/v2022-01-16_16-46-54/"/>
</location>
</locations>
</target>
The settings.xml looks something like this:
...
<server>
<id>nexus</id>
<username>myuser</username>
<password>mypassword</password>
</server>
...
Is this supposed to work somehow?
Cheers
|
|
|
Powered by
FUDForum. Page generated in 0.03482 seconds