Merge "Bug 2160: Added concurrent 3-phase commit coordinator"
[controller.git] / opendaylight / netconf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4
5   <parent>
6     <groupId>org.opendaylight.controller</groupId>
7     <artifactId>commons.opendaylight</artifactId>
8     <version>1.5.0-SNAPSHOT</version>
9     <relativePath>../commons/opendaylight</relativePath>
10   </parent>
11   <artifactId>netconf-subsystem</artifactId>
12
13   <version>0.3.0-SNAPSHOT</version>
14   <packaging>pom</packaging>
15   <name>${project.artifactId}</name>
16   <prerequisites>
17     <maven>3.0.4</maven>
18   </prerequisites>
19
20   <modules>
21     <module>netconf-api</module>
22       <!--FIXME make compilable-->
23     <!--<module>netconf-cli</module>-->
24     <module>netconf-config</module>
25     <module>netconf-impl</module>
26     <module>config-netconf-connector</module>
27     <module>netconf-util</module>
28     <module>netconf-netty-util</module>
29     <module>config-persister-impl</module>
30     <module>netconf-mapping-api</module>
31     <module>netconf-client</module>
32     <module>netconf-ssh</module>
33     <module>netconf-tcp</module>
34     <module>netconf-monitoring</module>
35     <module>ietf-netconf-monitoring</module>
36     <module>ietf-netconf-monitoring-extension</module>
37     <module>netconf-connector-config</module>
38     <module>netconf-auth</module>
39     <module>netconf-usermanager</module>
40     <module>netconf-testtool</module>
41   </modules>
42
43   <dependencies>
44     <dependency>
45       <groupId>org.osgi</groupId>
46       <artifactId>org.osgi.core</artifactId>
47     </dependency>
48     <dependency>
49       <groupId>ch.qos.logback</groupId>
50       <artifactId>logback-classic</artifactId>
51       <scope>test</scope>
52     </dependency>
53     <dependency>
54       <groupId>junit</groupId>
55       <artifactId>junit</artifactId>
56       <scope>test</scope>
57     </dependency>
58   </dependencies>
59
60   <build>
61     <pluginManagement>
62       <plugins>
63         <plugin>
64           <groupId>org.apache.felix</groupId>
65           <artifactId>maven-bundle-plugin</artifactId>
66           <extensions>true</extensions>
67           <configuration>
68             <instructions>
69               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
70             </instructions>
71           </configuration>
72         </plugin>
73         <plugin>
74           <groupId>org.opendaylight.yangtools</groupId>
75           <artifactId>yang-maven-plugin</artifactId>
76           <version>${yangtools.version}</version>
77           <dependencies>
78             <dependency>
79               <groupId>org.opendaylight.yangtools</groupId>
80               <artifactId>maven-sal-api-gen-plugin</artifactId>
81               <version>${yangtools.version}</version>
82             </dependency>
83           </dependencies>
84           <executions>
85             <execution>
86               <goals>
87                 <goal>generate-sources</goal>
88               </goals>
89               <configuration>
90                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
91                 <codeGenerators>
92                   <generator>
93                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
94                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
95                   </generator>
96                   <generator>
97                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
98                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
99                   </generator>
100                 </codeGenerators>
101                 <inspectDependencies>true</inspectDependencies>
102               </configuration>
103             </execution>
104           </executions>
105         </plugin>
106       </plugins>
107
108     </pluginManagement>
109     <plugins>
110       <plugin>
111         <groupId>org.apache.maven.plugins</groupId>
112         <artifactId>maven-checkstyle-plugin</artifactId>
113         <version>2.12</version>
114         <configuration>
115           <failsOnError>false</failsOnError>
116           <failOnViolation>false</failOnViolation>
117           <configLocation>checkstyle-logging.xml</configLocation>
118           <consoleOutput>true</consoleOutput>
119           <includeTestSourceDirectory>true</includeTestSourceDirectory>
120           <sourceDirectory>${project.basedir}</sourceDirectory>
121           <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
122           <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
123         </configuration>
124         <dependencies>
125           <dependency>
126             <groupId>org.opendaylight.yangtools</groupId>
127             <artifactId>checkstyle-logging</artifactId>
128             <version>${yangtools.version}</version>
129           </dependency>
130         </dependencies>
131         <executions>
132           <execution>
133             <goals>
134               <goal>check</goal>
135             </goals>
136           </execution>
137         </executions>
138       </plugin>
139       <plugin>
140         <groupId>org.apache.maven.plugins</groupId>
141         <artifactId>maven-compiler-plugin</artifactId>
142       </plugin>
143     </plugins>
144   </build>
145
146   <profiles>
147     <profile>
148       <id>integrationtests</id>
149       <activation>
150         <activeByDefault>false</activeByDefault>
151       </activation>
152       <modules>
153         <module>netconf-it</module>
154       </modules>
155     </profile>
156   </profiles>
157 </project>