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