Moved CMTS emulator to its own module so it can either be run standalone or be used...
[packetcable.git] / packetcable-policy-server / 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"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.opendaylight.packetcable</groupId>
7         <artifactId>packetcable</artifactId>
8         <version>1.3.0-SNAPSHOT</version>
9     </parent>
10     <artifactId>packetcable-policy-server</artifactId>
11     <packaging>bundle</packaging>
12
13     <properties>
14         <sal-binding-api.version>1.3.0-SNAPSHOT</sal-binding-api.version>
15         <powermock.version>1.5.1</powermock.version>
16     </properties>
17
18     <dependencies>
19         <dependency>
20             <groupId>${project.groupId}</groupId>
21             <artifactId>packetcable-driver</artifactId>
22             <version>${project.version}</version>
23         </dependency>
24         <dependency>
25             <groupId>${project.groupId}</groupId>
26             <artifactId>packetcable-policy-model</artifactId>
27             <version>${project.version}</version>
28         </dependency>
29         <dependency>
30             <groupId>org.opendaylight.yangtools.model</groupId>
31             <artifactId>ietf-inet-types</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.opendaylight.yangtools.model</groupId>
35             <artifactId>ietf-yang-types</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>org.opendaylight.controller</groupId>
39             <artifactId>config-api</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>org.opendaylight.controller</groupId>
43             <artifactId>sal-binding-api</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>org.opendaylight.controller</groupId>
47             <artifactId>sal-binding-config</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>org.opendaylight.controller</groupId>
51             <artifactId>sal-common-util</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>org.osgi</groupId>
55             <artifactId>org.osgi.core</artifactId>
56         </dependency>
57         <dependency>
58             <groupId>junit</groupId>
59             <artifactId>junit</artifactId>
60             <scope>test</scope>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.packetcable</groupId>
64             <artifactId>packetcable-emulator</artifactId>
65             <version>1.3.0-SNAPSHOT</version>
66             <scope>test</scope>
67         </dependency>
68         <dependency>
69             <groupId>org.mockito</groupId>
70             <artifactId>mockito-core</artifactId>
71             <scope>test</scope>
72         </dependency>
73         <dependency>
74             <groupId>org.powermock</groupId>
75             <artifactId>powermock-core</artifactId>
76             <version>${powermock.version}</version>
77             <scope>test</scope>
78         </dependency>
79         <dependency>
80             <groupId>org.powermock</groupId>
81             <artifactId>powermock-module-junit4</artifactId>
82             <version>${powermock.version}</version>
83             <scope>test</scope>
84            </dependency>
85         <dependency>
86             <groupId>org.powermock</groupId>
87             <artifactId>powermock-api-mockito</artifactId>
88             <version>${powermock.version}</version>
89             <scope>test</scope>
90         </dependency>
91     </dependencies>
92
93     <build>
94         <plugins>
95             <plugin>
96                 <artifactId>maven-checkstyle-plugin</artifactId>
97                 <configuration>
98                     <skip>true</skip>
99                 </configuration>
100             </plugin>
101
102             <plugin>
103                 <groupId>org.apache.felix</groupId>
104                 <artifactId>maven-bundle-plugin</artifactId>
105                 <configuration>
106                     <instructions>
107                         <Export-Package>org.opendaylight.controller.config.yang.toaster_provider,</Export-Package>
108                         <Import-Package>*</Import-Package>
109                     </instructions>
110                 </configuration>
111             </plugin>
112             <plugin>
113                 <groupId>org.opendaylight.yangtools</groupId>
114                 <artifactId>yang-maven-plugin</artifactId>
115                 <executions>
116                     <execution>
117                         <id>config</id>
118                         <goals>
119                             <goal>generate-sources</goal>
120                         </goals>
121                         <configuration>
122                             <codeGenerators>
123                                 <generator>
124                                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
125                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
126                                     <additionalConfiguration>
127                                         <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
128                                     </additionalConfiguration>
129                                 </generator>
130                                 <generator>
131                                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
132                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
133                                 </generator>
134                             </codeGenerators>
135                             <inspectDependencies>true</inspectDependencies>
136                         </configuration>
137                     </execution>
138                 </executions>
139             </plugin>
140         </plugins>
141     </build>
142     <scm>
143         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
144         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
145         <tag>HEAD</tag>
146         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
147     </scm>
148 </project>