question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Environment Variables in Plugins and Editors

See original GitHub issue

As developer I wish to use my internal nexus repository as a maven mirror for all the components of Che. Currently when I configure Che with Java project and I use MAVEN_MIRROR_URL env to do some mirror settings, the vscode java8 language server is still trying to reach to Maven central for the artefacts instead of local maven mirror (if one deployed)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
skabashnyukcommented, Aug 28, 2019

I think the idea is something like that

---
apiVersion: 1.0.0
metadata:
  generateName: java-maven-
projects:
  -
    name: console-java-simple
    source:
      type: git
      location: "https://github.com/che-samples/console-java-simple.git"
components:
  -
    type: chePlugin
    id: redhat/java/latest
    env:
       - name: MAVEN_MIRROR_URL 
          value: http://mirror.host/
  -
    type: dockerimage
    alias: maven
    image: quay.io/eclipse/che-java11-maven:nightly
    env:
      - name: MAVEN_CONFIG
        value: /home/user/.m2
1reaction
sleshchenkocommented, Dec 13, 2019

@kameshsampath @mmorhun The PR is just merged https://github.com/eclipse/che/pull/15435 and you should be able to use this feature as soon as you got newer Che images

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use environment variables in solutions - Power Apps
Environment variables allow you to specify which of these different external references should be updated as the application is moved across ...
Read more >
Add support for variables in plugins | Grafana documentation
Add support for variables in plugins Variables are placeholders for values, and can be used to create things like templated queries and dashboard...
Read more >
Setting Environment Variables for Plugins on the ... - Sonobuoy
It is now possible to easily modify the environment variables of any plugin without editing a YAML file. Sonobuoy, an open source diagnostic ......
Read more >
GoLand 2020.1 EAP 4: Support for Environment Variables ...
Simply click the Browse icon in the Environment field to open the new Environment Variables dialog. go-modules-environment-variables. Quick- ...
Read more >
Environment Variables plugin - Code::Blocks
Return value Name Arguments wxArrayString EnvvarGetEnvvarSetNames wxString EnvvarGetActiveSetName wxArrayString EnvVarGetEnvvarsBySetPath const wxString set_name
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found