- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.6.0</version>
- <executions>
- <execution>
- <id>docker_info</id>
- <phase>validate</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <executable>ps</executable>
- <arguments>
- <argument>-ef</argument>
- </arguments>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.1</version>
- <executions>
- <execution>
- <phase>validate</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <echo>******** Displaying value of properties ********</echo>
- <echo>http proxy:${env.HTTP_PROXY}</echo>
- <echo>https proxy:${env.HTTPS_PROXY}</echo>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>