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