9a4cd6ed9e6882c1d46a47eadd5befa3ae7176ce
[bgpcep.git] / pcep / pcc-mock / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10
11 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13   <modelVersion>4.0.0</modelVersion>
14   <parent>
15     <groupId>org.opendaylight.bgpcep</groupId>
16     <artifactId>pcep-parent</artifactId>
17     <version>0.6.0-SNAPSHOT</version>
18   </parent>
19   <artifactId>pcep-pcc-mock</artifactId>
20
21   <dependencies>
22     <dependency>
23       <groupId>${project.groupId}</groupId>
24       <artifactId>util</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>${project.groupId}</groupId>
28       <artifactId>pcep-api</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>${project.groupId}</groupId>
32       <artifactId>pcep-spi</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>${project.groupId}</groupId>
36       <artifactId>pcep-impl</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>${project.groupId}</groupId>
40       <artifactId>rsvp-api</artifactId>
41     </dependency>
42
43     <dependency>
44       <groupId>${project.groupId}</groupId>
45       <artifactId>pcep-ietf-stateful07</artifactId>
46     </dependency>
47
48     <dependency>
49       <groupId>io.netty</groupId>
50       <artifactId>netty-common</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>io.netty</groupId>
54       <artifactId>netty-buffer</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>io.netty</groupId>
58       <artifactId>netty-transport</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>com.google.guava</groupId>
62       <artifactId>guava</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>org.slf4j</groupId>
66       <artifactId>slf4j-api</artifactId>
67     </dependency>
68     <dependency>
69       <groupId>ch.qos.logback</groupId>
70       <artifactId>logback-classic</artifactId>
71     </dependency>
72     <dependency>
73        <groupId>org.opendaylight.mdsal.model</groupId>
74        <artifactId>ietf-inet-types</artifactId>
75     </dependency>
76     <dependency>
77         <groupId>org.opendaylight.tcpmd5</groupId>
78         <artifactId>tcpmd5-jni</artifactId>
79     </dependency>
80     <dependency>
81         <groupId>org.opendaylight.tcpmd5</groupId>
82         <artifactId>tcpmd5-netty</artifactId>
83     </dependency>
84     <dependency>
85         <groupId>org.opendaylight.tcpmd5</groupId>
86         <artifactId>tcpmd5-api</artifactId>
87     </dependency>
88     <dependency>
89         <groupId>com.google.code.findbugs</groupId>
90         <artifactId>jsr305</artifactId>
91     </dependency>
92
93     <!-- Testing dependencies -->
94     <dependency>
95       <groupId>junit</groupId>
96       <artifactId>junit</artifactId>
97     </dependency>
98     <dependency>
99       <groupId>org.mockito</groupId>
100       <artifactId>mockito-core</artifactId>
101     </dependency>
102     <dependency>
103       <groupId>org.opendaylight.controller</groupId>
104       <artifactId>config-manager</artifactId>
105       <type>test-jar</type>
106     </dependency>
107     <dependency>
108       <groupId>org.opendaylight.controller</groupId>
109       <artifactId>config-manager</artifactId>
110       <scope>test</scope>
111     </dependency>
112   </dependencies>
113
114   <build>
115     <plugins>
116       <plugin>
117         <groupId>org.apache.maven.plugins</groupId>
118         <artifactId>maven-jar-plugin</artifactId>
119         <configuration>
120           <archive>
121             <manifest>
122               <mainClass>org.opendaylight.protocol.pcep.pcc.mock.Main</mainClass>
123             </manifest>
124           </archive>
125         </configuration>
126       </plugin>
127       <plugin>
128         <groupId>org.apache.maven.plugins</groupId>
129         <artifactId>maven-shade-plugin</artifactId>
130         <configuration>
131         </configuration>
132         <executions>
133           <execution>
134             <phase>package</phase>
135             <goals>
136               <goal>shade</goal>
137             </goals>
138             <configuration>
139               <transformers>
140                 <transformer
141                   implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
142                   <mainClass>org.opendaylight.protocol.pcep.pcc.mock.Main</mainClass>
143                 </transformer>
144               </transformers>
145               <shadedArtifactAttached>true</shadedArtifactAttached>
146               <shadedClassifierName>executable</shadedClassifierName>
147             </configuration>
148           </execution>
149         </executions>
150       </plugin>
151     </plugins>
152   </build>
153
154   <!--
155       Maven Site Configuration
156
157       The following configuration is necessary for maven-site-plugin to
158       correctly identify the correct deployment path for OpenDaylight Maven
159       sites.
160   -->
161   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
162
163   <distributionManagement>
164     <site>
165       <id>opendaylight-site</id>
166       <url>${nexus.site.url}/${project.artifactId}/</url>
167     </site>
168   </distributionManagement>
169 </project>