642ce983516b33cc15628aa5c35e8a9aa99ec09c
[controller.git] / features / neutron / 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   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.5.0-SNAPSHOT</version>
8     <relativePath>../../opendaylight/commons/opendaylight</relativePath>
9   </parent>
10   <artifactId>features-neutron</artifactId>
11   <version>${networkconfig.neutron.version}</version>
12   <packaging>jar</packaging>
13
14   <properties>
15     <features.file>features.xml</features.file>
16   </properties>
17
18   <dependencies>
19     <dependency>
20       <groupId>org.osgi</groupId>
21       <artifactId>org.osgi.core</artifactId>
22     </dependency>
23     <dependency>
24       <groupId>com.sun.jersey</groupId>
25       <artifactId>jersey-core</artifactId>
26     </dependency>
27     <dependency>
28       <groupId>com.sun.jersey</groupId>
29       <artifactId>jersey-server</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>com.sun.jersey</groupId>
33       <artifactId>jersey-servlet</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>org.eclipse.persistence</groupId>
37       <artifactId>org.eclipse.persistence.moxy</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>org.eclipse.persistence</groupId>
41       <artifactId>org.eclipse.persistence.core</artifactId>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.controller</groupId>
45       <artifactId>networkconfig.neutron</artifactId>
46     </dependency>
47     <dependency>
48       <groupId>commons-net</groupId>
49       <artifactId>commons-net</artifactId>
50     </dependency>
51     <!-- test to validate features.xml -->
52     <dependency>
53       <groupId>org.opendaylight.yangtools</groupId>
54       <artifactId>features-test</artifactId>
55     </dependency>
56   </dependencies>
57
58   <build>
59     <resources>
60       <resource>
61         <filtering>true</filtering>
62         <directory>src/main/resources</directory>
63       </resource>
64     </resources>
65     <plugins>
66       <plugin>
67         <groupId>org.apache.maven.plugins</groupId>
68         <artifactId>maven-resources-plugin</artifactId>
69         <executions>
70           <execution>
71             <id>filter</id>
72             <goals>
73               <goal>resources</goal>
74             </goals>
75             <phase>generate-resources</phase>
76           </execution>
77         </executions>
78       </plugin>
79       <plugin>
80         <groupId>org.codehaus.mojo</groupId>
81         <artifactId>build-helper-maven-plugin</artifactId>
82         <executions>
83           <execution>
84             <id>attach-artifacts</id>
85             <goals>
86               <goal>attach-artifact</goal>
87             </goals>
88             <phase>package</phase>
89             <configuration>
90               <artifacts>
91                 <artifact>
92                   <file>${project.build.directory}/classes/${features.file}</file>
93                   <type>xml</type>
94                   <classifier>features</classifier>
95                 </artifact>
96               </artifacts>
97             </configuration>
98           </execution>
99         </executions>
100       </plugin>
101       <plugin>
102         <groupId>org.apache.maven.plugins</groupId>
103         <artifactId>maven-surefire-plugin</artifactId>
104         <configuration>
105           <systemPropertyVariables>
106             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
107             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
108             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
109           </systemPropertyVariables>
110           <dependenciesToScan>
111            <dependency>org.opendaylight.yangtools:features-test</dependency>
112           </dependenciesToScan>
113         </configuration>
114       </plugin>
115     </plugins>
116   </build>
117   <scm>
118     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
119     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
120     <tag>HEAD</tag>
121     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
122   </scm>
123 </project>