Open jakub-bochenski opened 5 months ago
@jakub-bochenski : Would it be possible for you to debug this? Could you please run mvnDebug docker:log
and then set a breakpoint here and connect from your IDE as JVM debug
I'm after the StartMojo, not LogsMojo
Looking at the code it becomes obvious that only a system property is supported and not maven configuration. But why? Can it be changed?
This is the workaround I use for now
<plugin>
<!-- https://github.com/fabric8io/docker-maven-plugin/issues/1797 -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>set-system-properties</goal>
</goals>
<configuration>
<properties>
<property>
<name>docker.follow</name>
<value>true</value>
</property>
</properties>
</configuration>
</execution>
</executions>
</plugin>
Description
None of this works
the setting is only respected when specified from command line.
This is confusing. Also I can't have a nice
mvn -Prun
command working.Info