Added distributionManagement section to md-sal parent pom.
[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   <distributionManagement>
111     <!-- OpenDayLight Released artifact -->
112     <repository>
113       <id>opendaylight-release</id>
114       <url>${nexusproxy}/repositories/opendaylight.release/</url>
115     </repository>
116     <!-- OpenDayLight Snapshot artifact -->
117     <snapshotRepository>
118       <id>opendaylight-snapshot</id>
119       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
120     </snapshotRepository>
121     <!-- Site deployment -->
122     <site>
123       <id>website</id>
124       <url>${sitedeploy}</url>
125     </site>
126   </distributionManagement>
127
128
129         <dependencyManagement>
130                 <dependencies>
131                         <dependency>
132                                 <groupId>com.google.guava</groupId>
133                                 <artifactId>guava</artifactId>
134                                 <version>14.0.1</version>
135                                 <type>jar</type>
136                         </dependency>
137                         <dependency>
138                                 <groupId>org.slf4j</groupId>
139                                 <artifactId>slf4j-api</artifactId>
140                                 <version>1.7.2</version>
141                         </dependency>
142                         <dependency>
143                                 <groupId>junit</groupId>
144                                 <artifactId>junit</artifactId>
145                                 <version>4.10</version>
146                         </dependency>
147                         <dependency>
148                                 <groupId>org.opendaylight.yangtools</groupId>
149                                 <artifactId>yang-binding</artifactId>
150                                 <version>${yang.version}</version>
151                         </dependency>
152                         <dependency>
153                                 <groupId>org.opendaylight.yangtools</groupId>
154                                 <artifactId>yang-common</artifactId>
155                                 <version>${yang.version}</version>
156                         </dependency>
157                         <dependency>
158                                 <groupId>org.opendaylight.yangtools</groupId>
159                                 <artifactId>yang-data-api</artifactId>
160                                 <version>${yang.version}</version>
161                         </dependency>
162                         <dependency>
163                                 <groupId>org.opendaylight.yangtools</groupId>
164                                 <artifactId>yang-model-api</artifactId>
165                                 <version>${yang.version}</version>
166                         </dependency>
167                         <dependency>
168                                 <groupId>org.opendaylight.yangtools</groupId>
169                                 <artifactId>yang-data-util</artifactId>
170                                 <version>${yang.version}</version>
171                         </dependency>
172                 </dependencies>
173
174         </dependencyManagement>
175
176         <dependencies>
177                 <dependency>
178                         <groupId>junit</groupId>
179                         <artifactId>junit</artifactId>
180                         <scope>test</scope>
181                         <optional>true</optional>
182                 </dependency>
183                 <dependency>
184                         <groupId>org.mockito</groupId>
185                         <artifactId>mockito-all</artifactId>
186                         <version>1.9.5</version>
187                         <scope>test</scope>
188                 </dependency>
189         </dependencies>
190         <build>
191                 <plugins>
192                         <plugin>
193                                 <groupId>org.apache.felix</groupId>
194                                 <artifactId>maven-bundle-plugin</artifactId>
195                                 <version>${maven.bundle.version}</version>
196                                 <extensions>true</extensions>
197                                 <configuration>
198                                         <instructions>
199                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
200                                         </instructions>
201                                         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
202                                 </configuration>
203                         </plugin>
204                         <plugin>
205                                 <groupId>org.apache.maven.plugins</groupId>
206                                 <artifactId>maven-compiler-plugin</artifactId>
207                                 <version>2.0</version>
208                                 <inherited>true</inherited>
209                                 <configuration>
210                                         <source>1.7</source>
211                                         <target>1.7</target>
212                                 </configuration>
213                         </plugin>
214                         <plugin>
215                                 <groupId>org.apache.maven.plugins</groupId>
216                                 <artifactId>maven-javadoc-plugin</artifactId>
217                                 <version>2.8.1</version>
218                                 <configuration>
219                                         <stylesheet>maven</stylesheet>
220                                 </configuration>
221                                 <executions>
222                                         <execution>
223                                                 <goals>
224                                                         <goal>aggregate</goal>
225                                                 </goals>
226                                                 <phase>site</phase>
227                                         </execution>
228                                 </executions>
229                         </plugin>
230                 </plugins>
231         </build>
232         <reporting>
233                 <plugins>
234                         <plugin>
235                                 <groupId>org.codehaus.mojo</groupId>
236                                 <artifactId>findbugs-maven-plugin</artifactId>
237                                 <version>2.4.0</version>
238                                 <configuration>
239                                         <effort>Max</effort>
240                                         <threshold>Low</threshold>
241                                         <goal>site</goal>
242                                 </configuration>
243                         </plugin>
244                         <plugin>
245                                 <groupId>org.codehaus.mojo</groupId>
246                                 <artifactId>jdepend-maven-plugin</artifactId>
247                                 <version>2.0-beta-2</version>
248                         </plugin>
249                 </plugins>
250         </reporting>
251 </project>