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