1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <artifactId>odlparent</artifactId>
6 <groupId>org.opendaylight.odlparent</groupId>
7 <version>1.8.2-SNAPSHOT</version>
8 <relativePath>../odlparent/</relativePath>
10 <artifactId>karaf-plugin</artifactId>
11 <packaging>maven-plugin</packaging>
13 <name>ODL :: odlparent :: ${project.artifactId}</name>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21 <groupId>org.apache.maven</groupId>
22 <artifactId>maven-plugin-api</artifactId>
23 <version>3.3.3</version>
26 <groupId>org.apache.maven</groupId>
27 <artifactId>maven-core</artifactId>
28 <version>3.3.3</version>
31 <groupId>org.apache.maven</groupId>
32 <artifactId>maven-model</artifactId>
33 <version>3.3.3</version>
36 <groupId>org.ops4j.pax.url</groupId>
37 <artifactId>pax-url-aether</artifactId>
38 <scope>compile</scope>
41 <groupId>org.apache.karaf.features</groupId>
42 <artifactId>org.apache.karaf.features.core</artifactId>
43 <version>${karaf.version}</version>
44 <scope>compile</scope>
47 <groupId>org.eclipse.aether</groupId>
48 <artifactId>aether-api</artifactId>
49 <version>1.0.2.v20150114</version>
52 <groupId>org.opendaylight.odlparent</groupId>
53 <artifactId>features-test</artifactId>
54 <version>${project.version}</version>
57 <groupId>org.osgi</groupId>
58 <artifactId>org.osgi.core</artifactId>
59 <scope>runtime</scope>
66 <artifactId>maven-checkstyle-plugin</artifactId>
69 <id>check-license</id>
73 <phase>process-sources</phase>
75 <configLocation>check-license.xml</configLocation>
76 <includeResources>false</includeResources>
77 <includeTestResources>false</includeTestResources>
78 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
80 <!-- Skip Apache Licensed files -->
81 org/opendaylight/odlparent/PopulateLocalRepoMojo.java
83 <failsOnError>false</failsOnError>
84 <consoleOutput>true</consoleOutput>
90 <artifactId>maven-plugin-plugin</artifactId>
92 <goalPrefix>karaf</goalPrefix>
93 <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
97 <id>mojo-descriptor</id>
99 <goal>descriptor</goal>
105 <goal>helpmojo</goal>
119 <artifactId>maven-invoker-plugin</artifactId>
120 <version>2.0.0</version>
123 <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
125 <pomInclude>*/pom.xml</pomInclude>
127 <postBuildHookScript>verify</postBuildHookScript>
128 <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
129 <settingsFile>src/it/settings.xml</settingsFile>
132 <goal>test-compile</goal>
137 <id>integration-test</id>
140 <goal>integration-test</goal>
153 Maven Site Configuration
155 The following configuration is necessary for maven-site-plugin to
156 correctly identify the correct deployment path for OpenDaylight Maven
159 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
161 <distributionManagement>
163 <id>opendaylight-site</id>
164 <url>${nexus.site.url}/${project.artifactId}/</url>
166 </distributionManagement>