Skip to content

Is offline mode really offline? #3177

@LorenzoBettini

Description

@LorenzoBettini

I've just migrated to Tycho 4.0.4 and in my GitHub Actions workflow, when I get a cache hit, I set the Maven option --offline. I the log I can see

[INFO] ### Using TychoRepositoryTransport for remote P2 access ###
[INFO]     Cache location:         /home/runner/.m2/repository/.cache/tycho
[INFO]     Transport mode:         offline
[INFO]     Http Transport type:    Java11Client
[INFO]     Update mode:            forced

So it's being offline, but then I can see

[INFO] Downloading from p2: https://download.eclipse.org/releases/2023-12/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/releases/2023-12/p2.index (122 bytes at 0 bytes/s)
[INFO] Downloading from p2: https://download.eclipse.org/technology/epp/packages/2023-12/p2.index
...

So it looks like it's not really offline?
Am I missing something? Or is it the expected behavior?

thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions