diff options
author | Instrumental <jonathan.gathman@att.com> | 2019-08-02 15:54:29 -0500 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2019-08-02 15:55:22 -0500 |
commit | 2e84bc99049aa25107df4f045894059321bf4b3d (patch) | |
tree | ae4d0092253d16cf147d3040bca73615eff4c1db | |
parent | e9ae04800c417330c3e1c5dae45744f819f41130 (diff) |
Make Docker build from Root Maven
Issue-ID: AAF-917
Change-Id: Ieeac6254a626a4de42e6f082b727ec52fe9bb194
Signed-off-by: Instrumental <jonathan.gathman@att.com>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | auth/docker/pom.xml | 2 | ||||
-rw-r--r-- | pom.xml | 39 |
3 files changed, 41 insertions, 1 deletions
@@ -7,3 +7,4 @@ .metadata/ /cadisample/ .classpath +/bin/ diff --git a/auth/docker/pom.xml b/auth/docker/pom.xml index 540513e7..add4e964 100644 --- a/auth/docker/pom.xml +++ b/auth/docker/pom.xml @@ -32,7 +32,6 @@ <artifactId>aaf-auth-docker</artifactId> <name>AAF Docker Build</name> <description>Docker Build</description> - <!-- Build Docker with "cd < this dir>; mvn -N exec:exec -Pbuild-docker --> <profiles> <profile> @@ -52,6 +51,7 @@ </execution> </executions> <configuration> + <skip>false</skip> <executable>bash</executable> <commandlineArgs>-c "pwd; bash dbuild.sh"</commandlineArgs> </configuration> @@ -368,4 +368,43 @@ <url>dav:${nexusproxy}${sitePath}</url> </site> </distributionManagement> + + <profiles> + <profile> + <id>build-docker</id> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.6.0</version> + <executions> + <execution> + <id>Docker Build</id> + <goals> + <goal>exec</goal> + </goals> + </execution> + </executions> + <configuration> + <skip>true</skip> + <executable>bash</executable> + <commandlineArgs>echo "No Docker Here"</commandlineArgs> + </configuration> + </plugin> + <plugin> + <groupId>org.sonarsource.scanner.maven</groupId> + <artifactId>sonar-maven-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + + <modules> + <module>auth/docker</module> + </modules> + </profile> + </profiles> </project> |