847327c93e107061158b13cae65b9d2a1ac209f5
[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>junit</groupId>
74             <artifactId>junit</artifactId>
75             <scope>test</scope>
76         </dependency>
77         <dependency>
78             <groupId>org.glassfish.jersey.test-framework.providers</groupId>
79             <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
80             <scope>test</scope>
81         </dependency>
82         <dependency>
83             <groupId>org.mockito</groupId>
84             <artifactId>mockito-all</artifactId>
85             <scope>test</scope>
86         </dependency>
87     </dependencies>
88
89     <build>
90         <plugins>
91             <plugin>
92                 <groupId>org.apache.felix</groupId>
93                 <artifactId>maven-bundle-plugin</artifactId>
94             </plugin>
95             <plugin>
96                 <groupId>org.opendaylight.yangtools</groupId>
97                 <artifactId>yang-maven-plugin</artifactId>
98             </plugin>
99             <plugin>
100                 <groupId>org.codehaus.mojo</groupId>
101                 <artifactId>build-helper-maven-plugin</artifactId>
102                 <executions>
103                     <execution>
104                         <id>add-source</id>
105                         <phase>generate-sources</phase>
106                         <goals>
107                             <goal>add-source</goal>
108                         </goals>
109                         <configuration>
110                             <sources>
111                                 <source>${project.build.directory}/generated-sources/config</source>
112                             </sources>
113                         </configuration>
114                     </execution>
115                     <execution>
116                         <id>attach-artifacts</id>
117                         <goals>
118                             <goal>attach-artifact</goal>
119                         </goals>
120                         <phase>package</phase>
121                         <configuration>
122                             <artifacts>
123                                 <artifact>
124                                     <file>${project.build.directory}/classes/initial/06-message-netconf.xml</file>
125                                     <type>xml</type>
126                                     <classifier>config</classifier>
127                                 </artifact>
128                             </artifacts>
129                         </configuration>
130                     </execution>
131                 </executions>
132             </plugin>
133         </plugins>
134     </build>
135 </project>