Unskipping deployment
[aai/search-data-service.git] / elasticsearch-sg / pom.xml
1 <!--
2
3     ============LICENSE_START=======================================================
4     org.onap.aai
5     ================================================================================
6     Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
7     Copyright © 2017-2018 Amdocs
8     ================================================================================
9     Licensed under the Apache License, Version 2.0 (the "License");
10     you may not use this file except in compliance with the License.
11     You may obtain a copy of the License at
12
13           http://www.apache.org/licenses/LICENSE-2.0
14
15     Unless required by applicable law or agreed to in writing, software
16     distributed under the License is distributed on an "AS IS" BASIS,
17     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18     See the License for the specific language governing permissions and
19     limitations under the License.
20     ============LICENSE_END=========================================================
21
22 -->
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25         <modelVersion>4.0.0</modelVersion>
26
27         <groupId>org.onap.aai</groupId>
28         <artifactId>elasticsearch-sg</artifactId>
29         <name>ElasticSearch with SearchGuard</name>
30         <version>1.4.1-SNAPSHOT</version>
31         <packaging>pom</packaging>
32
33         <properties>
34                 <nexusproxy>https://nexus.onap.org</nexusproxy>
35         </properties>
36
37         <build>
38                 <plugins>
39                         <plugin>
40                                 <groupId>org.apache.maven.plugins</groupId>
41                                 <artifactId>maven-resources-plugin</artifactId>
42                                 <version>2.7</version>
43                                 <executions>
44                                         <execution>
45                                                 <id>copy-docker-file</id>
46                                                 <phase>process-resources</phase>
47                                                 <goals>
48                                                         <goal>copy-resources</goal>
49                                                 </goals>
50                                                 <configuration>
51                                                         <outputDirectory>target</outputDirectory>
52                                                         <overwrite>true</overwrite>
53                                                         <resources>
54                                                                 <resource>
55                                                                         <directory>${basedir}/src/main/docker</directory>
56                                                                         <includes>
57                                                                                 <include>**/*</include>
58                                                                         </includes>
59                                                                 </resource>
60                                                         </resources>
61                                                 </configuration>
62                                         </execution>
63                                 </executions>
64                         </plugin>
65
66                         <plugin>
67                                 <groupId>com.spotify</groupId>
68                                 <artifactId>docker-maven-plugin</artifactId>
69                                 <version>0.4.11</version>
70                                 <configuration>
71                                         <verbose>true</verbose>
72                                         <serverId>docker-hub</serverId>
73                                         <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName>
74                                         <dockerDirectory>${basedir}/target</dockerDirectory>
75                                         <imageTags>
76                                                 <imageTag>latest</imageTag>
77                                         </imageTags>
78                                         <forceTags>true</forceTags>
79                                 </configuration>
80                         </plugin>
81                         <plugin>
82                           <groupId>org.apache.maven.plugins</groupId>
83                           <artifactId>maven-deploy-plugin</artifactId>
84                           <version>2.8.2</version>
85                           <executions>
86                             <execution>
87                               <id>default-deploy</id>
88                               <phase>none</phase>
89                             </execution>
90                           </executions>
91                         </plugin>
92                         <plugin>
93                           <groupId>org.sonatype.plugins</groupId>
94                           <artifactId>nexus-staging-maven-plugin</artifactId>
95                           <version>1.6.7</version>
96                           <extensions>true</extensions>
97                           <configuration>
98                             <nexusUrl>${nexusproxy}</nexusUrl>
99                             <stagingProfileId>176c31dfe190a</stagingProfileId>
100                             <serverId>ecomp-staging</serverId>
101                           </configuration>
102                         </plugin>
103                 </plugins>
104         </build>
105
106         <distributionManagement>
107                 <repository>
108                         <id>ecomp-releases</id>
109                         <name>ECOMP Release Repository</name>
110                         <url>${nexusproxy}/content/repositories/releases/</url>
111                 </repository>
112                 <snapshotRepository>
113                         <id>ecomp-snapshots</id>
114                         <name>ECOMP Snapshot Repository</name>
115                         <url>${nexusproxy}/content/repositories/snapshots/</url>
116                 </snapshotRepository>
117         </distributionManagement>
118
119 </project>