From 99242179d63224eda7bde4fa07576ad0aba1ac6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Sat, 16 Nov 2019 22:50:35 +0100 Subject: [PATCH] [MNG-6771] Plexus Classworlds is in boot/ instead of lib/ --- .../src/main/appended-resources/META-INF/LICENSE.vm | 10 ++++++++-- apache-maven/src/main/assembly/component.xml | 7 +++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/apache-maven/src/main/appended-resources/META-INF/LICENSE.vm b/apache-maven/src/main/appended-resources/META-INF/LICENSE.vm index 9bcb20d5dfdd..e1df162f2e1d 100644 --- a/apache-maven/src/main/appended-resources/META-INF/LICENSE.vm +++ b/apache-maven/src/main/appended-resources/META-INF/LICENSE.vm @@ -28,6 +28,7 @@ subject to the terms and conditions of the following licenses: #foreach ( $project in $projects ) #**##foreach ( $license in $project.licenses) #* *##set ( $groupId = $project.artifact.groupId ) +#* *##set ( $directory = 'lib' ) #* *##if ( !$apacheMavenGroupIds.contains( $groupId ) ) #* *### advertise about each non-Maven dependency #* *### @@ -54,12 +55,17 @@ subject to the terms and conditions of the following licenses: #* *##set ( $project.url = 'https://github.com/google/guice/' ) #* *##end #* *### +#* *### Classworlds is in boot directory, not in lib +#* *##if ( $project.artifact.artifactId == "plexus-classworlds" ) +#* *##set ( $directory = 'boot' ) +#* *##end +#* *### #* *### copy license file to lib/$artifactId.license -#* *##set ( $licFile = 'lib/' + $project.artifact.artifactId + '.license' ) +#* *##set ( $licFile = $directory + '/' + $project.artifact.artifactId + '.license' ) #* *##set ( $downloaded = $locator.getResourceAsFile( "licenses/${spdx}.txt", "licenses/${licFile}" ) ) #* *### add dependency info to output -- lib/${project.artifact.artifactId}-${project.artifact.version}.jar: $project.artifact.toString().replace( ':eclipse-plugin:', ':jar:' ) +- $directory/${project.artifact.artifactId}-${project.artifact.version}.jar: $project.artifact.toString().replace( ':eclipse-plugin:', ':jar:' ) $project.name #if ( $project.url )Project URL: ${project.url}#end diff --git a/apache-maven/src/main/assembly/component.xml b/apache-maven/src/main/assembly/component.xml index 56b3f0b65fe0..fab2c55c5d5c 100644 --- a/apache-maven/src/main/assembly/component.xml +++ b/apache-maven/src/main/assembly/component.xml @@ -55,6 +55,13 @@ under the License. ** + + target/licenses/boot + boot + + ** + + target/dependency/META-INF/native lib/jansi-native