BUG-997 Use shared schema context factory in netconf-connector
[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.4.2-SNAPSHOT</version>
9     <relativePath>../commons/opendaylight</relativePath>
10   </parent>
11   <artifactId>netconf-subsystem</artifactId>
12
13   <version>0.2.5-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   </modules>
39
40   <dependencies>
41     <dependency>
42       <groupId>org.osgi</groupId>
43       <artifactId>org.osgi.core</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>ch.qos.logback</groupId>
47       <artifactId>logback-classic</artifactId>
48       <scope>test</scope>
49     </dependency>
50     <dependency>
51       <groupId>junit</groupId>
52       <artifactId>junit</artifactId>
53       <scope>test</scope>
54     </dependency>
55   </dependencies>
56
57   <build>
58     <pluginManagement>
59       <plugins>
60         <plugin>
61           <groupId>org.apache.felix</groupId>
62           <artifactId>maven-bundle-plugin</artifactId>
63           <extensions>true</extensions>
64           <configuration>
65             <instructions>
66               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
67             </instructions>
68           </configuration>
69         </plugin>
70         <plugin>
71           <groupId>org.opendaylight.yangtools</groupId>
72           <artifactId>yang-maven-plugin</artifactId>
73           <version>${yangtools.version}</version>
74           <dependencies>
75             <dependency>
76               <groupId>org.opendaylight.yangtools</groupId>
77               <artifactId>maven-sal-api-gen-plugin</artifactId>
78               <version>${yangtools.version}</version>
79             </dependency>
80           </dependencies>
81           <executions>
82             <execution>
83               <goals>
84                 <goal>generate-sources</goal>
85               </goals>
86               <configuration>
87                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
88                 <codeGenerators>
89                   <generator>
90                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
91                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
92                   </generator>
93                   <generator>
94                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
95                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
96                   </generator>
97                 </codeGenerators>
98                 <inspectDependencies>true</inspectDependencies>
99               </configuration>
100             </execution>
101           </executions>
102         </plugin>
103       </plugins>
104
105     </pluginManagement>
106     <plugins>
107       <plugin>
108         <groupId>org.apache.maven.plugins</groupId>
109         <artifactId>maven-checkstyle-plugin</artifactId>
110         <version>2.12</version>
111         <configuration>
112           <failsOnError>false</failsOnError>
113           <failOnViolation>false</failOnViolation>
114           <configLocation>checkstyle-logging.xml</configLocation>
115           <consoleOutput>true</consoleOutput>
116           <includeTestSourceDirectory>true</includeTestSourceDirectory>
117           <sourceDirectory>${project.basedir}</sourceDirectory>
118           <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
119           <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
120         </configuration>
121         <dependencies>
122           <dependency>
123             <groupId>org.opendaylight.yangtools</groupId>
124             <artifactId>checkstyle-logging</artifactId>
125             <version>${yangtools.version}</version>
126           </dependency>
127         </dependencies>
128         <executions>
129           <execution>
130             <goals>
131               <goal>check</goal>
132             </goals>
133           </execution>
134         </executions>
135       </plugin>
136       <plugin>
137         <groupId>org.apache.maven.plugins</groupId>
138         <artifactId>maven-compiler-plugin</artifactId>
139       </plugin>
140     </plugins>
141   </build>
142
143   <profiles>
144     <profile>
145       <id>integrationtests</id>
146       <activation>
147         <activeByDefault>false</activeByDefault>
148       </activation>
149       <modules>
150         <module>netconf-it</module>
151       </modules>
152     </profile>
153   </profiles>
154 </project>