Updated POM files and versions to 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                         <dependency>
137                                 <groupId>org.slf4j</groupId>
138                                 <artifactId>slf4j-simple</artifactId>
139                                 <version>1.7.2</version>
140                         </dependency>
141                 </dependencies>
142         </dependencyManagement>
143         <build>
144                 <plugins>
145                         <plugin>
146                                 <groupId>org.apache.maven.plugins</groupId>
147                                 <artifactId>maven-compiler-plugin</artifactId>
148                                 <version>${compiler.version}</version>
149                                 <inherited>true</inherited>
150                                 <configuration>
151                                         <source>1.7</source>
152                                         <target>1.7</target>
153                                 </configuration>
154                         </plugin>
155                         <plugin>
156                                 <groupId>org.apache.maven.plugins</groupId>
157                                 <artifactId>maven-javadoc-plugin</artifactId>
158                                 <version>2.8.1</version>
159                                 <configuration>
160                                         <stylesheet>maven</stylesheet>
161                                 </configuration>
162                                 <executions>
163                                         <execution>
164                                                 <goals>
165                                                         <goal>aggregate</goal>
166                                                 </goals>
167                                                 <phase>site</phase>
168                                         </execution>
169                                 </executions>
170                         </plugin>
171                 </plugins>
172         </build>
173         <reporting>
174                 <plugins>
175                         <plugin>
176                                 <groupId>org.codehaus.mojo</groupId>
177                                 <artifactId>findbugs-maven-plugin</artifactId>
178                                 <version>2.4.0</version>
179                                 <configuration>
180                                         <effort>Max</effort>
181                                         <threshold>Low</threshold>
182                                         <goal>site</goal>
183                                 </configuration>
184                         </plugin>
185                         <plugin>
186                                 <groupId>org.codehaus.mojo</groupId>
187                                 <artifactId>jdepend-maven-plugin</artifactId>
188                                 <version>2.0-beta-2</version>
189                         </plugin>
190                 </plugins>
191         </reporting>
192         <profiles>
193                 <profile>
194                         <id>viewbuild</id>
195                         <activation>
196                                 <activeByDefault>true</activeByDefault>
197                         </activation>
198                         <properties>
199                                 <build.suffix>${project.version}</build.suffix>
200                         </properties>
201                 </profile>
202                 <profile>
203                         <id>jenkins</id>
204                         <activation>
205                                 <property>
206                                         <name>BUILDSUFFIX</name>
207                                 </property>
208                         </activation>
209                         <properties>
210                                 <build.suffix>${BUILDSUFFIX}</build.suffix>
211                         </properties>
212                 </profile>
213         </profiles>
214 </project>