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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.