Maven Docker Build
[aaf/authz.git] / auth / docker / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ============LICENSE_START====================================================
4  * org.onap.aaf
5  * ===========================================================================
6  * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7  * ===========================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END====================================================
20  *
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25     <parent>
26         <groupId>org.onap.aaf.authz</groupId>
27         <artifactId>authparent</artifactId>
28         <version>2.1.15-SNAPSHOT</version>
29         <relativePath>../pom.xml</relativePath>
30     </parent>
31
32     <artifactId>aaf-auth-docker</artifactId>
33     <name>AAF Docker Build</name>
34     <description>Docker Build</description>
35     <!-- Build Docker with "cd < this dir>; mvn -N exec:exec -Pbuild-docker -->
36
37     <profiles>
38         <profile>
39             <id>build-docker</id>
40             <build>
41                 <plugins>
42                     <plugin>
43                         <groupId>org.codehaus.mojo</groupId>
44                         <artifactId>exec-maven-plugin</artifactId>
45                         <version>1.6.0</version>
46                         <executions>
47                             <execution>
48                                 <id>Docker Build</id>
49                                 <goals>
50                                     <goal>exec</goal>
51                                 </goals>
52                             </execution>
53                         </executions>
54                         <configuration>
55                             <executable>bash</executable>
56                             <commandlineArgs>-c "pwd; bash dbuild.sh"</commandlineArgs>
57                         </configuration>
58                     </plugin>
59                 </plugins>
60             </build>
61         </profile>
62     </profiles>
63 </project>
64
65