Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Eclipse Che custom assembly


Hi there!

It was late the other night. I had not appreciated that my customisations ended up in .WAR / .tar.gz files in the final assembly.

I think I understand the layout better now.

Thanks.

Andrew

On 28 Dec 2017, at 23:56, Andrew McLachlan <andrew.mclachlan@xxxxxx> wrote:


Hi there!

Quick question.

I have generated an archetype using the following command (note that I am using 5.22.0):

docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`/archetype:/archetype -v `pwd`/data:/data -v ~/.m2/repository:/m2 -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro   --user=0:0   --group-add 999 eclipse/che-cli:5.22.0 archetype generate

When I run mvn clean install or

docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`/archetype:/archetype -v `pwd`/data:/data -v ~/.m2/repository:/m2 -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro   --user=0:0   --group-add 999 eclipse/che-cli:5.22.0 archetype build

I expected the new plugins (JARs/WAR) to be set-up / copied into

`pwd`/archetype/assembly/assembly-che/assembly-main/target/eclipse-che-5.22.0/eclipse-che-5.22.0

but I do not see that happening. I can start Che with the archetype using archetype run but I’d like to customise the dashboard and AFAIK it requires the WAR to be in the webapps folder.

Is there anything obvious that I am missing?

Thanks for your continuing support.

Andrew (McLachlan)


Back to the top