Bug 9228: Package bcprov-ext-jdk15on jar
[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.0-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                     <simplifyBundleDependencies>true</simplifyBundleDependencies>
53                     <checkDependencyChange>${checkDependencyChange}</checkDependencyChange>
54                     <logDependencyChanges>true</logDependencyChanges>
55                     <failOnDependencyChange>${failOnDependencyChange}</failOnDependencyChange>
56                     <excludedArtifactIds>
57                         <!-- These artifacts are provided by our Karaf distribution -->
58                         <!-- Aries Blueprint -->
59                         <excludedArtifactId>org.apache.aries.blueprint.api</excludedArtifactId>
60                         <excludedArtifactId>org.apache.aries.blueprint.core</excludedArtifactId>
61                         <!-- Aries Quiesce -->
62                         <excludedArtifactId>org.apache.aries.quiesce.api</excludedArtifactId>
63                         <!-- jline -->
64                         <excludedArtifactId>jline</excludedArtifactId>
65                         <!-- SLF4J -->
66                         <excludedArtifactId>slf4j-api</excludedArtifactId>
67                         <excludedArtifactId>jcl-over-slf4j</excludedArtifactId>
68                         <!-- sshd -->
69                         <excludedArtifactId>sshd-core</excludedArtifactId>
70                         <!-- Karaf artifacts -->
71                         <!-- TODO Rework this once Karaf supports wildcards here -->
72                         <excludedArtifactId>org.apache.karaf.jaas.config</excludedArtifactId>
73                         <excludedArtifactId>org.apache.karaf.jaas.modules</excludedArtifactId>
74                         <excludedArtifactId>org.apache.karaf.shell.console</excludedArtifactId>
75                         <excludedArtifactId>org.apache.karaf.shell.core</excludedArtifactId>
76                         <!-- OSGi -->
77                         <excludedArtifactId>org.osgi.compendium</excludedArtifactId>
78                         <excludedArtifactId>org.osgi.core</excludedArtifactId>
79                         <excludedArtifactId>org.osgi.enterprise</excludedArtifactId>
80                         <!-- Bouncy Castle -->
81                         <excludedArtifactId>bcprov-jdk15on</excludedArtifactId>
82                         <excludedArtifactId>bcprov-ext-jdk15on</excludedArtifactId>
83                         <excludedArtifactId>bcpkix-jdk15on</excludedArtifactId>
84                     </excludedArtifactIds>
85                 </configuration>
86             </plugin>
87         </plugins>
88     </build>
89
90     <!--
91         Maven Site Configuration
92
93         The following configuration is necessary for maven-site-plugin to
94         correctly identify the correct deployment path for OpenDaylight Maven
95         sites.
96     -->
97     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
98
99     <distributionManagement>
100         <site>
101             <id>opendaylight-site</id>
102             <url>${nexus.site.url}/${project.artifactId}/</url>
103         </site>
104     </distributionManagement>
105
106 </project>