Skip to main content



      Home
Home » Eclipse Projects » P2 » No HTTP basic auth in software sites?
No HTTP basic auth in software sites? [message #1855748] Mon, 31 October 2022 14:10
Eclipse UserFriend
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
Previous Topic:Does p2 have the ability to check the installed IUs' checksum ?
Next Topic:How to uninstall plugins with custom configuration directory
Goto Forum:
  


Current Time: Sun Jun 15 17:56:22 EDT 2025

Powered by FUDForum. Page generated in 0.03482 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top