Giter Site home page Giter Site logo

camel-demo's People

Contributors

abkieling avatar apupier avatar dmytro-ndp avatar nickboldt avatar

Watchers

 avatar

camel-demo's Issues

Devfile v2 is using an image which doesn't have /home/user folder

the image

image: registry.redhat.io/codeready-workspaces/plugin-java11-rhel8@sha256:cff9e47f83c6140d442721ed4d78e029a55f98bdca8efffbba8513656a1b28a7

doesn't have a /home/user folder which is tried to be used in here
commandLine: "mvn -Dmaven.repo.local=/home/user/.m2/repository compile"
and here
commandLine: "mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Djava.util.logging.manager=org.jboss.logmanager.LogManager"

it results to this kind of errro when launching provided init-compile task:

[ERROR] Could not create local repository at /home/user/.m2/repository -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LocalRepositoryNotAccessibleException

either need to modify the image or the commands
the image seems to be the same that is used when using devfile v1

the devfile V2 to v1 convertion is generating wrong commands too. The working_dir should not be $PROJECTS_ROOT anymore but $CHE_PROJECTS_ROOT/camel-demo but ti woudl break devfile v2 so cannot do the modification, see https://issues.redhat.com/browse/CRW-2492

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.