Set version to 6.0.0
[cli.git] / profiles / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    Copyright 2017 Huawei Technologies Co., Ltd.
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16  -->
17
18 <project xmlns="http://maven.apache.org/POM/4.0.0"
19          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
21          http://maven.apache.org/xsd/maven-4.0.0.xsd">
22     <modelVersion>4.0.0</modelVersion>
23
24     <parent>
25         <groupId>org.onap.cli</groupId>
26         <artifactId>cli</artifactId>
27         <version>6.0.0-SNAPSHOT</version>
28     </parent>
29
30     <artifactId>cli-profiles</artifactId>
31     <name>cli/profiles</name>
32     <packaging>pom</packaging>
33
34     <modules>
35         <module>http</module>
36         <module>snmp</module>
37         <module>command</module>
38
39     </modules>
40     <dependencies>
41         <dependency>
42             <groupId>junit</groupId>
43             <artifactId>junit</artifactId>
44             <version>4.11</version>
45             <scope>test</scope>
46         </dependency>
47         <dependency>
48             <groupId>org.onap.cli</groupId>
49             <artifactId>cli-framework</artifactId>
50             <version>${project.parent.version}</version>
51         </dependency>
52     </dependencies>
53     <build>
54          <pluginManagement>
55             <plugins>
56                 <plugin>
57                     <groupId>org.apache.maven.plugins</groupId>
58                     <artifactId>maven-resources-plugin</artifactId>
59                     <version>3.1.0</version>
60                     <executions>
61                         <execution>
62                             <id>copy-resource-conf</id>
63                             <phase>install</phase>
64                             <goals>
65                                 <goal>copy-resources</goal>
66                             </goals>
67
68                             <configuration>
69                                 <outputDirectory>../../profiles/target/conf</outputDirectory>
70                                 <resources>
71                                     <resource>
72                                         <directory>${project.basedir}/src/main/resources</directory>
73                                         <includes>
74                                             <include>*.properties</include>
75                                         </includes>
76                                     </resource>
77                                 </resources>
78                             </configuration>
79                         </execution>
80                    </executions>
81                 </plugin>
82                 <plugin>
83                   <groupId>org.apache.maven.plugins</groupId>
84                   <artifactId>maven-dependency-plugin</artifactId>
85                   <executions>
86                     <execution>
87                       <id>copy-artifact</id>
88                       <phase>package</phase>
89                       <goals>
90                         <goal>copy</goal>
91                       </goals>
92                       <configuration>
93                         <artifactItems>
94                             <artifactItem>
95                               <groupId>${project.groupId}</groupId>
96                               <artifactId>${project.artifactId}</artifactId>
97                               <version>${project.version}</version>
98                               <type>${project.packaging}</type>
99                             </artifactItem>
100                         </artifactItems>
101                         <!-- copy to profiles dependencies -->
102                         <outputDirectory>../../profiles/target/lib</outputDirectory>
103                       </configuration>
104                     </execution>
105                   </executions>
106                 </plugin>
107                   <plugin>
108                     <groupId>org.apache.maven.plugins</groupId>
109                     <artifactId>maven-dependency-plugin</artifactId>
110                     <version>3.0.0</version>
111                     <executions>
112                       <execution>
113                         <id>copy-dependencies</id>
114                         <phase>package</phase>
115                         <goals>
116                           <goal>copy-dependencies</goal>
117                         </goals>
118                         <configuration>
119                           <outputDirectory>../../profiles/target/lib</outputDirectory>
120                           <overWriteReleases>false</overWriteReleases>
121                           <overWriteSnapshots>false</overWriteSnapshots>
122                           <overWriteIfNewer>true</overWriteIfNewer>
123                           <excludeArtifactIds>junit,jmockit</excludeArtifactIds>
124                         </configuration>
125                       </execution>
126                     </executions>
127                   </plugin>
128                 <plugin>
129                     <groupId>org.apache.maven.plugins</groupId>
130                     <artifactId>maven-surefire-plugin</artifactId>
131                     <version>2.22.0</version>
132                     <configuration>
133                         <argLine>
134                             -javaagent:${settings.localRepository}/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar
135                         </argLine>
136                     </configuration>
137                 </plugin>
138             </plugins>
139         </pluginManagement>
140     </build>
141 </project>