4c06a763073192adfbc88bdacab171cd749b1e90
[controller.git] / opendaylight / netconf / messagebus-netconf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <modelVersion>4.0.0</modelVersion>
13
14     <parent>
15         <groupId>org.opendaylight.controller</groupId>
16         <artifactId>netconf-subsystem</artifactId>
17         <version>0.4.0-SNAPSHOT</version>
18     </parent>
19
20     <artifactId>messagebus-netconf</artifactId>
21     <name>${project.artifactId}</name>
22
23     <packaging>bundle</packaging>
24
25     <dependencies>
26         <dependency>
27             <groupId>org.opendaylight.controller</groupId>
28             <artifactId>ietf-netconf-notifications</artifactId>
29         </dependency>
30         <dependency>
31             <groupId>org.opendaylight.controller</groupId>
32             <artifactId>sal-binding-api</artifactId>
33         </dependency>
34         <dependency>
35             <groupId>org.opendaylight.controller</groupId>
36             <artifactId>sal-core-api</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.opendaylight.controller</groupId>
40             <artifactId>sal-common-util</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>org.opendaylight.yangtools</groupId>
44             <artifactId>yang-data-impl</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.controller</groupId>
48             <artifactId>config-api</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.controller</groupId>
52             <artifactId>messagebus-api</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.opendaylight.controller</groupId>
56             <artifactId>messagebus-spi</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.opendaylight.controller</groupId>
60             <artifactId>messagebus-util</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.controller</groupId>
64             <artifactId>sal-netconf-connector</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.controller</groupId>
68             <artifactId>sal-binding-config</artifactId>
69         </dependency>
70
71         <!-- Testing Dependencies -->
72         <dependency>
73             <groupId>org.glassfish.jersey.test-framework.providers</groupId>
74             <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
75             <scope>test</scope>
76         </dependency>
77         <dependency>
78             <groupId>org.mockito</groupId>
79             <artifactId>mockito-all</artifactId>
80             <scope>test</scope>
81         </dependency>
82     </dependencies>
83
84     <build>
85         <plugins>
86             <plugin>
87                 <groupId>org.apache.felix</groupId>
88                 <artifactId>maven-bundle-plugin</artifactId>
89             </plugin>
90             <plugin>
91                 <groupId>org.opendaylight.yangtools</groupId>
92                 <artifactId>yang-maven-plugin</artifactId>
93             </plugin>
94             <plugin>
95                 <groupId>org.codehaus.mojo</groupId>
96                 <artifactId>build-helper-maven-plugin</artifactId>
97                 <executions>
98                     <execution>
99                         <id>add-source</id>
100                         <phase>generate-sources</phase>
101                         <goals>
102                             <goal>add-source</goal>
103                         </goals>
104                         <configuration>
105                             <sources>
106                                 <source>${project.build.directory}/generated-sources/config</source>
107                             </sources>
108                         </configuration>
109                     </execution>
110                     <execution>
111                         <id>attach-artifacts</id>
112                         <goals>
113                             <goal>attach-artifact</goal>
114                         </goals>
115                         <phase>package</phase>
116                         <configuration>
117                             <artifacts>
118                                 <artifact>
119                                     <file>${project.build.directory}/classes/initial/06-message-netconf.xml</file>
120                                     <type>xml</type>
121                                     <classifier>config</classifier>
122                                 </artifact>
123                             </artifacts>
124                         </configuration>
125                     </execution>
126                 </executions>
127             </plugin>
128         </plugins>
129     </build>
130 </project>