BUG-113: split out attribute parsers
[bgpcep.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set smarttab sw=4 tabstop=4: -->
3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5         <name>OpenDaylight protocols</name>
6         <url>index.html</url>
7         <modelVersion>4.0.0</modelVersion>
8         <groupId>org.opendaylight.bgpcep</groupId>
9         <artifactId>protocol-parent</artifactId>
10         <description>OpenDaylight BGP+PCEP protocol parent</description>
11         <version>0.3.0-SNAPSHOT</version>
12         <packaging>pom</packaging>
13
14         <properties>
15                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16                 <commonscodec.version>1.7</commonscodec.version>
17                 <dependency.version>2.8</dependency.version>
18                 <guava.version>14.0.1</guava.version>
19                 <java.version.source>1.7</java.version.source>
20                 <java.version.target>1.7</java.version.target>
21                 <junit.version>4.10</junit.version>
22                 <logback.version>1.0.7</logback.version>
23                 <maven.bundle.version>2.4.0</maven.bundle.version>
24                 <maven.compiler.version>3.1</maven.compiler.version>
25                 <maven.shade.version>2.1</maven.shade.version>
26                 <mockito.version>1.9.5</mockito.version>
27                 <netty.version>4.0.9.Final</netty.version>
28                 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
29                 <slf4j.version>1.7.2</slf4j.version>
30                 <surefire.version>2.15</surefire.version>
31
32                 <yangtools.version>0.5.9-SNAPSHOT</yangtools.version>
33                 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
34                 <ietf.types.version>2010.09.24.1</ietf.types.version>
35         </properties>
36         <prerequisites>
37                 <maven>3.0.4</maven>
38         </prerequisites>
39
40         <modules>
41                 <module>bgp</module>
42                 <module>concepts</module>
43                 <module>framework</module>
44                 <module>integration-tests</module>
45                 <module>mockito-configuration</module>
46                 <module>pcep</module>
47                 <module>util</module>
48         </modules>
49
50         <dependencies>
51                 <dependency>
52                         <groupId>junit</groupId>
53                         <artifactId>junit</artifactId>
54                         <version>${junit.version}</version>
55                         <scope>test</scope>
56                 </dependency>
57                 <dependency>
58                         <groupId>ch.qos.logback</groupId>
59                         <artifactId>logback-classic</artifactId>
60                         <version>${logback.version}</version>
61                         <scope>test</scope>
62                 </dependency>
63         </dependencies>
64         
65         <reporting>
66                 <plugins>
67                         <plugin>
68                                 <groupId>org.apache.maven.plugins</groupId>
69                                 <artifactId>maven-javadoc-plugin</artifactId>
70                                 <version>2.9.1</version>
71                         </plugin>
72                 </plugins>
73         </reporting>
74
75         <distributionManagement>
76                 <!-- OpenDayLight Released artifact -->
77                 <repository>
78                         <id>opendaylight-release</id>
79                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
80                 </repository>
81                 <!-- OpenDayLight Snapshot artifact -->
82                 <snapshotRepository>
83                         <id>opendaylight-snapshot</id>
84                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
85                 </snapshotRepository>
86                 <site>
87                         <id>${project.artifactId}-site</id>
88                         <url>./</url>
89                 </site>
90         </distributionManagement>
91
92         <build>
93                 <plugins>
94                         <plugin>
95                                 <groupId>org.apache.maven.plugins</groupId>
96                                 <artifactId>maven-compiler-plugin</artifactId>
97                                 <version>${maven.compiler.version}</version>
98                                 <configuration>
99                                         <source>${java.version.source}</source>
100                                         <target>${java.version.target}</target>
101                                         <testSource>${java.version.source}</testSource>
102                                         <testTarget>${java.version.target}</testTarget>
103                                 </configuration>
104                         </plugin>
105                         <plugin>
106                                 <groupId>org.apache.maven.plugins</groupId>
107                                 <artifactId>maven-surefire-plugin</artifactId>
108                                 <version>${surefire.version}</version>
109                                 <configuration>
110                                         <redirectTestOutputToFile>true</redirectTestOutputToFile>
111                                         <!--parallel>classes</parallel>
112                                         <forkCount>1C</forkCount>
113                                         <reuseForks>false</reuseForks>
114                                         <perCoreThreadCount>true</perCoreThreadCount-->
115                                         <threadCount>1</threadCount>
116                                 </configuration>
117                         </plugin>
118
119                         <plugin>
120                                 <groupId>org.apache.maven.plugins</groupId>
121                                 <artifactId>maven-dependency-plugin</artifactId>
122                                 <version>${dependency.version}</version>
123                                 <configuration>
124                                         <failOnWarning>true</failOnWarning>
125                                         <ignoreNonCompile>true</ignoreNonCompile>
126                                 </configuration>
127                         </plugin>
128             <plugin>
129                 <!-- Let eclipse know about the generated sources -->
130                 <groupId>org.codehaus.mojo</groupId>
131                 <artifactId>build-helper-maven-plugin</artifactId>
132                                 <version>1.8</version>
133                 <executions>
134                     <execution>
135                         <phase>generate-sources</phase>
136                         <goals>
137                             <goal>add-source</goal>
138                         </goals>
139                         <configuration>
140                             <sources>
141                                 <source>target/generated-sources/sal</source>
142                             </sources>
143                         </configuration>
144                     </execution>
145                 </executions>
146             </plugin>
147                 </plugins>
148                 <pluginManagement>
149                         <plugins>
150                                 <!--This plugin's configuration is used to store Eclipse m2e settings
151                                         only. It has no influence on the Maven build itself. -->
152                                 <plugin>
153                                         <groupId>org.eclipse.m2e</groupId>
154                                         <artifactId>lifecycle-mapping</artifactId>
155                                         <version>1.0.0</version>
156                                         <configuration>
157                                                 <lifecycleMappingMetadata>
158                                                         <pluginExecutions>
159                                                                 <pluginExecution>
160                                                                         <pluginExecutionFilter>
161                                                                                 <groupId>pl.project13.maven</groupId>
162                                                                                 <artifactId>git-commit-id-plugin</artifactId>
163                                                                                 <versionRange>[2.1.4,)</versionRange>
164                                                                                 <goals>
165                                                                                         <goal>revision</goal>
166                                                                                 </goals>
167                                                                         </pluginExecutionFilter>
168                                                                         <action>
169                                                                                 <ignore></ignore>
170                                                                         </action>
171                                                                 </pluginExecution>
172                                 <pluginExecution>
173                                     <pluginExecutionFilter>
174                                         <groupId>org.opendaylight.yangtools</groupId>
175                                         <artifactId>yang-maven-plugin</artifactId>
176                                         <versionRange>[0.5,)</versionRange>
177                                         <goals>
178                                             <goal>generate-sources</goal>
179                                         </goals>
180                                     </pluginExecutionFilter>
181                                     <action>
182                                         <ignore></ignore>
183                                     </action>
184                                 </pluginExecution>
185                                                         </pluginExecutions>
186                                                 </lifecycleMappingMetadata>
187                                         </configuration>
188                                 </plugin>
189                         </plugins>
190                 </pluginManagement>
191         </build>
192
193         <repositories>
194                 <repository>
195                         <id>opendaylight-release</id>
196                         <name>opendaylight-release</name>
197                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
198                 </repository>
199                 <repository>
200                         <id>opendaylight-snapshot</id>
201                         <name>opendaylight-snapshot</name>
202                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
203                 </repository>
204         </repositories>
205
206         <pluginRepositories>
207                 <pluginRepository>
208                         <id>opendaylight-release</id>
209                         <name>opendaylight-release</name>
210                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
211                 </pluginRepository>
212                 <pluginRepository>
213                         <id>opendaylight-snapshot</id>
214                         <name>opendaylight-snapshot</name>
215                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
216                 </pluginRepository>
217         </pluginRepositories>
218 </project>