Step snapshot version of drools-applications
[policy/drools-applications.git] / controlloop / common / controller-usecases / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP
5   ================================================================================
6   Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved.
7   Modifications Copyright (C) 2019 Nordix Foundation.
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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25
26     <parent>
27         <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
28         <artifactId>common</artifactId>
29         <version>1.4.1-SNAPSHOT</version>
30     </parent>
31
32     <artifactId>controller-usecases</artifactId>
33     <packaging>kjar</packaging>
34
35     <name>${project.artifactId}</name>
36     <description>Usecases Experimental Controller</description>
37
38     <properties>
39         <maven.compiler.source>1.8</maven.compiler.source>
40         <maven.compiler.target>1.8</maven.compiler.target>
41     </properties>
42
43     <build>
44         <plugins>
45             <plugin>
46                 <groupId>org.kie</groupId>
47                 <artifactId>kie-maven-plugin</artifactId>
48                 <version>6.5.0.Final</version>
49                 <extensions>true</extensions>
50             </plugin>
51
52             <plugin>
53                 <groupId>com.coderplus.maven.plugins</groupId>
54                 <artifactId>copy-rename-maven-plugin</artifactId>
55                 <executions>
56                     <execution>
57                         <id>copy-drl</id>
58                         <phase>generate-resources</phase>
59                         <goals>
60                             <goal>copy</goal>
61                         </goals>
62                         <configuration>
63                             <sourceFile>
64                                 ../../templates/archetype-cl-usecases/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl
65                             </sourceFile>
66                             <destinationFile>src/main/resources/usecases.drl</destinationFile>
67                         </configuration>
68                     </execution>
69                 </executions>
70             </plugin>
71
72         </plugins>
73     </build>
74
75     <dependencies>
76         <dependency>
77             <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
78             <artifactId>events</artifactId>
79             <version>${policy.models.version}</version>
80             <scope>provided</scope>
81         </dependency>
82         <dependency>
83             <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
84             <artifactId>appc</artifactId>
85             <version>${policy.models.version}</version>
86             <scope>provided</scope>
87         </dependency>
88         <dependency>
89             <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
90             <artifactId>appclcm</artifactId>
91             <version>${policy.models.version}</version>
92             <scope>provided</scope>
93         </dependency>
94         <dependency>
95             <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
96             <artifactId>sdnr</artifactId>
97             <version>${policy.models.version}</version>
98             <scope>provided</scope>
99         </dependency>
100         <dependency>
101             <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
102             <artifactId>vfc</artifactId>
103             <version>${policy.models.version}</version>
104             <scope>provided</scope>
105         </dependency>
106         <dependency>
107             <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
108             <artifactId>sdnc</artifactId>
109             <version>${policy.models.version}</version>
110             <scope>provided</scope>
111         </dependency>
112         <dependency>
113             <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
114             <artifactId>so</artifactId>
115             <version>${policy.models.version}</version>
116             <scope>provided</scope>
117         </dependency>
118         <dependency>
119             <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
120             <artifactId>aai</artifactId>
121             <version>${policy.models.version}</version>
122             <scope>provided</scope>
123         </dependency>
124         <dependency>
125             <groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
126             <artifactId>sdc</artifactId>
127             <version>${policy.models.version}</version>
128             <scope>provided</scope>
129         </dependency>
130         <dependency>
131             <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
132             <artifactId>eventmanager</artifactId>
133             <version>${project.version}</version>
134             <scope>provided</scope>
135         </dependency>
136         <dependency>
137             <groupId>org.onap.policy.drools-applications.controlloop.common</groupId>
138             <artifactId>guard</artifactId>
139             <version>${project.version}</version>
140             <scope>provided</scope>
141         </dependency>
142         <dependency>
143             <groupId>org.onap.policy.models.policy-models-interactions.model-actors</groupId>
144             <artifactId>actorServiceProvider</artifactId>
145             <version>${policy.models.version}</version>
146             <scope>provided</scope>
147         </dependency>
148         <dependency>
149             <groupId>org.onap.policy.models.policy-models-interactions.model-actors</groupId>
150             <artifactId>actor.appc</artifactId>
151             <version>${policy.models.version}</version>
152             <scope>provided</scope>
153         </dependency>
154         <dependency>
155             <groupId>org.onap.policy.models.policy-models-interactions.model-actors</groupId>
156             <artifactId>actor.appclcm</artifactId>
157             <version>${policy.models.version}</version>
158             <scope>provided</scope>
159         </dependency>
160         <dependency>
161             <groupId>org.onap.policy.models.policy-models-interactions.model-actors</groupId>
162             <artifactId>actor.sdnr</artifactId>
163             <version>${policy.models.version}</version>
164             <scope>provided</scope>
165         </dependency>
166         <dependency>
167             <groupId>org.onap.policy.models.policy-models-interactions.model-actors</groupId>
168             <artifactId>actor.so</artifactId>
169             <version>${policy.models.version}</version>
170             <scope>provided</scope>
171         </dependency>
172         <dependency>
173             <groupId>org.onap.policy.models.policy-models-interactions.model-actors</groupId>
174             <artifactId>actor.vfc</artifactId>
175             <version>${policy.models.version}</version>
176             <scope>provided</scope>
177         </dependency>
178         <dependency>
179             <groupId>org.onap.policy.models.policy-models-interactions.model-actors</groupId>
180             <artifactId>actor.sdnc</artifactId>
181             <version>${policy.models.version}</version>
182             <scope>provided</scope>
183         </dependency>
184         <dependency>
185             <groupId>org.onap.policy.models.policy-models-interactions</groupId>
186             <artifactId>model-yaml</artifactId>
187             <version>${policy.models.version}</version>
188             <scope>provided</scope>
189         </dependency>
190         <dependency>
191             <groupId>org.onap.policy.drools-pdp</groupId>
192             <artifactId>policy-management</artifactId>
193             <version>${version.policy.drools-pdp}</version>
194             <scope>provided</scope>
195             <optional>true</optional>
196         </dependency>
197     </dependencies>
198
199     <profiles>
200         <profile>
201             <!--This profile is used to store Eclipse m2e settings only. It has no 
202                 influence on the Maven build itself. -->
203             <id>only-eclipse</id>
204             <activation>
205                 <property>
206                     <name>m2e.version</name>
207                 </property>
208             </activation>
209             <build>
210                 <pluginManagement>
211                     <plugins>
212                         <plugin>
213                             <groupId>org.eclipse.m2e</groupId>
214                             <artifactId>lifecycle-mapping</artifactId>
215                             <version>1.0.0</version>
216                             <configuration>
217                                 <lifecycleMappingMetadata>
218                                     <pluginExecutions>
219                                         <pluginExecution>
220                                             <pluginExecutionFilter>
221                                                 <groupId>org.kie</groupId>
222                                                 <artifactId>kie-maven-plugin</artifactId>
223                                                 <versionRange>6.5.0.Final</versionRange>
224                                                 <goals>
225                                                     <goal>build</goal>
226                                                 </goals>
227                                             </pluginExecutionFilter>
228                                             <action>
229                                                 <ignore />
230                                             </action>
231                                         </pluginExecution>
232                                     </pluginExecutions>
233                                 </lifecycleMappingMetadata>
234                             </configuration>
235                         </plugin>
236                     </plugins>
237                 </pluginManagement>
238             </build>
239         </profile>
240     </profiles>
241 </project>