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