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