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.6.0-SNAPSHOT</version>
8 <relativePath>../odlparent/</relativePath>
10 <artifactId>karaf-plugin</artifactId>
11 <packaging>maven-plugin</packaging>
13 <name>karaf-plugin Maven Plugin</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.ops4j.pax.url</groupId>
27 <artifactId>pax-url-wrap</artifactId>
28 <version>${url.version}</version>
31 <groupId>org.ops4j.pax.url</groupId>
32 <artifactId>pax-url-aether</artifactId>
33 <scope>compile</scope>
36 <groupId>org.apache.karaf.features</groupId>
37 <artifactId>org.apache.karaf.features.core</artifactId>
38 <version>${karaf.version}</version>
39 <scope>compile</scope>
42 <groupId>org.apache.karaf.tooling</groupId>
43 <artifactId>karaf-maven-plugin</artifactId>
44 <version>${karaf.version}</version>
47 <groupId>com.google.guava</groupId>
48 <artifactId>guava</artifactId>
51 <groupId>junit</groupId>
52 <artifactId>junit</artifactId>
60 <artifactId>maven-checkstyle-plugin</artifactId>
61 <version>${checkstyle.version}</version>
64 <id>check-license</id>
68 <phase>process-sources</phase>
70 <configLocation>check-license.xml</configLocation>
71 <includeResources>false</includeResources>
72 <includeTestResources>false</includeTestResources>
73 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
75 <!-- Skip Apache Licensed files -->
76 org/opendaylight/odlparent/PopulateLocalRepoMojo.java
78 <failsOnError>false</failsOnError>
79 <consoleOutput>true</consoleOutput>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-plugin-plugin</artifactId>
87 <version>${maven.plugin.version}</version>
89 <goalPrefix>karaf-plugin</goalPrefix>
90 <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
94 <id>mojo-descriptor</id>
96 <goal>descriptor</goal>
102 <goal>helpmojo</goal>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-invoker-plugin</artifactId>
120 <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
122 <pomInclude>*/pom.xml</pomInclude>
124 <postBuildHookScript>verify</postBuildHookScript>
125 <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
126 <settingsFile>src/it/settings.xml</settingsFile>
129 <goal>test-compile</goal>
134 <id>integration-test</id>
137 <goal>integration-test</goal>
150 Maven Site Configuration
152 The following configuration is necessary for maven-site-plugin to
153 correctly identify the correct deployment path for OpenDaylight Maven
156 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
158 <distributionManagement>
160 <id>opendaylight-site</id>
161 <url>${nexus.site.url}/${project.artifactId}/</url>
163 </distributionManagement>