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