Remove netconf from commons/opendaylight pom
[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.6.0-SNAPSHOT</version>
9     <relativePath>../commons/opendaylight</relativePath>
10   </parent>
11   <artifactId>netconf-subsystem</artifactId>
12
13   <version>0.4.0-SNAPSHOT</version>
14   <packaging>pom</packaging>
15   <name>${project.artifactId}</name>
16
17   <properties>
18     <netconf.version>0.4.0-SNAPSHOT</netconf.version>
19     <config.netconf.client.configfile>01-netconf.xml</config.netconf.client.configfile>
20     <config.netconf.mdsal.configfile>08-mdsal-netconf.xml</config.netconf.mdsal.configfile>
21     <config.netconf.connector.configfile>99-netconf-connector.xml</config.netconf.connector.configfile>
22     <sonar.exclusions>**/org/opendaylight/controller/netconf/cli/**, **/org/opendaylight/controller/netconf/test/tool/**</sonar.exclusions>
23   </properties>
24
25   <modules>
26     <module>netconf-artifacts</module>
27
28     <module>netconf-api</module>
29     <module>netconf-config</module>
30     <module>netconf-impl</module>
31     <module>config-netconf-connector</module>
32     <module>mdsal-netconf-connector</module>
33     <module>mdsal-netconf-monitoring</module>
34     <module>netconf-util</module>
35     <module>netconf-netty-util</module>
36     <module>netconf-mapping-api</module>
37     <module>netconf-client</module>
38     <module>netconf-config-dispatcher</module>
39     <module>netconf-ssh</module>
40     <module>netconf-tcp</module>
41     <module>netconf-monitoring</module>
42     <module>netconf-connector-config</module>
43     <module>netconf-mdsal-config</module>
44     <module>netconf-auth</module>
45     <module>netconf-notifications-impl</module>
46     <module>netconf-notifications-api</module>
47     <module>sal-netconf-connector</module>
48     <module>messagebus-netconf</module>
49     <module>features</module>
50     <module>models</module>
51     <module>tools</module>
52   </modules>
53
54   <dependencies>
55     <dependency>
56       <groupId>org.osgi</groupId>
57       <artifactId>org.osgi.core</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>ch.qos.logback</groupId>
61       <artifactId>logback-classic</artifactId>
62       <scope>test</scope>
63     </dependency>
64     <dependency>
65       <groupId>junit</groupId>
66       <artifactId>junit</artifactId>
67       <scope>test</scope>
68     </dependency>
69   </dependencies>
70
71   <dependencyManagement>
72     <dependencies>
73       <dependency>
74         <groupId>org.opendaylight.controller</groupId>
75         <artifactId>netconf-artifacts</artifactId>
76         <version>${project.version}</version>
77         <type>pom</type>
78         <scope>import</scope>
79       </dependency>
80       <dependency>
81         <groupId>org.opendaylight.controller</groupId>
82         <artifactId>features-netconf-connector</artifactId>
83         <version>${project.version}</version>
84         <classifier>features</classifier>
85         <type>xml</type>
86         <scope>runtime</scope>
87       </dependency>
88     </dependencies>
89   </dependencyManagement>
90
91   <build>
92     <pluginManagement>
93       <plugins>
94         <plugin>
95           <groupId>org.apache.felix</groupId>
96           <artifactId>maven-bundle-plugin</artifactId>
97           <extensions>true</extensions>
98           <configuration>
99             <instructions>
100               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
101             </instructions>
102           </configuration>
103         </plugin>
104         <plugin>
105           <groupId>org.opendaylight.yangtools</groupId>
106           <artifactId>yang-maven-plugin</artifactId>
107           <executions>
108             <execution>
109               <id>config</id>
110               <goals>
111                 <goal>generate-sources</goal>
112               </goals>
113               <configuration>
114                 <codeGenerators>
115                   <generator>
116                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
117                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
118                     <additionalConfiguration>
119                       <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
120                     </additionalConfiguration>
121                   </generator>
122                   <generator>
123                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
124                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
125                   </generator>
126                 </codeGenerators>
127                 <inspectDependencies>true</inspectDependencies>
128               </configuration>
129             </execution>
130           </executions>
131           <dependencies>
132             <dependency>
133               <groupId>org.opendaylight.controller</groupId>
134               <artifactId>yang-jmx-generator-plugin</artifactId>
135               <version>${config.version}</version>
136             </dependency>
137           </dependencies>
138         </plugin>
139       </plugins>
140
141     </pluginManagement>
142     <plugins>
143       <plugin>
144         <groupId>org.apache.maven.plugins</groupId>
145         <artifactId>maven-checkstyle-plugin</artifactId>
146         <configuration>
147           <failsOnError>false</failsOnError>
148           <failOnViolation>true</failOnViolation>
149           <configLocation>checkstyle-logging.xml</configLocation>
150           <consoleOutput>true</consoleOutput>
151           <includeTestSourceDirectory>true</includeTestSourceDirectory>
152           <sourceDirectory>${project.basedir}</sourceDirectory>
153           <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
154           <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/,**\/netconf\/test\/tool\/Main.java, **\/netconf\/test\/tool\/client\/stress\/StressClient.java</excludes>
155         </configuration>
156         <dependencies>
157           <dependency>
158             <groupId>org.opendaylight.yangtools</groupId>
159             <artifactId>checkstyle-logging</artifactId>
160             <version>${yangtools.version}</version>
161           </dependency>
162         </dependencies>
163         <executions>
164           <execution>
165             <goals>
166               <goal>check</goal>
167             </goals>
168           </execution>
169         </executions>
170       </plugin>
171       <plugin>
172         <groupId>org.apache.maven.plugins</groupId>
173         <artifactId>maven-compiler-plugin</artifactId>
174       </plugin>
175     </plugins>
176   </build>
177
178   <profiles>
179     <profile>
180       <id>integrationtests</id>
181       <activation>
182         <activeByDefault>false</activeByDefault>
183       </activation>
184       <modules>
185         <module>netconf-it</module>
186       </modules>
187     </profile>
188   </profiles>
189 </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.