BUG-45: Remove ProtocolMessage
[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                 <yangtools.version>0.5.8-SNAPSHOT</yangtools.version>
32         </properties>
33         <prerequisites>
34                 <maven>3.0.4</maven>
35         </prerequisites>
36
37         <modules>
38                 <module>bgp</module>
39                 <module>concepts</module>
40                 <module>framework</module>
41                 <module>mockito-configuration</module>
42                 <module>pcep</module>
43                 <module>util</module>
44         </modules>
45
46         <dependencies>
47                 <dependency>
48                         <groupId>junit</groupId>
49                         <artifactId>junit</artifactId>
50                         <version>${junit.version}</version>
51                         <scope>test</scope>
52                 </dependency>
53                 <dependency>
54                         <groupId>ch.qos.logback</groupId>
55                         <artifactId>logback-classic</artifactId>
56                         <version>${logback.version}</version>
57                         <scope>test</scope>
58                 </dependency>
59         </dependencies>
60         
61         <reporting>
62                 <plugins>
63                         <plugin>
64                                 <groupId>org.apache.maven.plugins</groupId>
65                                 <artifactId>maven-javadoc-plugin</artifactId>
66                                 <version>2.9.1</version>
67                         </plugin>
68                 </plugins>
69         </reporting>
70
71         <distributionManagement>
72                 <!-- OpenDayLight Released artifact -->
73                 <repository>
74                         <id>opendaylight-release</id>
75                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
76                 </repository>
77                 <!-- OpenDayLight Snapshot artifact -->
78                 <snapshotRepository>
79                         <id>opendaylight-snapshot</id>
80                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
81                 </snapshotRepository>
82                 <site>
83                         <id>${project.artifactId}-site</id>
84                         <url>./</url>
85                 </site>
86         </distributionManagement>
87
88         <build>
89                 <plugins>
90                         <plugin>
91                                 <groupId>org.apache.maven.plugins</groupId>
92                                 <artifactId>maven-compiler-plugin</artifactId>
93                                 <version>${maven.compiler.version}</version>
94                                 <configuration>
95                                         <source>${java.version.source}</source>
96                                         <target>${java.version.target}</target>
97                                         <testSource>${java.version.source}</testSource>
98                                         <testTarget>${java.version.target}</testTarget>
99                                 </configuration>
100                         </plugin>
101                         <plugin>
102                                 <groupId>org.apache.maven.plugins</groupId>
103                                 <artifactId>maven-surefire-plugin</artifactId>
104                                 <version>${surefire.version}</version>
105                                 <configuration>
106                                         <redirectTestOutputToFile>true</redirectTestOutputToFile>
107                                         <parallel>classes</parallel>
108                                         <forkCount>1C</forkCount>
109                                         <reuseForks>false</reuseForks>
110                                         <perCoreThreadCount>true</perCoreThreadCount>
111                                         <threadCount>2</threadCount>
112                                 </configuration>
113                         </plugin>
114
115                         <plugin>
116                                 <groupId>org.apache.maven.plugins</groupId>
117                                 <artifactId>maven-dependency-plugin</artifactId>
118                                 <version>${dependency.version}</version>
119                                 <configuration>
120                                         <failOnWarning>true</failOnWarning>
121                                         <ignoreNonCompile>true</ignoreNonCompile>
122                                 </configuration>
123                         </plugin>
124             <plugin>
125                 <!-- Let eclipse know about the generated sources -->
126                 <groupId>org.codehaus.mojo</groupId>
127                 <artifactId>build-helper-maven-plugin</artifactId>
128                                 <version>1.8</version>
129                 <executions>
130                     <execution>
131                         <phase>generate-sources</phase>
132                         <goals>
133                             <goal>add-source</goal>
134                         </goals>
135                         <configuration>
136                             <sources>
137                                 <source>target/generated-sources/sal</source>
138                             </sources>
139                         </configuration>
140                     </execution>
141                 </executions>
142             </plugin>
143                 </plugins>
144                 <pluginManagement>
145                         <plugins>
146                                 <!--This plugin's configuration is used to store Eclipse m2e settings
147                                         only. It has no influence on the Maven build itself. -->
148                                 <plugin>
149                                         <groupId>org.eclipse.m2e</groupId>
150                                         <artifactId>lifecycle-mapping</artifactId>
151                                         <version>1.0.0</version>
152                                         <configuration>
153                                                 <lifecycleMappingMetadata>
154                                                         <pluginExecutions>
155                                                                 <pluginExecution>
156                                                                         <pluginExecutionFilter>
157                                                                                 <groupId>pl.project13.maven</groupId>
158                                                                                 <artifactId>git-commit-id-plugin</artifactId>
159                                                                                 <versionRange>[2.1.4,)</versionRange>
160                                                                                 <goals>
161                                                                                         <goal>revision</goal>
162                                                                                 </goals>
163                                                                         </pluginExecutionFilter>
164                                                                         <action>
165                                                                                 <ignore></ignore>
166                                                                         </action>
167                                                                 </pluginExecution>
168                                 <pluginExecution>
169                                     <pluginExecutionFilter>
170                                         <groupId>org.opendaylight.yangtools</groupId>
171                                         <artifactId>yang-maven-plugin</artifactId>
172                                         <versionRange>[0.5,)</versionRange>
173                                         <goals>
174                                             <goal>generate-sources</goal>
175                                         </goals>
176                                     </pluginExecutionFilter>
177                                     <action>
178                                         <ignore></ignore>
179                                     </action>
180                                 </pluginExecution>
181                                                         </pluginExecutions>
182                                                 </lifecycleMappingMetadata>
183                                         </configuration>
184                                 </plugin>
185                         </plugins>
186                 </pluginManagement>
187         </build>
188
189         <repositories>
190                 <repository>
191                         <id>opendaylight-snapshot</id>
192                         <name>opendaylight-snapshot</name>
193                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
194                 </repository>
195         </repositories>
196
197         <pluginRepositories>
198                 <pluginRepository>
199                         <id>opendaylight-snapshot</id>
200                         <name>opendaylight-snapshot</name>
201                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
202                 </pluginRepository>
203         </pluginRepositories>
204 </project>