Create mvn profile for integrationtests
[controller.git] / opendaylight / netconf / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2          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.1-SNAPSHOT</version>
9         <relativePath>../commons/opendaylight</relativePath>
10     </parent>
11
12     <version>0.2.2-SNAPSHOT</version>
13     <artifactId>netconf-subsystem</artifactId>
14     <packaging>pom</packaging>
15     <name>${project.artifactId}</name>
16     <prerequisites>
17         <maven>3.0.4</maven>
18     </prerequisites>
19
20
21     <modules>
22         <module>netconf-api</module>
23         <module>netconf-impl</module>
24         <module>config-netconf-connector</module>
25         <module>netconf-util</module>
26         <module>config-persister-impl</module>
27         <module>netconf-mapping-api</module>
28         <module>netconf-client</module>
29     </modules>
30
31     <profiles>
32         <profile>
33            <id>integrationtests</id>
34            <activation>
35                <activeByDefault>false</activeByDefault>
36            </activation>
37             <modules>
38               <module>netconf-it</module>
39             </modules>
40         </profile>
41     </profiles>
42
43     <properties>
44         <osgi.version>5.0.0</osgi.version>
45         <maven.bundle.version>2.3.7</maven.bundle.version>
46         <slf4j.version>1.7.2</slf4j.version>
47         <netconf.netty.version>4.0.10.Final</netconf.netty.version>
48     </properties>
49
50     <dependencies>
51         <dependency>
52             <groupId>junit</groupId>
53             <artifactId>junit</artifactId>
54             <scope>test</scope>
55         </dependency>
56         <dependency>
57             <groupId>ch.qos.logback</groupId>
58             <artifactId>logback-classic</artifactId>
59             <scope>test</scope>
60         </dependency>
61     </dependencies>
62
63     <dependencyManagement>
64         <dependencies>
65             <dependency>
66                 <groupId>org.osgi</groupId>
67                 <artifactId>org.osgi.core</artifactId>
68                 <version>${osgi.version}</version>
69             </dependency>
70             <dependency>
71                 <groupId>org.opendaylight.bgpcep</groupId>
72                 <artifactId>mockito-configuration</artifactId>
73                 <version>${bgpcep.version}</version>
74                 <scope>test</scope>
75             </dependency>
76             <dependency>
77                 <groupId>${project.groupId}</groupId>
78                 <artifactId>config-api</artifactId>
79                 <version>${config.version}</version>
80             </dependency>
81             <dependency>
82                 <groupId>${project.groupId}</groupId>
83                 <artifactId>config-manager</artifactId>
84                 <version>${config.version}</version>
85             </dependency>
86             <dependency>
87                 <groupId>${project.groupId}</groupId>
88                 <artifactId>config-manager</artifactId>
89                 <version>${config.version}</version>
90                 <type>test-jar</type>
91             </dependency>
92             <dependency>
93                 <groupId>${project.groupId}</groupId>
94                 <artifactId>yang-jmx-generator</artifactId>
95                 <version>${config.version}</version>
96             </dependency>
97             <dependency>
98                 <groupId>${project.groupId}</groupId>
99                 <artifactId>config-util</artifactId>
100                 <version>${config.version}</version>
101             </dependency>
102             <dependency>
103                 <groupId>${project.groupId}</groupId>
104                 <artifactId>yang-store-api</artifactId>
105                 <version>${config.version}</version>
106             </dependency>
107             <dependency>
108                 <groupId>${project.groupId}</groupId>
109                 <artifactId>yang-store-impl</artifactId>
110                 <version>${config.version}</version>
111             </dependency>
112             <dependency>
113                 <groupId>${project.groupId}</groupId>
114                 <artifactId>yang-store-impl</artifactId>
115                 <version>${config.version}</version>
116                 <type>test-jar</type>
117             </dependency>
118             <dependency>
119                 <groupId>${project.groupId}</groupId>
120                 <artifactId>yang-test</artifactId>
121                 <version>${config.version}</version>
122             </dependency>
123             <dependency>
124                 <groupId>${project.groupId}</groupId>
125                 <artifactId>netconf-api</artifactId>
126                 <version>${netconf.version}</version>
127             </dependency>
128             <dependency>
129                 <groupId>${project.groupId}</groupId>
130                 <artifactId>netconf-util</artifactId>
131                 <version>${netconf.version}</version>
132             </dependency>
133             <dependency>
134                 <groupId>${project.groupId}</groupId>
135                 <artifactId>netconf-util</artifactId>
136                 <version>${netconf.version}</version>
137                 <type>test-jar</type>
138             </dependency>
139             <dependency>
140                 <groupId>${project.groupId}</groupId>
141                 <artifactId>netconf-mapping-api</artifactId>
142                 <version>${netconf.version}</version>
143             </dependency>
144             <dependency>
145                 <groupId>${project.groupId}</groupId>
146                 <artifactId>netconf-impl</artifactId>
147                 <version>${netconf.version}</version>
148             </dependency>
149             <dependency>
150                 <groupId>org.opendaylight.controller</groupId>
151                 <artifactId>config-persister-api</artifactId>
152                 <version>${config.version}</version>
153             </dependency>
154             <dependency>
155                 <groupId>org.opendaylight.controller</groupId>
156                 <artifactId>config-persister-file-adapter</artifactId>
157                 <version>${config.version}</version>
158             </dependency>
159             <dependency>
160                 <groupId>${project.groupId}</groupId>
161                 <artifactId>netconf-client</artifactId>
162                 <version>${netconf.version}</version>
163             </dependency>
164             <dependency>
165                 <groupId>xmlunit</groupId>
166                 <artifactId>xmlunit</artifactId>
167                 <version>1.4</version>
168             </dependency>
169             <dependency>
170                 <groupId>${project.groupId}</groupId>
171                 <artifactId>config-netconf-connector</artifactId>
172                 <version>${netconf.version}</version>
173             </dependency>
174             <dependency>
175                 <groupId>${project.groupId}</groupId>
176                 <artifactId>config-persister-impl</artifactId>
177                 <version>${netconf.version}</version>
178             </dependency>
179             <dependency>
180                 <groupId>org.opendaylight.controller</groupId>
181                 <artifactId>logback-config</artifactId>
182                 <version>${config.version}</version>
183             </dependency>
184         </dependencies>
185     </dependencyManagement>
186
187
188     <build>
189         <plugins>
190             <plugin>
191                 <groupId>org.apache.maven.plugins</groupId>
192                 <artifactId>maven-compiler-plugin</artifactId>
193             </plugin>
194         </plugins>
195         <pluginManagement>
196             <plugins>
197                 <plugin>
198                     <groupId>org.apache.felix</groupId>
199                     <artifactId>maven-bundle-plugin</artifactId>
200                     <version>${maven.bundle.version}</version>
201                     <extensions>true</extensions>
202                     <configuration>
203                         <instructions>
204                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
205                         </instructions>
206                     </configuration>
207                 </plugin>
208             </plugins>
209
210         </pluginManagement>
211     </build>
212 </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.