Monday, December 18, 2017

Externnal jar used as maven dependency

Beside installing 3rd party JARs in maven using mvn install it is posible to use external jars directly in pom.xml in depenency declaration just include systemPath

<dependency>
          <groupId>ro.springsoft</groupId>
          <artifactId>libar</artifactId>
          <version>1.0</version>
          <scope>system</scope>
          <systemPath>${basedir}\ext-libs\libar.jar</systemPath>
  </dependency>

Thursday, July 27, 2017

Docker Terminal in ConEmu

Running Docker Quickstart Terminal is explained in this blog post|: https://jayvilalta.com/blog/2016/05/02/running-docker-toolbox-inside-conemu/
For running docker commands inside any console I created init-docker.cmd inside c:\Program Files\Docker Toolbox\ which I added to the system PATH env. variable and I can run init-docker when I start any console.
initdocker.cmd
@echo off
IF DEFINED DOCKER_MACHINE_EXECUTING (GOTO :eod)
set DOCKER_MACHINE_EXECUTING=1
:configureDocker
FOR /f "tokens=*" %%i IN ('docker-machine env default') DO %%i
:eod