diff options
author | Dan Timoney <dtimoney@att.com> | 2021-12-16 16:25:49 -0500 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2021-12-16 21:26:34 +0000 |
commit | 3006f3a36ff67a0dfb4e50577be48883c80eeab6 (patch) | |
tree | 2b1a2a9695598de3b00ca63b8cdd0ee7c1f824da /opendaylight/silicon/silicon-alpine/pom.xml | |
parent | b0ef9ef7ad29dfa57b0ab65b62cbbb69e14c535e (diff) |
Patch OpenDaylight to upgrade to latest pax-logging package
Patch OpenDaylight to replace the shipped version of pax-logging -
which includes log4j-core v2.14.1 - with the latest version, which
includes log4j-core v2.16.0
Issue-ID: CCSDK-3556
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I6728d686f74c9d4b277e388bac62cfa56c23392e
Diffstat (limited to 'opendaylight/silicon/silicon-alpine/pom.xml')
-rw-r--r-- | opendaylight/silicon/silicon-alpine/pom.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/opendaylight/silicon/silicon-alpine/pom.xml b/opendaylight/silicon/silicon-alpine/pom.xml index 7b85371e..029bc829 100644 --- a/opendaylight/silicon/silicon-alpine/pom.xml +++ b/opendaylight/silicon/silicon-alpine/pom.xml @@ -22,6 +22,9 @@ <odl.karaf.artifactId>onap-karaf</odl.karaf.artifactId> <odl.shiro.version>0.13.5</odl.shiro.version> <odl.ops4j.version>7.3.16</odl.ops4j.version> + <odl.pax.logging.version>2.0.9</odl.pax.logging.version> + <patch.pax.logging.version>2.0.12</patch.pax.logging.version> + <odl.karaf.framework.version>4.3.2</odl.karaf.framework.version> <odl.netconf.version>1.13.4</odl.netconf.version> </properties> @@ -112,6 +115,22 @@ <destFileName>sal-netconf-connector-${odl.netconf.version}.jar</destFileName> <excludes>*</excludes> </artifactItem> + <artifactItem> + <groupId>org.ops4j.pax.logging</groupId> + <artifactId>pax-logging-log4j2</artifactId> + <version>${patch.pax.logging.version}</version> + <outputDirectory>${project.build.directory}/docker-stage/system/org/ops4j/pax/logging/pax-logging-log4j2/${patch.pax.logging.version}</outputDirectory> + <destFileName>pax-logging-log4j2-${patch.pax.logging.version}.jar</destFileName> + <excludes>*</excludes> + </artifactItem> + <artifactItem> + <groupId>org.ops4j.pax.logging</groupId> + <artifactId>pax-logging-api</artifactId> + <version>${patch.pax.logging.version}</version> + <outputDirectory>${project.build.directory}/docker-stage/system/org/ops4j/pax/logging/pax-logging-api/${patch.pax.logging.version}</outputDirectory> + <destFileName>pax-logging-api-${patch.pax.logging.version}.jar</destFileName> + <excludes>*</excludes> + </artifactItem> </artifactItems> <overWriteReleases>false</overWriteReleases> <overWriteSnapshots>true</overWriteSnapshots> @@ -151,6 +170,26 @@ </resources> </configuration> </execution> + <execution> + <id>copy-karaf-framework-features</id> + <goals> + <goal>copy-resources</goal> + </goals><!-- here the phase you need --> + <phase>validate</phase> + <configuration> + <outputDirectory>${basedir}/target/docker-stage</outputDirectory> + <resources> + <resource> + <directory>src/main/resources</directory> + <includes> + <include>framework-${odl.karaf.framework.version}-features.xml</include> + <include>startup.properties</include> + </includes> + <filtering>false</filtering> + </resource> + </resources> + </configuration> + </execution> </executions> </plugin> |