diff options
-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> |