No, because it is on CI system and I can't do it interactively(I know docker switches ), thx any way.

Regards, Tomaž

James Klo je 17.8.2017 ob 16:25 napisal:
You can attach and inspect a running Docker container with:

docker exec -it <containername> bash

But the cache should be by default in ~/.m2.

So depending upon what user your container is running, it should download all 
the artifacts into $HOME/.m2

Also you should be able to inspect the mvn output inside your container using:

docker logs <containername>

Jim Klo
Senior Software Engineer
SRI International
t: @nsomnac

On Aug 17, 2017, at 5:46 AM, Tomaž Majerhold 
<tomaz.majerh...@arnes.si<mailto:tomaz.majerh...@arnes.si>> wrote:

But if I use mvn -X help:effective-settings
it hide me information about localRepository

I'm using inside a docker, and I can override MAVEN_OPTS and there I could 
override with -Dmaven.repo.local but at run time I wont to know where is 
saved(to be sure)
It is about cache in my container environment.

Regards, Tomaž

Tomaž Majerhold je 17. 08. 2017 ob 14:38 napisal:
Yes at run time(maven showing it on standard output), where are actually saved, 
because if you are using maven docker image and you can not go inside a 
container interactively.

Regards, Tomaž



Russell Gold je 17. 08. 2017 ob 14:01 napisal:
Hi Tomaž,

What do you mean by, “downloaded”?

Do you mean where the local maven repository is located? You can configure that in 
settings.xml <http://maven.apache.org/settings.html>

Regards,
Russ

On Aug 17, 2017, at 5:25 AM, Tomaž Majerhold 
<tomaz.majerh...@arnes.si<mailto:tomaz.majerh...@arnes.si>> wrote:

Hello!

Is it possible(some options switches ) at runtime to determine where(location)  
artifacts has ben downloaded?

It would be useful information for running maven in docker.

Regards, Tomaž


---------------------------------------------------------------------
To unsubscribe, e-mail: 
users-unsubscr...@maven.apache.org<mailto:users-unsubscr...@maven.apache.org>
For additional commands, e-mail: 
users-h...@maven.apache.org<mailto:users-h...@maven.apache.org>





---------------------------------------------------------------------
To unsubscribe, e-mail: 
users-unsubscr...@maven.apache.org<mailto:users-unsubscr...@maven.apache.org>
For additional commands, e-mail: 
users-h...@maven.apache.org<mailto:users-h...@maven.apache.org>


--

*Tomaž Majerhold*

Arnes 25 let

Arnes p. p. 7, 1001 Ljubljana
T: +386 (0)1 479 88 00 • F: +386 (0)1 479 88 01 • i...@arnes.si <mailto:i...@arnes.si> • www.arnes.si <http://www.arnes.si>

Reply via email to