de602b9bdfc53d4a6e2714b013d140cce927dd7a
[transportpce.git] / tests / honeynode / 1.2.1 / honeynode-plugin-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2015 Cisco and/or its affiliates. Licensed under the Apache
3     License, Version 2.0 (the "License"); you may not use this file except in
4     compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0
5     Unless required by applicable law or agreed to in writing, software distributed
6     under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
7     OR CONDITIONS OF ANY KIND, either express or implied. See the License for
8     the specific language governing permissions and limitations under the License. -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <parent>
13         <groupId>io.fd.honeycomb.common</groupId>
14         <artifactId>impl-parent</artifactId>
15         <version>1.19.04</version>
16     </parent>
17     <modelVersion>4.0.0</modelVersion>
18     <groupId>io.fd.honeycomb.transportpce</groupId>
19     <artifactId>honeynode-plugin-impl</artifactId>
20     <name>honeynode-plugin-impl</name>
21     <packaging>bundle</packaging>
22     <properties>
23         <honeycomb.infra.version>1.19.04</honeycomb.infra.version>
24         <maven.javadoc.skip>true</maven.javadoc.skip>
25         <guice.version>4.2.2</guice.version>
26         <guice.config.version>1.4.1</guice.config.version>
27     </properties>
28     <dependencies>
29         <!-- Transportpce -->
30         <dependency>
31             <groupId>${project.groupId}</groupId>
32             <artifactId>honeynode-common</artifactId>
33             <version>${project.version}</version>
34         </dependency>
35         <dependency>
36             <groupId>${project.groupId}</groupId>
37             <artifactId>honeynode-plugin-api</artifactId>
38             <version>${project.version}</version>
39         </dependency>
40         <dependency>
41             <groupId>${project.groupId}</groupId>
42             <artifactId>minimal-distribution-core</artifactId>
43             <version>${project.version}</version>
44         </dependency>
45         <!-- Honeycomb infrastructure -->
46         <dependency>
47             <groupId>io.fd.honeycomb</groupId>
48             <artifactId>translate-api</artifactId>
49             <version>${honeycomb.infra.version}</version>
50         </dependency>
51         <dependency>
52             <groupId>io.fd.honeycomb</groupId>
53             <artifactId>translate-spi</artifactId>
54             <version>${honeycomb.infra.version}</version>
55         </dependency>
56         <dependency>
57             <groupId>io.fd.honeycomb</groupId>
58             <artifactId>cfg-init</artifactId>
59             <version>${honeycomb.infra.version}</version>
60         </dependency>
61         <!-- DI -->
62         <dependency>
63             <groupId>com.google.inject</groupId>
64             <artifactId>guice</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>net.jmob</groupId>
68             <artifactId>guice.conf</artifactId>
69         </dependency>
70         <dependency>
71             <groupId>com.google.inject.extensions</groupId>
72             <artifactId>guice-multibindings</artifactId>
73         </dependency>
74         <!-- Testing Dependencies -->
75         <dependency>
76             <groupId>junit</groupId>
77             <artifactId>junit</artifactId>
78         </dependency>
79     </dependencies>
80     <build>
81         <plugins>
82             <plugin>
83                 <groupId>org.apache.maven.plugins</groupId>
84                 <artifactId>maven-surefire-plugin</artifactId>
85                 <configuration>
86                     <forkCount>0</forkCount>
87                     <argLine>-Xmx4096m -XX:MaxPermSize=1024m</argLine>
88                 </configuration>
89             </plugin>
90         </plugins>
91         <pluginManagement>
92             <plugins>
93                 <plugin>
94                     <artifactId>maven-clean-plugin</artifactId>
95                     <version>3.1.0</version>
96                     <configuration>
97                         <filesets>
98                             <fileset>
99                                 <directory>src/main/resources/honeycomb-minimal-resources/config/yang</directory>
100                                 <includes>
101                                     <include>**</include>
102                                 </includes>
103                             </fileset>
104                         </filesets>
105                     </configuration>
106                 </plugin>
107                 <plugin>
108                     <artifactId>maven-resources-plugin</artifactId>
109                     <version>3.1.0</version>
110                     <executions>
111                         <execution>
112                             <id>copy-resources</id>
113                             <!-- here the phase you need -->
114                             <phase>validate</phase>
115                             <goals>
116                                 <goal>copy-resources</goal>
117                             </goals>
118                             <configuration>
119                                 <outputDirectory>${basedir}/src/main/resources/honeycomb-minimal-resources/config/yang</outputDirectory>
120                                 <resources>
121                                     <resource>
122                                         <directory>../honeynode-plugin-api/src/main/yang</directory>
123                                     </resource>
124                                 </resources>
125                             </configuration>
126                         </execution>
127                     </executions>
128                 </plugin>
129                 <!--This plugin's configuration is used to store Eclipse m2e settings
130                     only. It has no influence on the Maven build itself. -->
131                 <plugin>
132                     <groupId>org.eclipse.m2e</groupId>
133                     <artifactId>lifecycle-mapping</artifactId>
134                     <version>1.0.0</version>
135                     <configuration>
136                         <lifecycleMappingMetadata>
137                             <pluginExecutions>
138                                 <pluginExecution>
139                                     <pluginExecutionFilter>
140                                         <groupId>
141                                             org.apache.maven.plugins
142                                         </groupId>
143                                         <artifactId>
144                                             maven-checkstyle-plugin
145                                         </artifactId>
146                                         <versionRange>
147                                             [3.0.0,)
148                                         </versionRange>
149                                         <goals>
150                                             <goal>check</goal>
151                                         </goals>
152                                     </pluginExecutionFilter>
153                                     <action>
154                                         <ignore></ignore>
155                                     </action>
156                                 </pluginExecution>
157                                 <pluginExecution>
158                                     <pluginExecutionFilter>
159                                         <groupId>
160                                             org.codehaus.gmavenplus
161                                         </groupId>
162                                         <artifactId>
163                                             gmavenplus-plugin
164                                         </artifactId>
165                                         <versionRange>
166                                             [1.6.2,)
167                                         </versionRange>
168                                         <goals>
169                                             <goal>execute</goal>
170                                         </goals>
171                                     </pluginExecutionFilter>
172                                     <action>
173                                         <ignore></ignore>
174                                     </action>
175                                 </pluginExecution>
176                                 <pluginExecution>
177                                     <pluginExecutionFilter>
178                                         <groupId>
179                                             org.apache.maven.plugins
180                                         </groupId>
181                                         <artifactId>
182                                             maven-dependency-plugin
183                                         </artifactId>
184                                         <versionRange>
185                                             [2.10,)
186                                         </versionRange>
187                                         <goals>
188                                             <goal>
189                                                 copy-dependencies
190                                             </goal>
191                                         </goals>
192                                     </pluginExecutionFilter>
193                                     <action>
194                                         <ignore></ignore>
195                                     </action>
196                                 </pluginExecution>
197                             </pluginExecutions>
198                         </lifecycleMappingMetadata>
199                     </configuration>
200                 </plugin>
201             </plugins>
202         </pluginManagement>
203     </build>
204 </project>