Start 3.0.3-SNAPSHOT
[odlparent.git] / untested-single-feature-parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright © 2016, 2017 Red Hat, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8  -->
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     <modelVersion>4.0.0</modelVersion>
13
14     <!--
15          Internal parent for building and packaging single Karaf features *without tests*.
16
17          We need this in odlparent to build features which are used in other parents with tests.
18          Projects outside odlparent shouldn't use this, nor should modules in odlparent which can
19          build with single-feature-parent.
20     -->
21
22     <parent>
23         <groupId>org.opendaylight.odlparent</groupId>
24         <artifactId>odlparent</artifactId>
25         <version>3.0.3-SNAPSHOT</version>
26         <relativePath>../odlparent</relativePath>
27     </parent>
28
29     <artifactId>untested-single-feature-parent</artifactId>
30     <packaging>pom</packaging>
31     <name>ODL :: odlparent :: ${project.artifactId}</name>
32
33     <properties>
34         <checkDependencyChange>false</checkDependencyChange>
35         <failOnDependencyChange>false</failOnDependencyChange>
36     </properties>
37
38     <build>
39         <plugins>
40             <plugin>
41                 <!-- This generates the META-INF/maven/dependencies.properties file
42                      which is required by the versionAsInProject() used in SingleFeatureTest -->
43                 <groupId>org.apache.servicemix.tooling</groupId>
44                 <artifactId>depends-maven-plugin</artifactId>
45             </plugin>
46             <plugin>
47                 <groupId>org.apache.karaf.tooling</groupId>
48                 <artifactId>karaf-maven-plugin</artifactId>
49                 <version>${karaf.plugin.version}</version>
50                 <extensions>true</extensions>
51                 <configuration combine.children="append">
52                     <enableGeneration>true</enableGeneration>
53                     <simplifyBundleDependencies>true</simplifyBundleDependencies>
54                     <checkDependencyChange>${checkDependencyChange}</checkDependencyChange>
55                     <logDependencyChanges>true</logDependencyChanges>
56                     <failOnDependencyChange>${failOnDependencyChange}</failOnDependencyChange>
57                     <excludedArtifactIds>
58                         <!-- These artifacts are provided by our Karaf distribution -->
59                         <!-- Aries Blueprint -->
60                         <excludedArtifactId>org.apache.aries.blueprint.api</excludedArtifactId>
61                         <excludedArtifactId>org.apache.aries.blueprint.core</excludedArtifactId>
62                         <!-- Aries Quiesce -->
63                         <excludedArtifactId>org.apache.aries.quiesce.api</excludedArtifactId>
64                         <!-- jline -->
65                         <excludedArtifactId>jline</excludedArtifactId>
66                         <!-- SLF4J -->
67                         <excludedArtifactId>slf4j-api</excludedArtifactId>
68                         <excludedArtifactId>jcl-over-slf4j</excludedArtifactId>
69                         <!-- sshd -->
70                         <excludedArtifactId>sshd-core</excludedArtifactId>
71                         <!-- Karaf artifacts -->
72                         <!-- TODO Rework this once Karaf supports wildcards here -->
73                         <excludedArtifactId>org.apache.karaf.jaas.config</excludedArtifactId>
74                         <excludedArtifactId>org.apache.karaf.jaas.modules</excludedArtifactId>
75                         <excludedArtifactId>org.apache.karaf.shell.console</excludedArtifactId>
76                         <excludedArtifactId>org.apache.karaf.shell.core</excludedArtifactId>
77                         <!-- OSGi -->
78                         <excludedArtifactId>org.osgi.compendium</excludedArtifactId>
79                         <excludedArtifactId>org.osgi.core</excludedArtifactId>
80                         <excludedArtifactId>org.osgi.enterprise</excludedArtifactId>
81                         <!-- Bouncy Castle -->
82                         <excludedArtifactId>bcprov-jdk15on</excludedArtifactId>
83                         <excludedArtifactId>bcprov-ext-jdk15on</excludedArtifactId>
84                         <excludedArtifactId>bcpkix-jdk15on</excludedArtifactId>
85                     </excludedArtifactIds>
86                 </configuration>
87             </plugin>
88         </plugins>
89         <pluginManagement>
90           <plugins>
91             <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
92             <plugin>
93               <groupId>org.eclipse.m2e</groupId>
94               <artifactId>lifecycle-mapping</artifactId>
95               <version>1.0.0</version>
96               <configuration>
97                 <lifecycleMappingMetadata>
98                   <pluginExecutions>
99                     <pluginExecution>
100                       <pluginExecutionFilter>
101                         <groupId>org.apache.karaf.tooling</groupId>
102                         <artifactId>karaf-maven-plugin</artifactId>
103                         <versionRange>[4.1.3,)</versionRange>
104                         <goals>
105                           <goal>verify</goal>
106                         </goals>
107                       </pluginExecutionFilter>
108                       <action>
109                         <ignore></ignore>
110                       </action>
111                     </pluginExecution>
112                   </pluginExecutions>
113                 </lifecycleMappingMetadata>
114               </configuration>
115             </plugin>
116           </plugins>
117         </pluginManagement>
118     </build>
119
120     <!--
121         Maven Site Configuration
122
123         The following configuration is necessary for maven-site-plugin to
124         correctly identify the correct deployment path for OpenDaylight Maven
125         sites.
126     -->
127     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
128
129     <distributionManagement>
130         <site>
131             <id>opendaylight-site</id>
132             <url>${nexus.site.url}/${project.artifactId}/</url>
133         </site>
134     </distributionManagement>
135
136 </project>