Skip to content

Commit a6da706

Browse files
adoroszlaiszetszwo
authored andcommitted
RATIS-2215. Bump maven-remote-resources-plugin to 3.3.0 (#1208)
1 parent 17ca6f4 commit a6da706

File tree

3 files changed

+34
-28
lines changed

3 files changed

+34
-28
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
<maven-checkstyle-plugin.version>3.3.0</maven-checkstyle-plugin.version>
173173
<maven-clover2-plugin.version>4.0.6</maven-clover2-plugin.version>
174174
<maven-pdf-plugin.version>1.6.1</maven-pdf-plugin.version>
175+
<maven-remote-resources-plugin.version>3.3.0</maven-remote-resources-plugin.version>
175176
<maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
176177
<maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version>
177178
<wagon-ssh.version>3.5.3</wagon-ssh.version>
@@ -699,6 +700,11 @@
699700
<groupId>org.apache.maven.plugins</groupId>
700701
<artifactId>maven-antrun-plugin</artifactId>
701702
</plugin>
703+
<plugin>
704+
<groupId>org.apache.maven.plugins</groupId>
705+
<artifactId>maven-remote-resources-plugin</artifactId>
706+
<version>${maven-remote-resources-plugin.version}</version>
707+
</plugin>
702708
<plugin>
703709
<groupId>org.apache.maven.plugins</groupId>
704710
<artifactId>maven-site-plugin</artifactId>

ratis-resource-bundle/src/main/resources/META-INF/LICENSE.vm

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@ under the License.
221221
limitations under the License.
222222

223223
## Special cases, for e.g. ASL2.0 licensed works that bundle additional third party works
224-
#set($bundled-jquery = ${bundled-jquery.equalsIgnoreCase("true")})
225-
#set($bundled-logo = ${bundled-logo.equalsIgnoreCase("true")})
226-
#set($bundled-dependencies = ${bundled-dependencies.equalsIgnoreCase("true")})
227-
#if($bundled-jquery || $bundled-logo || $bundled-dependencies)
224+
#set($bundled_jquery = ${bundled_jquery.equalsIgnoreCase("true")})
225+
#set($bundled_logo = ${bundled_logo.equalsIgnoreCase("true")})
226+
#set($bundled_dependencies = ${bundled_dependencies.equalsIgnoreCase("true")})
227+
#if($bundled_jquery || $bundled_logo || $bundled_dependencies)
228228
====
229229
${project.name} contained works
230230

@@ -884,12 +884,12 @@ facade for Java, which can be obtained at:
884884
* HOMEPAGE:
885885
* http://www.slf4j.org/
886886
#end
887-
## Supplemental from commons-math
887+
## Supplemental from commons_math
888888
#macro(commons_math_license)
889889
----
890890
APACHE COMMONS MATH DERIVATIVE WORKS:
891891

892-
The Apache commons-math library includes a number of subcomponents
892+
The Apache commons_math library includes a number of subcomponents
893893
whose implementation is derived from original sources written
894894
in C or Fortran. License terms of the original sources
895895
are reproduced below.
@@ -1178,7 +1178,7 @@ For the org.apache.hadoop.util.bloom.* classes:
11781178
## skip jquery
11791179
## skip backbone
11801180
## relocated jackson 2.4.0 is ASLv2 with no notice
1181-
## relocated commons-logging 1.1.1 is in NOTICE.vm
1181+
## relocated commons_logging 1.1.1 is in NOTICE.vm
11821182
#end
11831183
#macro (thrift_license)
11841184
## Thrift supplemental for libthrift is a no-op.
@@ -1295,15 +1295,15 @@ You can redistribute it and/or modify it under either the terms of the
12951295
PURPOSE.
12961296
#end
12971297
## modules with bundled works in source
1298-
#if(${bundled-jquery})
1298+
#if(${bundled_jquery})
12991299
#jquery_license()
13001300
#end
1301-
#if(${bundled-logo})
1301+
#if(${bundled_logo})
13021302
#orca_logo_license()
13031303
#end
13041304
## when true, we're in a module that makes a binary dist with
13051305
## bundled works.
1306-
#if(${bundled-dependencies})
1306+
#if(${bundled_dependencies})
13071307
====
13081308
## gather up CDDL licensed works
13091309
#set($cddl_1_0 = [])
@@ -1316,8 +1316,8 @@ You can redistribute it and/or modify it under either the terms of the
13161316
#set($cpl = [])
13171317
## gather up EPL 1.0 works
13181318
#set($epl = [])
1319-
## track commons-math
1320-
#set($commons-math = false)
1319+
## track commons_math
1320+
#set($commons_math = false)
13211321
## track if we need jruby additionals.
13221322
#set($jruby = false)
13231323
## track hadoops
@@ -1342,7 +1342,7 @@ g:${dep.groupId} AND a:${dep.artifactId} AND v:${dep.version}
13421342
Until ratis-resource-bundle/src/main/resources/supplemental-models.xml
13431343
is updated, the build should fail.
13441344
#end
1345-
#if(${debug-print-included-work-info.equalsIgnoreCase("true")})
1345+
#if(${debug_print_included_work_info.equalsIgnoreCase("true")})
13461346
=====
13471347
Check license for included work
13481348

@@ -1364,8 +1364,8 @@ ${dep.scm.url}
13641364
#end
13651365
#set($aggregated=false)
13661366
## Check for our set of known dependencies that require manual LICENSE additions.
1367-
#if($dep.artifactId.equals("commons-math3"))
1368-
#set($commons-math=true)
1367+
#if($dep.artifactId.equals("commons_math3"))
1368+
#set($commons_math=true)
13691369
#end
13701370
#if($dep.artifactId.equals("jruby-complete"))
13711371
#set($jruby=true)
@@ -1465,7 +1465,7 @@ ${dep.scm.url}
14651465
#if($hadoop)
14661466
#hadoop_license()
14671467
#end
1468-
#if($commons-math)
1468+
#if($commons_math)
14691469
#commons_math_license()
14701470
#end
14711471
#if(!(${mit.isEmpty()}))

ratis-resource-bundle/src/main/resources/META-INF/NOTICE.vm

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ Copyright 2017-2019 The Apache Software Foundation
2323
This product includes software developed at
2424
The Apache Software Foundation (http://www.apache.org/).
2525
## Specially handled included deps. e.g. ASL2.0 works that have additional bundled works but
26-
#set($bundled-boostrap = ${bundled-boostrap.equalsIgnoreCase("true")})
27-
#set($bundled-logo = ${bundled-logo.equalsIgnoreCase("true")})
28-
#set($bundled-dependencies = ${bundled-dependencies.equalsIgnoreCase("true")})
29-
#if($bundled-bootstrap || $bundled-logo || $bundled-dependencies)
26+
#set($bundled_boostrap = ${bundled_boostrap.equalsIgnoreCase("true")})
27+
#set($bundled_logo = ${bundled_logo.equalsIgnoreCase("true")})
28+
#set($bundled_dependencies = ${bundled_dependencies.equalsIgnoreCase("true")})
29+
#if($bundled_bootstrap || $bundled_logo || $bundled_dependencies)
3030
====
3131
${project.name} contained works
3232

@@ -102,13 +102,13 @@ noted in the LICENSE file.
102102

103103
#end
104104

105-
#macro(jetty_notice $jetty-include-unixcrypt)
105+
#macro(jetty_notice $jetty_include_unixcrypt)
106106
--
107107
This product includes portions of 'The Jetty Web Container'
108108

109109
Copyright 1995-2016 Mort Bay Consulting Pty Ltd.
110110

111-
#if(${jetty-include-unixcrypt})
111+
#if(${jetty_include_unixcrypt})
112112
## UnixCrypt.java paragraph only in server
113113
The UnixCrypt.java code ~Implements the one way cryptography used by
114114
Unix systems for simple password protection. Copyright 1996 Aki Yoshida,
@@ -207,13 +207,13 @@ under the Apache License 2.0 (see: StringUtils.containsWhitespace())
207207

208208
#end
209209
## first bundled source
210-
#if(${bundled-logo})
210+
#if(${bundled_logo})
211211
#orca_logo_notice()
212212
#end
213-
#if(${bundled-bootstrap})
213+
#if(${bundled_bootstrap})
214214
#bootstrap_notice()
215215
#end
216-
#if(${bundled-dependencies})
216+
#if(${bundled_dependencies})
217217
#**
218218
Note that this will fail the build if we don't have a license. update supplemental-models via
219219
setting '-Dlicense.debug.print.included' and looking in the generated LICENSE file
@@ -229,7 +229,7 @@ under the Apache License 2.0 (see: StringUtils.containsWhitespace())
229229
#set($mpl_1_1=[])
230230
## track jettys
231231
#set($jetty=false)
232-
#set($jetty-with-crypt=false)
232+
#set($jetty_with_crypt=false)
233233
## track jruby
234234
#set($jruby=false)
235235
#foreach( ${dep} in ${projects} )
@@ -244,7 +244,7 @@ under the Apache License 2.0 (see: StringUtils.containsWhitespace())
244244
#if(${dep.artifactId.startsWith("jetty")})
245245
#set($jetty=true)
246246
#if(${dep.artifactId.equals("jetty")})
247-
#set($jetty-with-crypt=true)
247+
#set($jetty_with_crypt=true)
248248
#end
249249
#end
250250
#if(${dep.artifactId.equals("log4j")})
@@ -317,7 +317,7 @@ For source see '${dep.url}'.
317317
#end
318318
## Print out jetty
319319
#if(${jetty})
320-
#jetty_notice(${jetty-with-crypt})
320+
#jetty_notice(${jetty_with_crypt})
321321
#end
322322
## Now go through all the lists of Category-B licensed works and make sure we
323323
## name them and give a URL for the project's home page.

0 commit comments

Comments
 (0)