f80d14fd39366efade186c1c735424d425ecafd3
[ccsdk/features.git] / blueprints-processor / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3   Copyright © 2017-2018 AT&T Intellectual Property.\r
4   Modifications Copyright © 2018 IBM.\r
5   \r
6   Licensed under the Apache License, Version 2.0 (the "License");\r
7   you may not use this file except in compliance with the License.\r
8   You may obtain a copy of the License at\r
9   \r
10       http://www.apache.org/licenses/LICENSE-2.0\r
11   \r
12   Unless required by applicable law or agreed to in writing, software\r
13   distributed under the License is distributed on an "AS IS" BASIS,\r
14   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
15   See the License for the specific language governing permissions and\r
16   limitations under the License.\r
17 -->\r
18 \r
19 <project xmlns="http://maven.apache.org/POM/4.0.0"\r
20         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
21         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
22         <modelVersion>4.0.0</modelVersion>\r
23         <parent>\r
24                 <groupId>org.onap.ccsdk.config</groupId>\r
25                 <artifactId>blueprints-processor</artifactId>\r
26                 <version>0.3.0-SNAPSHOT</version>\r
27         </parent>\r
28 \r
29         <artifactId>blueprints-processor-features</artifactId>\r
30         <packaging>jar</packaging>\r
31         <name>Blueprints Processor - Features</name>\r
32 \r
33         <dependencies>\r
34                 <dependency>\r
35                         <groupId>org.onap.ccsdk.config</groupId>\r
36                         <artifactId>blueprints-data-adaptor-provider</artifactId>\r
37                 </dependency>\r
38                 <dependency>\r
39                         <groupId>org.onap.ccsdk.config</groupId>\r
40                         <artifactId>blueprints-rest-adaptor-provider</artifactId>\r
41                 </dependency>\r
42                 <dependency>\r
43                         <groupId>org.onap.ccsdk.config</groupId>\r
44                         <artifactId>blueprints-assignment-provider</artifactId>\r
45                 </dependency>\r
46                 <dependency>\r
47                         <groupId>org.onap.ccsdk.config</groupId>\r
48                         <artifactId>blueprints-generator-provider</artifactId>\r
49                 </dependency>\r
50                 <dependency>\r
51                         <groupId>org.onap.ccsdk.config</groupId>\r
52                         <artifactId>blueprints-model-provider</artifactId>\r
53                 </dependency>\r
54 \r
55                 <dependency>\r
56                         <groupId>org.opendaylight.mdsal</groupId>\r
57                         <artifactId>features-mdsal</artifactId>\r
58                         <classifier>features</classifier>\r
59                         <type>xml</type>\r
60                         <scope>runtime</scope>\r
61                 </dependency>\r
62         </dependencies>\r
63 \r
64         <build>\r
65                 <resources>\r
66                         <resource>\r
67                                 <filtering>true</filtering>\r
68                                 <directory>src/main/resources</directory>\r
69                         </resource>\r
70                 </resources>\r
71                 <plugins>\r
72                         <plugin>\r
73                                 <groupId>org.apache.maven.plugins</groupId>\r
74                                 <artifactId>maven-resources-plugin</artifactId>\r
75                                 <executions>\r
76                                         <execution>\r
77                                                 <id>filter</id>\r
78                                                 <goals>\r
79                                                         <goal>resources</goal>\r
80                                                 </goals>\r
81                                                 <phase>generate-resources</phase>\r
82                                         </execution>\r
83                                 </executions>\r
84                         </plugin>\r
85                         <plugin>\r
86                                 <groupId>org.codehaus.mojo</groupId>\r
87                                 <artifactId>build-helper-maven-plugin</artifactId>\r
88                                 <executions>\r
89                                         <execution>\r
90                                                 <id>attach-artifacts</id>\r
91                                                 <goals>\r
92                                                         <goal>attach-artifact</goal>\r
93                                                 </goals>\r
94                                                 <phase>package</phase>\r
95                                                 <configuration>\r
96                                                         <artifacts>\r
97                                                                 <artifact>\r
98                                                                         <file>${project.build.directory}/classes/${features.file}</file>\r
99                                                                         <type>xml</type>\r
100                                                                         <classifier>features</classifier>\r
101                                                                 </artifact>\r
102                                                         </artifacts>\r
103                                                 </configuration>\r
104                                         </execution>\r
105                                 </executions>\r
106                         </plugin>\r
107                 </plugins>\r
108         </build>\r
109 </project>\r