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