Merge "Added YANG models for flow configuration, statistics and inventory."
[controller.git] / opendaylight / sal / yang-prototype / sal / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         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         <groupId>org.opendaylight.controller</groupId>
5         <artifactId>sal-parent</artifactId>
6         <version>1.0-SNAPSHOT</version>
7         <packaging>pom</packaging>
8
9         <modules>
10                 <module>sal-common</module>
11                 <module>sal-common-util</module>
12                 <module>sal-data-api</module>
13                 <module>sal-binding-api</module>
14                 <module>sal-binding-broker-impl</module>
15         <module>samples</module>
16         <module>model</module>
17         </modules>
18
19         <properties>
20                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21                 <slf4j.version>1.7.2</slf4j.version>
22                 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
23                 <yang.version>0.5.7-SNAPSHOT</yang.version>
24                 <maven.bundle.version>2.4.0</maven.bundle.version>
25         </properties>
26
27     <pluginRepositories>
28         <pluginRepository>
29             <id>central</id>
30             <name>central</name>
31             <url>${nexusproxy}/repositories/central/</url>
32         </pluginRepository>
33         <pluginRepository>
34             <id>central2</id>
35             <name>central2</name>
36             <url>${nexusproxy}/repositories/central2/</url>
37         </pluginRepository>
38         <pluginRepository>
39             <id>opendaylight.snapshot</id>
40             <name>opendaylight.snapshot</name>
41             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
42         </pluginRepository>
43     </pluginRepositories>
44
45
46         <repositories>
47                 <!-- EBR release -->
48                 <!-- http://repository.springsource.com/maven/bundles/release -->
49                 <repository>
50                         <id>ebr-bundles-release</id>
51                         <name>ebr-bundles-release</name>
52                         <url>${nexusproxy}/repositories/ebr-bundles-release/</url>
53                 </repository>
54                 <!-- EBR external -->
55                 <!-- http://repository.springsource.com/maven/bundles/external -->
56                 <repository>
57                         <id>ebr-bundles-external</id>
58                         <name>ebr-bundles-external</name>
59                         <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
60                 </repository>
61                 <!-- Maven repo2 mirror -->
62                 <!-- http://repo2.maven.org/maven2 -->
63                 <repository>
64                         <id>central2</id>
65                         <name>central2</name>
66                         <url>${nexusproxy}/repositories/central2/</url>
67                 </repository>
68                 <!-- Maven repo1 mirror -->
69                 <!-- http://repo1.maven.org/maven2 -->
70                 <repository>
71                         <id>central</id>
72                         <name>central</name>
73                         <url>${nexusproxy}/repositories/central/</url>
74                 </repository>
75                 <!-- Pax mirror -->
76                 <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->
77                 <repository>
78                         <id>ops4j-releases</id>
79                         <name>ops4j-releases</name>
80                         <url>${nexusproxy}/repositories/ops4j-releases/</url>
81                 </repository>
82                 <!-- Third Packages hosted in local maven because not available in other 
83                         places -->
84                 <repository>
85                         <id>thirdparty</id>
86                         <name>thirdparty</name>
87                         <url>${nexusproxy}/repositories/thirdparty/</url>
88                 </repository>
89                 <!-- Jboss mirror -->
90                 <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
91                 <repository>
92                         <id>jboss.releases</id>
93                         <name>jboss.releases</name>
94                         <url>${nexusproxy}/repositories/jboss.releases/</url>
95                 </repository>
96                 <!-- OpenDayLight Released artifact -->
97                 <repository>
98                         <id>opendaylight-release</id>
99                         <name>opendaylight-release</name>
100                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
101                 </repository>
102                 <!-- OpenDayLight Snapshot artifact -->
103                 <repository>
104                         <id>opendaylight-snapshot</id>
105                         <name>opendaylight-snapshot</name>
106                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
107                 </repository>
108         </repositories>
109
110
111
112         <dependencyManagement>
113                 <dependencies>
114                         <dependency>
115                                 <groupId>com.google.guava</groupId>
116                                 <artifactId>guava</artifactId>
117                                 <version>14.0.1</version>
118                                 <type>jar</type>
119                         </dependency>
120                         <dependency>
121                                 <groupId>org.slf4j</groupId>
122                                 <artifactId>slf4j-api</artifactId>
123                                 <version>1.7.2</version>
124                         </dependency>
125                         <dependency>
126                                 <groupId>junit</groupId>
127                                 <artifactId>junit</artifactId>
128                                 <version>4.10</version>
129                         </dependency>
130                         <dependency>
131                                 <groupId>org.opendaylight.yangtools</groupId>
132                                 <artifactId>yang-binding</artifactId>
133                                 <version>${yang.version}</version>
134                         </dependency>
135                         <dependency>
136                                 <groupId>org.opendaylight.yangtools</groupId>
137                                 <artifactId>yang-common</artifactId>
138                                 <version>${yang.version}</version>
139                         </dependency>
140                         <dependency>
141                                 <groupId>org.opendaylight.yangtools</groupId>
142                                 <artifactId>yang-data-api</artifactId>
143                                 <version>${yang.version}</version>
144                         </dependency>
145                         <dependency>
146                                 <groupId>org.opendaylight.yangtools</groupId>
147                                 <artifactId>yang-model-api</artifactId>
148                                 <version>${yang.version}</version>
149                         </dependency>
150                         <dependency>
151                                 <groupId>org.opendaylight.yangtools</groupId>
152                                 <artifactId>yang-data-util</artifactId>
153                                 <version>${yang.version}</version>
154                         </dependency>
155                 </dependencies>
156
157         </dependencyManagement>
158
159         <dependencies>
160                 <dependency>
161                         <groupId>junit</groupId>
162                         <artifactId>junit</artifactId>
163                         <scope>test</scope>
164                         <optional>true</optional>
165                 </dependency>
166                 <dependency>
167                         <groupId>org.mockito</groupId>
168                         <artifactId>mockito-all</artifactId>
169                         <version>1.9.5</version>
170                         <scope>test</scope>
171                 </dependency>
172         </dependencies>
173         <build>
174                 <plugins>
175                         <plugin>
176                                 <groupId>org.apache.felix</groupId>
177                                 <artifactId>maven-bundle-plugin</artifactId>
178                                 <version>${maven.bundle.version}</version>
179                                 <extensions>true</extensions>
180                                 <configuration>
181                                         <instructions>
182                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
183                                         </instructions>
184                                         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
185                                 </configuration>
186                         </plugin>
187                         <plugin>
188                                 <groupId>org.apache.maven.plugins</groupId>
189                                 <artifactId>maven-compiler-plugin</artifactId>
190                                 <version>2.0</version>
191                                 <inherited>true</inherited>
192                                 <configuration>
193                                         <source>1.7</source>
194                                         <target>1.7</target>
195                                 </configuration>
196                         </plugin>
197                         <plugin>
198                                 <groupId>org.apache.maven.plugins</groupId>
199                                 <artifactId>maven-javadoc-plugin</artifactId>
200                                 <version>2.8.1</version>
201                                 <configuration>
202                                         <stylesheet>maven</stylesheet>
203                                 </configuration>
204                                 <executions>
205                                         <execution>
206                                                 <goals>
207                                                         <goal>aggregate</goal>
208                                                 </goals>
209                                                 <phase>site</phase>
210                                         </execution>
211                                 </executions>
212                         </plugin>
213                 </plugins>
214         </build>
215         <reporting>
216                 <plugins>
217                         <plugin>
218                                 <groupId>org.codehaus.mojo</groupId>
219                                 <artifactId>findbugs-maven-plugin</artifactId>
220                                 <version>2.4.0</version>
221                                 <configuration>
222                                         <effort>Max</effort>
223                                         <threshold>Low</threshold>
224                                         <goal>site</goal>
225                                 </configuration>
226                         </plugin>
227                         <plugin>
228                                 <groupId>org.codehaus.mojo</groupId>
229                                 <artifactId>jdepend-maven-plugin</artifactId>
230                                 <version>2.0-beta-2</version>
231                         </plugin>
232                 </plugins>
233         </reporting>
234 </project>