Merge "Added StatusCode to Response.Status Mapping"
[controller.git] / opendaylight / sal / yang-prototype / 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>yang-prototype</artifactId>
6     <version>0.5-SNAPSHOT</version>
7     <packaging>pom</packaging>
8     <modules>
9         <module>yang</module>
10         <module>code-generator</module>
11         <module>model</module>
12     </modules>
13
14     <properties>
15         <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
16         <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
17         <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
18         <siteplugin>3.2</siteplugin>
19         <projectinfo>2.6</projectinfo>
20         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21         <compiler.version>2.3.2</compiler.version>
22         <surefire.version>2.13</surefire.version>
23         <exam.version>3.0.0</exam.version>
24         <url.version>1.5.0</url.version>
25         <enunciate.version>1.26.2</enunciate.version>
26         <sonar.branch>${user.name}-private-view</sonar.branch>
27         <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
28         <logback.version>1.0.9</logback.version>
29         <slf4j.version>1.7.2</slf4j.version>
30     </properties>
31
32     <pluginRepositories>
33         <pluginRepository>
34             <id>central2</id>
35             <name>central2</name>
36             <url>${nexusproxy}/repositories/central2/</url>
37         </pluginRepository>
38     </pluginRepositories>
39
40
41     <repositories>
42         <!-- EBR release -->
43         <!-- http://repository.springsource.com/maven/bundles/release -->
44         <repository>
45             <id>ebr-bundles-release</id>
46             <name>ebr-bundles-release</name>
47             <url>${nexusproxy}/repositories/ebr-bundles-release/</url>
48         </repository>
49         <!-- EBR external -->
50         <!-- http://repository.springsource.com/maven/bundles/external -->
51         <repository>
52             <id>ebr-bundles-external</id>
53             <name>ebr-bundles-external</name>
54             <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
55         </repository>
56         <!-- Maven repo2 mirror -->
57         <!-- http://repo2.maven.org/maven2 -->
58         <repository>
59             <id>central2</id>
60             <name>central2</name>
61             <url>${nexusproxy}/repositories/central2/</url>
62         </repository>
63         <!-- Maven repo1 mirror -->
64         <!-- http://repo1.maven.org/maven2 -->
65         <repository>
66             <id>central</id>
67             <name>central</name>
68             <url>${nexusproxy}/repositories/central/</url>
69         </repository>
70         <!-- Pax mirror -->
71         <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->
72         <repository>
73             <id>ops4j-releases</id>
74             <name>ops4j-releases</name>
75             <url>${nexusproxy}/repositories/ops4j-releases/</url>
76         </repository>
77         <!-- Third Packages hosted in local maven because not available in other 
78             places -->
79         <repository>
80             <id>thirdparty</id>
81             <name>thirdparty</name>
82             <url>${nexusproxy}/repositories/thirdparty/</url>
83         </repository>
84         <!-- Jboss mirror -->
85         <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
86         <repository>
87             <id>jboss.releases</id>
88             <name>jboss.releases</name>
89             <url>${nexusproxy}/repositories/jboss.releases/</url>
90         </repository>
91         <!-- OpenDayLight Released artifact -->
92         <repository>
93             <id>opendaylight-release</id>
94             <name>opendaylight-release</name>
95             <url>${nexusproxy}/repositories/opendaylight.release/</url>
96         </repository>
97         <!-- OpenDayLight Snapshot artifact -->
98         <repository>
99             <id>opendaylight-snapshot</id>
100             <name>opendaylight-snapshot</name>
101             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
102         </repository>
103     </repositories>
104     <distributionManagement>
105         <!-- OpenDayLight Released artifact -->
106         <repository>
107             <id>opendaylight-release</id>
108             <url>${nexusproxy}/repositories/opendaylight.release/</url>
109         </repository>
110         <!-- OpenDayLight Snapshot artifact -->
111         <snapshotRepository>
112             <id>opendaylight-snapshot</id>
113             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
114         </snapshotRepository>
115         <!-- Site deployment -->
116         <!-- site>
117             <id>website</id>
118             <url>${sitedeploy}</url>
119         </site -->
120     </distributionManagement>
121
122
123     <dependencyManagement>
124         <dependencies>
125             <dependency>
126                 <groupId>junit</groupId>
127                 <artifactId>junit</artifactId>
128                 <version>4.10</version>
129                 <scope>test</scope>
130                 <optional>true</optional>
131             </dependency>
132             <dependency>
133                 <groupId>org.slf4j</groupId>
134                 <artifactId>slf4j-api</artifactId>
135                 <version>1.7.2</version>
136             </dependency>
137         </dependencies>
138     </dependencyManagement>
139     <build>
140         <plugins>
141             <plugin>
142                 <groupId>org.apache.maven.plugins</groupId>
143                 <artifactId>maven-compiler-plugin</artifactId>
144                 <version>${compiler.version}</version>
145                 <inherited>true</inherited>
146                 <configuration>
147                     <source>1.7</source>
148                     <target>1.7</target>
149                 </configuration>
150             </plugin>
151             <plugin>
152                 <groupId>org.apache.maven.plugins</groupId>
153                 <artifactId>maven-javadoc-plugin</artifactId>
154                 <version>2.8.1</version>
155                 <configuration>
156                     <stylesheet>maven</stylesheet>
157                 </configuration>
158                 <executions>
159                     <execution>
160                         <goals>
161                             <goal>aggregate</goal>
162                         </goals>
163                         <phase>site</phase>
164                     </execution> 
165                     <execution> 
166                           <id>attach-javadocs</id>
167                           <phase>deploy</phase>
168                           <goals><goal>jar</goal></goals> 
169                     </execution> 
170                 </executions> 
171             </plugin>
172             <plugin>
173             <artifactId>maven-source-plugin</artifactId>
174                 <executions>
175                     <execution>
176                         <id>attach-sources</id>
177                         <phase>deploy</phase>
178                         <goals><goal>jar-no-fork</goal></goals> 
179                     </execution>
180                  </executions>
181             </plugin>
182             <plugin> 
183                 <!-- explicitly define maven-deploy-plugin after other to force exec order -->
184                 <artifactId>maven-deploy-plugin</artifactId> 
185                 <executions> 
186                     <execution> 
187                         <id>deploy</id>
188                         <phase>deploy</phase>
189                         <goals><goal>deploy</goal></goals> 
190                     </execution> 
191                 </executions> 
192             </plugin> 
193         </plugins>
194     </build>
195     <reporting>
196         <plugins>
197             <plugin>
198                 <groupId>org.codehaus.mojo</groupId>
199                 <artifactId>findbugs-maven-plugin</artifactId>
200                 <version>2.4.0</version>
201                 <configuration>
202                     <effort>Max</effort>
203                     <threshold>Low</threshold>
204                     <goal>site</goal>
205                 </configuration>
206             </plugin>
207             <plugin>
208                 <groupId>org.codehaus.mojo</groupId>
209                 <artifactId>jdepend-maven-plugin</artifactId>
210                 <version>2.0-beta-2</version>
211             </plugin>
212         </plugins>
213     </reporting>
214     <profiles>
215         <profile>
216             <id>viewbuild</id>
217             <activation>
218                 <activeByDefault>true</activeByDefault>
219             </activation>
220             <properties>
221                 <build.suffix>${project.version}</build.suffix>
222             </properties>
223         </profile>
224         <profile>
225             <id>jenkins</id>
226             <activation>
227                 <property>
228                     <name>BUILDSUFFIX</name>
229                 </property>
230             </activation>
231             <properties>
232                 <build.suffix>${BUILDSUFFIX}</build.suffix>
233             </properties>
234         </profile>
235     </profiles>
236 </project>