Merge "BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector"
[controller.git] / features / adsal-compatibility / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3  Necessary TODO: Put your copyright here.\r
4 \r
5  This program and the accompanying materials are made available under the\r
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
7  and is available at http://www.eclipse.org/legal/epl-v10.html\r
8 --><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">\r
9    <modelVersion>4.0.0</modelVersion>\r
10    <parent>\r
11      <groupId>org.opendaylight.controller</groupId>\r
12      <artifactId>commons.opendaylight</artifactId>\r
13      <version>1.5.0-SNAPSHOT</version>\r
14      <relativePath>../../opendaylight/commons/opendaylight</relativePath>\r
15    </parent>\r
16    <artifactId>features-adsal-compatibility</artifactId>\r
17    <packaging>jar</packaging>\r
18    <properties>\r
19       <features.file>features.xml</features.file>\r
20       <feature.test.version>0.7.0-SNAPSHOT</feature.test.version>\r
21    </properties>\r
22    <dependencies>\r
23     <!--\r
24       Necessary TODO: Put dependencies on any feature repos\r
25       you use in your features.xml file.\r
26 \r
27       Note: they will need to be <type>xml</xml>\r
28       and <classifier>features</classifier>.\r
29       One other thing to watch for is to make sure they are\r
30       <scope>compile</compile>, which they should be by default,\r
31       but be cautious lest they be at a different scope in a parent pom.\r
32 \r
33       Examples:\r
34         <dependency>\r
35           <groupId>org.opendaylight.yangtools</groupId>\r
36           <artifactId>features-yangtools</artifactId>\r
37           <version>0.7.0-SNAPSHOT</version>\r
38           <classifier>features</classifier>\r
39           <type>xml</type>\r
40         </dependency>\r
41         <dependency>\r
42           <groupId>org.opendaylight.controller</groupId>\r
43           <artifactId>features-mdsal</artifactId>\r
44           <version>1.2.0-SNAPSHOT</version>\r
45           <classifier>features</classifier>\r
46           <type>xml</type>\r
47         </dependency>\r
48         <dependency>\r
49           <groupId>org.opendaylight.openflowplugin</groupId>\r
50           <artifactId>features-openflowplugin</artifactId>\r
51           <version>0.1.0-SNAPSHOT</version>\r
52           <classifier>features</classifier>\r
53           <type>xml</type>\r
54         </dependency>\r
55     -->\r
56       <dependency>\r
57         <groupId>org.opendaylight.controller</groupId>\r
58         <artifactId>features-mdsal</artifactId>\r
59         <version>${mdsal.version}</version>\r
60         <classifier>features</classifier>\r
61         <type>xml</type>\r
62       </dependency>\r
63       <dependency>\r
64         <groupId>org.opendaylight.controller</groupId>\r
65         <artifactId>features-flow</artifactId>\r
66         <version>${mdsal.version}</version>\r
67         <classifier>features</classifier>\r
68         <type>xml</type>\r
69       </dependency>\r
70       <dependency>\r
71         <groupId>org.opendaylight.controller</groupId>\r
72         <artifactId>features-adsal</artifactId>\r
73         <version>${sal.version}</version>\r
74         <classifier>features</classifier>\r
75         <type>xml</type>\r
76       </dependency>\r
77 \r
78     <!--\r
79       Necessary TODO: Put dependencies for bundles directly referenced\r
80       in your features.xml file.  For every <bundle> reference in your\r
81       features.xml file, you need a corresponding dependency here.\r
82 \r
83       Examples:\r
84       <dependency>\r
85         <groupId>org.opendaylight.controller</groupId>\r
86         <artifactId>controller-provider</artifactId>\r
87         <version>${project.version}</version>\r
88       </dependency>\r
89       <dependency>\r
90         <groupId>org.opendaylight.controller</groupId>\r
91         <artifactId>controller-model</artifactId>\r
92         <version>${project.version}</version>\r
93       </dependency>\r
94     -->\r
95       <dependency>\r
96         <groupId>org.opendaylight.controller</groupId>\r
97         <artifactId>sal-compatibility</artifactId>\r
98         <version>${mdsal.version}</version>\r
99       </dependency>\r
100 \r
101     <!--\r
102       Necessary TODO: Put dependencies for configfiles directly referenced\r
103       in your features.xml file.  For every <configfile> reference in your\r
104       features.xml file, you need a corresponding dependency here.\r
105 \r
106       Example (presuming here version is coming from the parent pom):\r
107       <dependency>\r
108         <groupId>org.opendaylight.controller</groupId>\r
109         <artifactId>controller-config</artifactId>\r
110         <version>${project.version}</version>\r
111         <type>xml</type>\r
112         <classifier>config</classifier>\r
113       </dependency>\r
114     -->\r
115 \r
116     <!--\r
117       Optional TODO: Remove TODO comments.\r
118     -->\r
119     <!-- test to validate features.xml -->\r
120     <dependency>\r
121       <groupId>org.opendaylight.yangtools</groupId>\r
122       <artifactId>features-test</artifactId>\r
123       <version>${feature.test.version}</version>\r
124       <scope>test</scope>\r
125     </dependency>\r
126     <!-- dependency for opendaylight-karaf-empty for use by testing -->\r
127     <dependency>\r
128       <groupId>org.opendaylight.controller</groupId>\r
129       <artifactId>opendaylight-karaf-empty</artifactId>\r
130       <version>${commons.opendaylight.version}</version>\r
131       <type>zip</type>\r
132     </dependency>\r
133     <!-- Uncomment this if you get an error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;\r
134     <dependency>\r
135       <groupId>org.slf4j</groupId>\r
136       <artifactId>slf4j-simple</artifactId>\r
137       <version>1.7.2</version>\r
138     </dependency>\r
139     -->\r
140 \r
141    </dependencies>\r
142    <build>\r
143       <resources>\r
144          <resource>\r
145             <directory>src/main/resources</directory>\r
146             <filtering>true</filtering>\r
147          </resource>\r
148       </resources>\r
149       <plugins>\r
150          <plugin>\r
151             <groupId>org.apache.maven.plugins</groupId>\r
152             <artifactId>maven-resources-plugin</artifactId>\r
153             <executions>\r
154                <execution>\r
155                   <id>filter</id>\r
156                   <phase>generate-resources</phase>\r
157                   <goals>\r
158                      <goal>resources</goal>\r
159                   </goals>\r
160                </execution>\r
161             </executions>\r
162          </plugin>\r
163          <plugin>\r
164             <groupId>org.codehaus.mojo</groupId>\r
165             <artifactId>build-helper-maven-plugin</artifactId>\r
166             <executions>\r
167                <execution>\r
168                   <id>attach-artifacts</id>\r
169                   <phase>package</phase>\r
170                   <goals>\r
171                      <goal>attach-artifact</goal>\r
172                   </goals>\r
173                   <configuration>\r
174                      <artifacts>\r
175                         <artifact>\r
176                            <file>${project.build.directory}/classes/${features.file}</file>\r
177                            <type>xml</type>\r
178                            <classifier>features</classifier>\r
179                         </artifact>\r
180                      </artifacts>\r
181                   </configuration>\r
182                </execution>\r
183             </executions>\r
184          </plugin>\r
185          <plugin>\r
186             <groupId>org.apache.maven.plugins</groupId>\r
187             <artifactId>maven-surefire-plugin</artifactId>\r
188             <version>${surefire.version}</version>\r
189             <configuration>\r
190               <systemPropertyVariables>\r
191                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>\r
192                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>\r
193                 <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>\r
194               </systemPropertyVariables>\r
195               <dependenciesToScan>\r
196                <dependency>org.opendaylight.yangtools:features-test</dependency>\r
197               </dependenciesToScan>\r
198             </configuration>\r
199           </plugin>\r
200       </plugins>\r
201    </build>\r
202    <scm>\r
203       <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>\r
204       <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>\r
205       <tag>HEAD</tag>\r
206       <url>https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=summary</url>\r
207    </scm>\r
208 </project>\r