Merge "Improved Eclipse IDE experience: m2e's maven-dependency-plugin "
[odlparent.git] / features-test / 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 <project xmlns="http://maven.apache.org/POM/4.0.0" 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
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>bundle-parent</artifactId>
16         <version>1.7.0-SNAPSHOT</version>
17         <relativePath>../bundle-parent</relativePath>
18     </parent>
19
20     <modelVersion>4.0.0</modelVersion>
21     <artifactId>features-test</artifactId>
22     <packaging>bundle</packaging>
23     <name>ODL :: odlparent :: ${project.artifactId}</name>
24
25     <dependencies>
26         <!-- Dependencies for pax exam karaf container -->
27         <dependency>
28             <groupId>org.ops4j.pax.exam</groupId>
29             <artifactId>pax-exam-container-karaf</artifactId>
30             <scope>compile</scope>
31         </dependency>
32         <dependency>
33             <groupId>org.ops4j.pax.exam</groupId>
34             <artifactId>pax-exam-junit4</artifactId>
35             <scope>compile</scope>
36         </dependency>
37         <dependency>
38             <groupId>org.ops4j.pax.exam</groupId>
39             <artifactId>pax-exam</artifactId>
40             <scope>compile</scope>
41         </dependency>
42         <dependency>
43             <groupId>org.ops4j.pax.url</groupId>
44             <artifactId>pax-url-aether</artifactId>
45             <scope>compile</scope>
46         </dependency>
47         <dependency>
48             <groupId>org.apache.karaf.features</groupId>
49             <artifactId>org.apache.karaf.features.core</artifactId>
50             <version>${karaf.version}</version>
51             <scope>compile</scope>
52         </dependency>
53         <dependency>
54             <groupId>junit</groupId>
55             <artifactId>junit</artifactId>
56             <scope>compile</scope>
57         </dependency>
58         <dependency>
59             <groupId>org.apache.karaf.deployer</groupId>
60             <artifactId>org.apache.karaf.deployer.blueprint</artifactId>
61             <version>${karaf.version}</version>
62         </dependency>
63         <dependency>
64             <groupId>org.apache.karaf.deployer</groupId>
65             <artifactId>org.apache.karaf.deployer.features</artifactId>
66             <version>${karaf.version}</version>
67         </dependency>
68         <dependency>
69             <groupId>org.apache.karaf.deployer</groupId>
70             <artifactId>org.apache.karaf.deployer.spring</artifactId>
71             <version>${karaf.version}</version>
72         </dependency>
73         <dependency>
74             <groupId>org.ops4j.pax.url</groupId>
75             <artifactId>pax-url-wrap</artifactId>
76         </dependency>
77         <dependency>
78             <groupId>org.slf4j</groupId>
79             <artifactId>slf4j-api</artifactId>
80         </dependency>
81     </dependencies>
82
83     <build>
84         <resources>
85             <resource>
86                 <directory>src/main/resources</directory>
87                 <filtering>true</filtering>
88             </resource>
89         </resources>
90         <plugins>
91             <plugin>
92                 <groupId>org.apache.felix</groupId>
93                 <artifactId>maven-bundle-plugin</artifactId>
94             </plugin>
95             <plugin>
96                 <artifactId>maven-checkstyle-plugin</artifactId>
97                 <executions>
98                     <execution>
99                         <id>check-license</id>
100                         <goals>
101                             <goal>check</goal>
102                         </goals>
103                         <phase>process-sources</phase>
104                         <configuration>
105                             <configLocation>check-license.xml</configLocation>
106                             <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
107                             <includeResources>false</includeResources>
108                             <includeTestResources>false</includeTestResources>
109                             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
110                             <excludes>
111                                 <!-- Skip Apache Licensed files -->
112                                 org/opendaylight/odlparent/featuretest/CustomBundleUrlStreamHandlerFactory.java
113                             </excludes>
114                             <failsOnError>false</failsOnError>
115                             <consoleOutput>true</consoleOutput>
116                         </configuration>
117                     </execution>
118                 </executions>
119             </plugin>
120         </plugins>
121     </build>
122
123   <!--
124     Maven Site Configuration
125
126     The following configuration is necessary for maven-site-plugin to
127     correctly identify the correct deployment path for OpenDaylight Maven
128     sites.
129   -->
130   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
131
132   <distributionManagement>
133     <site>
134       <id>opendaylight-site</id>
135       <url>${nexus.site.url}/${project.artifactId}/</url>
136     </site>
137   </distributionManagement>
138 </project>