54c2c72155ba4d75a2dc970ce33a7d538d1f5dcd
[netconf.git] / netconf / netconf-util / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2016 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" 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">
10   <modelVersion>4.0.0</modelVersion>
11
12   <parent>
13     <groupId>org.opendaylight.odlparent</groupId>
14     <artifactId>bundle-parent</artifactId>
15     <version>1.9.0</version>
16     <relativePath/>
17   </parent>
18
19   <groupId>org.opendaylight.netconf</groupId>
20   <artifactId>netconf-util</artifactId>
21   <version>1.3.0-SNAPSHOT</version>
22   <name>${project.artifactId}</name>
23   <packaging>bundle</packaging>
24
25   <dependencyManagement>
26     <dependencies>
27       <dependency>
28         <groupId>org.opendaylight.netconf</groupId>
29         <artifactId>netconf-parent</artifactId>
30         <version>${project.version}</version>
31         <type>pom</type>
32         <scope>import</scope>
33       </dependency>
34       <dependency>
35         <groupId>org.opendaylight.netconf</groupId>
36         <artifactId>netconf-subsystem</artifactId>
37         <version>${project.version}</version>
38         <type>pom</type>
39         <scope>import</scope>
40       </dependency>
41     </dependencies>
42   </dependencyManagement>
43
44   <dependencies>
45     <!-- compile dependencies -->
46     <dependency>
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>config-manager-facade-xml</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>${project.groupId}</groupId>
52       <artifactId>netconf-api</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>${project.groupId}</groupId>
56       <artifactId>netconf-mapping-api</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>com.google.guava</groupId>
60       <artifactId>guava</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>io.netty</groupId>
64       <artifactId>netty-handler</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.controller</groupId>
68       <artifactId>config-api</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>org.slf4j</groupId>
72       <artifactId>slf4j-api</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>xmlunit</groupId>
76       <artifactId>xmlunit</artifactId>
77       <scope>test</scope>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.yangtools</groupId>
81       <artifactId>mockito-configuration</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.yangtools</groupId>
85       <artifactId>yang-model-api</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.yangtools</groupId>
89       <artifactId>yang-data-api</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>org.osgi</groupId>
93       <artifactId>org.osgi.compendium</artifactId>
94     </dependency>
95   </dependencies>
96
97   <build>
98     <plugins>
99       <plugin>
100         <groupId>org.apache.felix</groupId>
101         <artifactId>maven-bundle-plugin</artifactId>
102         <configuration>
103           <instructions>
104             <Bundle-Activator>org.opendaylight.netconf.util.osgi.NetconfConfigurationActivator</Bundle-Activator>
105           </instructions>
106         </configuration>
107       </plugin>
108       <plugin>
109         <groupId>org.codehaus.mojo</groupId>
110         <artifactId>build-helper-maven-plugin</artifactId>
111         <executions>
112           <execution>
113             <id>attach-artifacts</id>
114             <goals>
115               <goal>attach-artifact</goal>
116             </goals>
117             <phase>package</phase>
118             <configuration>
119               <artifacts>
120                 <artifact>
121                   <file>${project.build.directory}/classes/netconf.cfg</file>
122                   <type>cfg</type>
123                   <classifier>config</classifier>
124                 </artifact>
125               </artifacts>
126             </configuration>
127           </execution>
128         </executions>
129       </plugin>
130       <plugin>
131         <groupId>org.apache.maven.plugins</groupId>
132         <artifactId>maven-jar-plugin</artifactId>
133         <executions>
134           <execution>
135             <goals>
136               <goal>test-jar</goal>
137             </goals>
138             <phase>package</phase>
139           </execution>
140         </executions>
141       </plugin>
142       <plugin>
143         <groupId>org.apache.maven.plugins</groupId>
144         <artifactId>maven-checkstyle-plugin</artifactId>
145         <configuration>
146           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
147         </configuration>
148       </plugin>
149     </plugins>
150   </build>
151
152 </project>