Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
909199d
Deleting obsolete `<ciManagement>` section
jglick Jun 7, 2021
75ec0e4
Updating old wiki link
jglick Jun 7, 2021
002c253
Merge pull request #223 from jglick/wiki
jglick Jun 7, 2021
74d9f41
Merge pull request #222 from jglick/ciManagement
jglick Jun 7, 2021
f1e17f9
Log artifactId in validate mojo on IOException (#225)
timja Jun 24, 2021
f4abc18
Fix javadoc as consoleForceReload is enabled per default
olamy Jul 16, 2021
8bd0838
Merge pull request #227 from jenkinsci/fix-documentation
olamy Jul 17, 2021
dcb3dea
Bump commons-io in /src/it/JENKINS-58771-packaged-plugins-3 (#218)
dependabot[bot] Jul 17, 2021
b87b207
Bump maven.version from 2.2.0 to 2.2.1 (#200)
dependabot[bot] Jul 17, 2021
1c89ecc
Bump maven-invoker-plugin from 3.2.1 to 3.2.2 (#215)
dependabot[bot] Jul 17, 2021
95ebd58
add test for packaging webresources (#213)
sephiroth-j Jul 17, 2021
fd4e69d
Remove references to `DNSMultiCast.disabled`
jglick Sep 10, 2021
1466fce
Merge pull request #230 from jglick/removeMulticast-redux
jglick Sep 10, 2021
d5bc578
Bump animal-sniffer-maven-plugin from 1.19 to 1.20
dependabot[bot] Jul 17, 2021
28a4c7e
Bump jenkins from 1.62 to 1.65
dependabot[bot] Jul 17, 2021
256ca00
Bump stapler-groovy from 1.260 to 1563.v3da2d02f9572
dependabot[bot] Jun 7, 2021
e80c3be
[maven-release-plugin] prepare release maven-hpi-plugin-3.18
jglick Sep 10, 2021
d8d3d56
[maven-release-plugin] prepare for next development iteration
jglick Sep 10, 2021
f3c303d
Bump stapler-groovy from 1563.v3da2d02f9572 to 1593.v0e838714faae
dependabot[bot] Sep 13, 2021
9006112
Add a failing IT
Vlatombe Sep 16, 2021
85abeda
Skip jenkins core version validation when a dependency is only availa…
Vlatombe Sep 16, 2021
0448d93
Remove plugins section as it is not used
Vlatombe Oct 5, 2021
e4fdf1d
Merge pull request #235 from Vlatombe/fix-validate-hpi-for-compile-phase
jglick Oct 5, 2021
89bf0da
Merge pull request #234 from jenkinsci/dependabot/maven/org.kohsuke.s…
dependabot[bot] Oct 5, 2021
ff98633
Bump maven-plugin-tools.version from 3.6.0 to 3.6.1
dependabot[bot] Oct 5, 2021
de1dcbc
Merge pull request #233 from jenkinsci/dependabot/maven/maven-plugin-…
dependabot[bot] Oct 5, 2021
62c29e9
Bump wagon-ssh from 3.4.1 to 3.4.3
dependabot[bot] Oct 5, 2021
9a1774c
Merge pull request #236 from jenkinsci/dependabot/maven/org.apache.ma…
dependabot[bot] Oct 5, 2021
822ad3c
Bump plexus-utils from 3.3.0 to 3.4.1
dependabot[bot] Oct 5, 2021
3143ba8
Merge pull request #237 from jenkinsci/dependabot/maven/org.codehaus.…
dependabot[bot] Oct 5, 2021
ac3cd03
Bump icu4j from 67.1 to 69.1
dependabot[bot] Oct 5, 2021
de4d39e
Merge pull request #238 from jenkinsci/dependabot/maven/com.ibm.icu-i…
dependabot[bot] Oct 5, 2021
a0b0133
Bump jenkins from 1.65 to 1.67
dependabot[bot] Oct 5, 2021
bc9ebaa
Merge pull request #240 from jenkinsci/dependabot/maven/org.jenkins-c…
dependabot[bot] Oct 5, 2021
7005d53
Bump plexus-interactivity-api from 1.0 to 1.1
dependabot[bot] Oct 5, 2021
37a1905
Merge pull request #239 from jenkinsci/dependabot/maven/org.codehaus.…
dependabot[bot] Oct 5, 2021
9834933
[maven-release-plugin] prepare release maven-hpi-plugin-3.19
jglick Oct 5, 2021
8fe0adf
[maven-release-plugin] prepare for next development iteration
jglick Oct 5, 2021
19db45b
Use the project’s basedir to run `git rev-parse HEAD`
jglick Nov 3, 2021
ccc9edf
Merge pull request #244 from jglick/git-working-directory
jglick Nov 3, 2021
41a9cfe
Bump icu4j from 69.1 to 70.1
dependabot[bot] Nov 1, 2021
13a1d09
[maven-release-plugin] prepare release maven-hpi-plugin-3.20
jglick Nov 3, 2021
945027a
[maven-release-plugin] prepare for next development iteration
jglick Nov 3, 2021
1af1075
Bump velocity from 1.5 to 1.7
dependabot[bot] Nov 9, 2021
59e11c0
Bump `maven-fluido-skin` from 1.3.0 to 1.9
basil Nov 9, 2021
7c458f6
Bump version-number from 1.7 to 1.8
dependabot[bot] Nov 15, 2021
97f238e
Merge pull request #245 from jenkinsci/dependabot/maven/org.jenkins-c…
oleg-nenashev Nov 15, 2021
e3c090d
Remove `bundle-plugins` goal (#246)
basil Nov 25, 2021
5af1da1
Bump jackson-databind from 2.9.10.7 to 2.9.10.8 in /src/it/process-ja…
dependabot[bot] Nov 25, 2021
194309b
Maven 3 upgrade (#247)
basil Nov 26, 2021
d06d7af
Refresh build metadata (#249)
basil Nov 26, 2021
49d2899
Use diamond operator where possible
basil Nov 26, 2021
b779af7
Use try-with-resources where possible
basil Nov 26, 2021
379572a
Replace deprecated functionality with non-deprecated equivalents
basil Nov 26, 2021
64692eb
Use StandardCharsets where possible
basil Nov 26, 2021
4eabc08
Remove unnecessary calls to toString()
basil Nov 26, 2021
9539902
Remove unnecessary initCause() call
basil Nov 26, 2021
975f97f
Use enhanced for where possible
basil Nov 26, 2021
11d609f
Collapse identical catch blocks
basil Nov 26, 2021
15ef749
Use lambda where possible
basil Nov 26, 2021
8cab52e
Migrate from Guava to Java 8 types
basil Nov 26, 2021
5a37d69
Use method references where possible
basil Nov 26, 2021
906a96f
Use Collections.removeIf where possible
basil Nov 26, 2021
33f069a
Remove pointless Javadocs
basil Nov 26, 2021
e290c9b
Use Objects.requireNonNull where possible
basil Nov 26, 2021
7789bb7
Remove redundant initializers
basil Nov 26, 2021
2818fcd
Remove redundant casts
basil Nov 26, 2021
8253d3f
Organize imports
basil Nov 26, 2021
bcc4f2c
Merge pull request #250 from basil/improvements
basil Nov 26, 2021
8611238
Ensure implementation and specification entries are present in `MANIF…
basil Nov 26, 2021
e3f0d41
[maven-release-plugin] prepare release maven-hpi-plugin-3.21
basil Nov 26, 2021
dcf259b
[maven-release-plugin] prepare for next development iteration
basil Nov 26, 2021
84b996e
Bump maven-plugin-tools.version from 3.6.1 to 3.6.2 (#252)
dependabot[bot] Nov 29, 2021
a56492e
Add missing `@Override` and `@Deprecated` annotations (#253)
basil Dec 3, 2021
0c60987
Remove unneeded `CollectionUtils` class (#254)
basil Dec 3, 2021
9c29b3c
Bump mrm-maven-plugin from 1.2.0 to 1.3.0
dependabot[bot] Dec 6, 2021
24b2717
Bump jenkins from 1.67 to 1.69
dependabot[bot] Dec 6, 2021
bc9cb41
Move old changelog to archive link
jglick Dec 14, 2021
b3e3adc
Link to `/doc/developer/plugin-development/mark-a-plugin-incompatible/`
jglick Dec 14, 2021
cfbb6e1
:facepalm: syntax error in Javadoc
jglick Dec 14, 2021
8a18bd1
Merge pull request #257 from jglick/changelog
jglick Dec 14, 2021
d64c555
Merge pull request #258 from jglick/jenkins.io
jglick Dec 14, 2021
ab56c6d
Fix some (though not all) SpotBugs violations (#260)
basil Dec 17, 2021
caa641d
Fix some (though not all) Enforcer warnings (#259)
basil Dec 17, 2021
006e216
Bump `support-log-formatter` from 1.0 to 1.1 (#261)
basil Dec 17, 2021
021675c
Bump `version-number` from 1.8 to 1.9 (#262)
basil Dec 17, 2021
eb8a4c1
Bump Stapler from 1593.v0e838714faae to 1612.v2a13b906bf3a (#263)
basil Dec 17, 2021
debc32f
Bump `jetty-maven-plugin` from 9.4.32.v20200930 to 9.4.44.v20210927 (…
basil Dec 17, 2021
f916c08
[maven-release-plugin] prepare release maven-hpi-plugin-3.22
basil Dec 17, 2021
6986e41
[maven-release-plugin] prepare for next development iteration
basil Dec 17, 2021
3ac9482
Remove unneeded `PropertyUtils` class (#265)
basil Dec 19, 2021
6696ae4
Remove duplicate methods (#267)
basil Dec 20, 2021
776da32
Use `mojo-executor` (#266)
basil Dec 20, 2021
352d35c
Fix deprecated `@Component` annotation warnings (#268)
basil Dec 25, 2021
2a04088
Remove `hpi:create` (#269)
basil Dec 25, 2021
e45af96
Bump `wagon-ssh` from 3.4.3 to 3.5.1 (#273)
dependabot[bot] Dec 27, 2021
a91ceaf
Bump `plexus-containers` from 2.1.0 to 2.1.1 (#272)
dependabot[bot] Dec 27, 2021
fba1749
Bump `stapler-groovy` from 1612.v2a13b906bf3a to 1627.v5c244c19f85f (…
dependabot[bot] Dec 27, 2021
4d4101f
Adopt POM Code Convention (#274)
basil Dec 28, 2021
69eac19
Sort dependencies (#275)
basil Dec 28, 2021
05c7b0f
Bump `stapler-groovy` from 1627.v5c244c19f85f to 1635.vb_0ddedb_739f2…
dependabot[bot] Jan 3, 2022
56193e0
Bump `git-changelist-maven-extension` from 1.2 to 1.3 (#276)
dependabot[bot] Jan 3, 2022
926c5f6
Bump `jenkins` from 1.69 to 1.70 (#280)
dependabot[bot] Jan 6, 2022
4666021
Bump `stapler-groovy` from 1635.vb_0ddedb_739f2 to 1638.v229a_24fa_b_…
dependabot[bot] Jan 6, 2022
20c11cc
Bump `release-drafter/release-drafter` from 5.15.0 to 5.17.5 (#281)
dependabot[bot] Jan 17, 2022
9e19bb6
Bump release-drafter/release-drafter from 5.17.5 to 5.17.6
dependabot[bot] Jan 21, 2022
5c59537
Bump maven-plugin-tools.version from 3.6.2 to 3.6.4
dependabot[bot] Jan 21, 2022
f421d54
Merge pull request #282 from jenkinsci/dependabot/github_actions/rele…
dependabot[bot] Jan 21, 2022
2f7826b
Merge pull request #283 from jenkinsci/dependabot/maven/maven-plugin-…
dependabot[bot] Jan 21, 2022
a552051
Bump `stapler-groovy` from 1638.v229a_24fa_b_17c to 1642.ve454c451897…
dependabot[bot] Jan 30, 2022
63f05ac
Bump Release Drafter from 5.17.6 to 5.18.1 (#287)
dependabot[bot] Feb 7, 2022
7eb266e
Ignore Jetty 10.x and 11.x
basil Feb 8, 2022
968f324
Merge pull request #289 from basil/dependabot-config
jglick Feb 8, 2022
eab9593
Bump `jetty-maven-plugin` from 9.4.44.v20210927 to 9.4.45.v20220203 (…
dependabot[bot] Feb 8, 2022
5654ce4
Remove usages of `StringUtils` (#291)
basil Feb 11, 2022
91aca8c
[maven-release-plugin] prepare release maven-hpi-plugin-3.23
basil Feb 12, 2022
cbb6841
[maven-release-plugin] prepare for next development iteration
basil Feb 12, 2022
ca4e36c
Bump jenkins from 1.70 to 1.71
dependabot[bot] Feb 12, 2022
e918ced
Bump mojo-executor from 2.3.2 to 2.3.3
dependabot[bot] Feb 12, 2022
0c35835
Bump maven-archiver from 3.5.1 to 3.5.2
dependabot[bot] Feb 12, 2022
bb37553
Exclude commons-compress
basil Feb 13, 2022
5a9dd2c
Merge pull request #279 from jenkinsci/dependabot/maven/org.apache.ma…
oleg-nenashev Feb 13, 2022
27fe371
Fix `RV_CHECK_COMPARETO_FOR_SPECIFIC_RETURN_VALUE` SpotBugs violation
basil Feb 13, 2022
7d96c13
Fix `OS_OPEN_STREAM` SpotBugs violation
basil Feb 13, 2022
c5fc89c
Fix `RV_RETURN_VALUE_IGNORED_BAD_PRACTICE` SpotBugs violations
basil Feb 13, 2022
5318ed9
Include classifier when computing final name
basil Feb 22, 2022
1c1e31d
Merge pull request #297 from basil/classifier
jglick Feb 22, 2022
9d73489
Merge pull request #295 from basil/OS_OPEN_STREAM
jglick Feb 22, 2022
91c5b49
Merge pull request #294 from basil/RV_CHECK_COMPARETO_FOR_SPECIFIC_RE…
jglick Feb 22, 2022
4c20544
[maven-release-plugin] prepare release maven-hpi-plugin-3.24
jglick Feb 22, 2022
fa4c6d8
[maven-release-plugin] prepare for next development iteration
jglick Feb 22, 2022
00d6ea2
Update src/main/java/org/jenkinsci/maven/plugins/hpi/TestDependencyMo…
basil Feb 22, 2022
433cb4d
Merge pull request #296 from basil/RV_RETURN_VALUE_IGNORED_BAD_PRACTICE
jglick Feb 22, 2022
9e82b7e
Revert support targetPath property for webResources (#300)
timja Feb 23, 2022
546e6ba
[maven-release-plugin] prepare release maven-hpi-plugin-3.25
timja Feb 23, 2022
2668939
[maven-release-plugin] prepare for next development iteration
timja Feb 23, 2022
ac75f6d
Record `maven-invoker-plugin` failures via `junit` rather than console
jglick Feb 25, 2022
bc6de22
Merge pull request #301 from jglick/invoker
jglick Feb 25, 2022
b2eee01
Fine-grained SpotBugs exclusions (#298)
basil Mar 8, 2022
461f77c
Bump Release Drafter from 5.18.1 to 5.19.0 (#304)
dependabot[bot] Mar 9, 2022
7a50f62
Bump Maven from 3.8.4 to 3.8.5 (#305)
dependabot[bot] Mar 13, 2022
c21cfb2
Bump Mojo Executor from 2.3.3 to 2.4.0 (#308)
dependabot[bot] Mar 13, 2022
d1ca018
Bump parent POM from 1.71 to 1.72 (#307)
dependabot[bot] Mar 13, 2022
6dd6e29
Bump Maven Dependency Plugin from 3.2.0 to 3.3.0 (#306)
dependabot[bot] Mar 13, 2022
abf2d01
Bump Stapler from 1642.ve454c4518974 to 1666.v0275e61a_9874 (#309)
dependabot[bot] Mar 18, 2022
90cdacd
Enforce existence of `src/main/resources/index.jelly` (#302)
jglick Mar 21, 2022
af64e0c
[JENKINS-67912] Maven HPI plugin does not compile with Java 11 (#310)
basil Mar 22, 2022
348c99e
Fixup to #310: remove `icu4j` dep (#313)
basil Mar 22, 2022
edfb544
Avoid copying `session.projectBuildingRequest` unless overriding some…
jglick Mar 22, 2022
39bd76b
Some dependencies of Maven Plugins are expected to be in provided sco…
basil Mar 22, 2022
a76efb1
Bump Stapler from 1666.v0275e61a_9874 to 1669.v95a_4b_919a_b_a_2 (#312)
dependabot[bot] Mar 22, 2022
10fd747
[maven-release-plugin] prepare release maven-hpi-plugin-3.26
basil Mar 22, 2022
6d4db5a
[maven-release-plugin] prepare for next development iteration
basil Mar 22, 2022
844b5fa
Modernize tests (#315)
basil Mar 25, 2022
c40b0d5
Run tests on Java 8 and 11 (#316)
basil Mar 25, 2022
b0ca60d
Update docs site (#317)
basil Mar 26, 2022
7adba9e
Update SCM URL
basil Mar 27, 2022
73ca82a
Fix SCM URLs
basil Mar 27, 2022
c95309a
Add default manifest entries with Maven (#318)
basil Mar 28, 2022
a6c22b3
Improve validation mojo (#319)
basil Mar 30, 2022
5943af8
Print warning if using deprecated `java.level` with new enough parent…
basil Mar 30, 2022
f4e6886
Dynamically apply `Add-Opens` directives from `MANIFEST.MF` (#322)
basil Mar 31, 2022
deea11a
Dynamically configure Java compiler based on core (#323)
basil Mar 31, 2022
66cc913
[JENKINS-67974] Java 11 support for MemoryAssert#assertGC (#324)
basil Mar 31, 2022
0ce6fa7
Skip model validation of resolved POMs
basil Apr 1, 2022
b1102fd
Merge pull request #326 from basil/model
MarkEWaite Apr 1, 2022
221f05d
Use major version
basil Apr 1, 2022
1159ae1
Split test preparation into its own mojo (#327)
basil Apr 2, 2022
2e7f63f
[maven-release-plugin] prepare release maven-hpi-plugin-3.27
basil Apr 2, 2022
66b30f4
[maven-release-plugin] prepare for next development iteration
basil Apr 2, 2022
36976ea
Treat blank properties as unset (#328)
basil Apr 2, 2022
db6c753
Bump parent POM from 1.72 to 1.73 (#329)
dependabot[bot] Apr 4, 2022
1d7bba3
Bump jetty-maven-plugin from 9.4.45.v20220203 to 9.4.46.v20220331 (#330)
dependabot[bot] Apr 4, 2022
6bf3f76
Remove deprecated java.level
basil Apr 4, 2022
cb168b3
Upgrade plugin toolchain in tests (#331)
basil Apr 5, 2022
2ca1d16
Add missing plugin parent POM to tests (#332)
basil Apr 5, 2022
15177db
Add test for validation of minimum Jenkins version (#334)
basil Apr 6, 2022
e53d909
Add test for `java.level` warning (#333)
basil Apr 6, 2022
120ad1c
Fix Javadoc generation on Java 11 (#337)
basil Apr 23, 2022
150c012
Publish incrementals (#338)
basil Apr 23, 2022
8c8c511
Ignore errors when setting last modified time (#339)
basil Apr 24, 2022
dff451c
Bump jenkins from 1.73 to 1.74 (#340)
dependabot[bot] May 7, 2022
533f4d2
Revert JENKINS-20679 (#341)
basil May 11, 2022
a7f4de4
[maven-release-plugin] prepare release maven-hpi-plugin-3.28
basil May 14, 2022
0299a8d
[maven-release-plugin] prepare for next development iteration
basil May 14, 2022
e2c89ec
Bump stapler-groovy from 1669.v95a_4b_919a_b_a_2 to 1685.v3b_5035c4ce…
dependabot[bot] May 14, 2022
d81e22c
Bump plexus-utils from 3.4.1 to 3.4.2 (#343)
dependabot[bot] May 20, 2022
ba5bd0c
Bump Maven Invoker Plugin from 3.2.2 to 3.3.0 (#344)
dependabot[bot] Jun 8, 2022
a041c9f
Bump parent POM from 1.74 to 1.76 (#346)
dependabot[bot] Jun 9, 2022
def754f
Bump maven.version from 3.8.5 to 3.8.6 (#347)
dependabot[bot] Jun 13, 2022
e788ab0
Bump jetty-maven-plugin from 9.4.46.v20220331 to 9.4.48.v20220622 (#348)
dependabot[bot] Jun 24, 2022
494762d
Bump parent POM from 1.76 to 1.77 (#349)
dependabot[bot] Jun 24, 2022
40d9c1d
Bump mrm-maven-plugin from 1.3.0 to 1.4.0 (#351)
dependabot[bot] Jun 24, 2022
7b42ee1
Bump wagon-ssh from 3.5.1 to 3.5.2 (#353)
dependabot[bot] Jun 26, 2022
4870007
Bump maven-archiver from 3.5.2 to 3.6.0 (#352)
dependabot[bot] Jun 26, 2022
eacc081
Bump google-oauth-plugin in /src/it/JENKINS-58771-packaged-plugins-3 …
dependabot[bot] Jun 28, 2022
482440f
Bump jenkins from 1.77 to 1.78 (#358)
dependabot[bot] Jun 29, 2022
f3aa658
Bump mrm-maven-plugin from 1.4.0 to 1.4.1 (#357)
dependabot[bot] Jun 29, 2022
bc68658
Ignore recent versions of `stapler-groovy` (#360)
basil Jul 4, 2022
b3d4d40
Bump jenkins from 1.78 to 1.79 (#361)
dependabot[bot] Jul 5, 2022
6eaa37a
Bump jenkins from 1.79 to 1.80 (#362)
dependabot[bot] Jul 11, 2022
a547c19
Bump jenkins from 1.80 to 1.81 (#363)
dependabot[bot] Jul 19, 2022
86772a1
Bump jenkins from 1.81 to 1.82 (#365)
dependabot[bot] Jul 23, 2022
8a27d4b
Bump git-changelist-maven-extension from 1.3 to 1.4 (#364)
dependabot[bot] Jul 23, 2022
7fdf067
[JENKINS-45047] Support for plugin-to-plugin integration tests (#336)
basil Jul 25, 2022
0e0394f
[JEP-230] Noting deprecation of `jenkins-module` packaging (#355)
jglick Jul 25, 2022
7d9f692
[maven-release-plugin] prepare release maven-hpi-plugin-3.29
basil Jul 25, 2022
716a3eb
[maven-release-plugin] prepare for next development iteration
basil Jul 25, 2022
d47d5af
Ignore self in upper bounds analysis (#366)
basil Jul 25, 2022
0135bc0
Append to existing properties rather than clobbering them (#367)
basil Jul 25, 2022
65c9f7a
[maven-release-plugin] prepare release maven-hpi-plugin-3.30
basil Jul 26, 2022
17ff9d7
[maven-release-plugin] prepare for next development iteration
basil Jul 26, 2022
4a8d84a
Relax release check (#368)
basil Jul 27, 2022
38dca92
[maven-release-plugin] prepare release maven-hpi-plugin-3.31
basil Jul 27, 2022
c517146
[maven-release-plugin] prepare for next development iteration
basil Jul 27, 2022
3099310
Bump maven-dependency-tree from 3.1.0 to 3.1.1 (#369)
dependabot[bot] Jul 28, 2022
0ce5224
Allow Animal Sniffer to be enabled (#370)
Riliane Jul 29, 2022
98d740c
[maven-release-plugin] prepare release maven-hpi-plugin-3.32
basil Jul 29, 2022
005b46b
[maven-release-plugin] prepare for next development iteration
basil Jul 29, 2022
a923139
Bump jenkins from 1.82 to 1.83 (#371)
dependabot[bot] Jul 29, 2022
c82b496
Bump jenkins from 1.83 to 1.84 (#372)
dependabot[bot] Aug 2, 2022
3abe9e3
Bump jenkins from 1.84 to 1.85 (#374)
dependabot[bot] Aug 6, 2022
ca5d670
`resolve-test-dependencies` should not add deps unrelated to the mode…
jglick Aug 10, 2022
5327003
[maven-release-plugin] prepare release maven-hpi-plugin-3.33
basil Aug 10, 2022
b2bf939
[maven-release-plugin] prepare for next development iteration
basil Aug 10, 2022
c19d0b1
Indicate `classifier` if set in `updateDependency` message
jglick Aug 12, 2022
1c45754
Add a `dependencyManagement` section if missing
jglick Aug 12, 2022
fd40b6d
Merge pull request #378 from jglick/classifier
jglick Aug 12, 2022
a5a4fbc
Merge pull request #379 from jglick/dependencyManagement
jglick Aug 12, 2022
c7b8d85
[maven-release-plugin] prepare release maven-hpi-plugin-3.34
jglick Aug 12, 2022
f7044df
[maven-release-plugin] prepare for next development iteration
jglick Aug 12, 2022
694a97a
Bump jenkins from 1.85 to 1.86 (#380)
dependabot[bot] Aug 16, 2022
d9921cc
Bump maven-dependency-tree from 3.1.1 to 3.2.0 (#381)
dependabot[bot] Aug 26, 2022
78cdc28
Bump jenkins from 1.86 to 1.87 (#382)
dependabot[bot] Sep 4, 2022
caee7cf
Bump jenkins from 1.87 to 1.88 (#384)
dependabot[bot] Sep 12, 2022
334eeee
Bump jetty-maven-plugin from 9.4.48.v20220622 to 9.4.49.v20220914 (#385)
dependabot[bot] Sep 16, 2022
cf9f657
Consider empty repository situation (#383)
Wadeck Oct 5, 2022
a1116ed
[maven-release-plugin] prepare release maven-hpi-plugin-3.35
basil Oct 5, 2022
c1fe6d9
[maven-release-plugin] prepare for next development iteration
basil Oct 5, 2022
950fd6f
Bump plexus-utils from 3.4.2 to 3.5.0
dependabot[bot] Oct 24, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
ignore:
# Must remain within Jetty 9.x until Java 8 support is removed
- dependency-name: "org.eclipse.jetty:jetty-maven-plugin"
versions: [">=10.0.0"]
# Requires Java 11 starting with version 1711.v5b_1b_03f0fcf2.
- dependency-name: "org.kohsuke.stapler:stapler-groovy"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
2 changes: 2 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc

_extends: .github
tag-template: maven-hpi-plugin-$NEXT_MINOR_VERSION
16 changes: 16 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Automates creation of Release Drafts using Release Drafter
# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc

on:
push:
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
<extension>
<groupId>io.jenkins.tools.incrementals</groupId>
<artifactId>git-changelist-maven-extension</artifactId>
<version>1.4</version>
</extension>
</extensions>
2 changes: 2 additions & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
47 changes: 39 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,43 @@
properties([buildDiscarder(logRotator(numToKeepStr: '20'))])
node('maven') {
checkout scm
timeout(time: 1, unit: 'HOURS') {
// TODO Azure mirror
ansiColor('xterm') {
withEnv(['MAVEN_OPTS=-Djansi.force=true']) {
sh 'mvn -B -Dstyle.color=always -ntp -Prun-its clean install site'
properties([
buildDiscarder(logRotator(numToKeepStr: '20')),
disableConcurrentBuilds(abortPrevious: true)
])

def runTests(Map params = [:]) {
return {
def agentContainerLabel = params['jdk'] == 8 ? 'maven' : 'maven-' + params['jdk']
boolean publishing = params['jdk'] == 8
node(agentContainerLabel) {
timeout(time: 1, unit: 'HOURS') {
def stageIdentifier = params['platform'] + '-' + params['jdk']
stage("Checkout (${stageIdentifier})") {
checkout scm
}
stage("Build (${stageIdentifier})") {
ansiColor('xterm') {
def args = ['-Dstyle.color=always', '-Prun-its', '-Dmaven.test.failure.ignore', 'clean', 'install', 'site']
if (publishing) {
args += '-Dset.changelist'
}
// Needed for correct computation of JenkinsHome in RunMojo#execute.
withEnv(['JENKINS_HOME=', 'HUDSON_HOME=']) {
infra.runMaven(args, params['jdk'])
}
}
}
stage("Archive (${stageIdentifier})") {
junit 'target/invoker-reports/TEST-*.xml'
if (publishing) {
infra.prepareToPublishIncrementals()
}
}
}
}
}
}

parallel(
'linux-8': runTests(platform: 'linux', jdk: 8),
'linux-11': runTests(platform: 'linux', jdk: 11)
)
infra.maybePublishIncrementals()
90 changes: 3 additions & 87 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,101 +3,17 @@
Maven plugin to build Jenkins plugins.
See the [developer guide](https://jenkins.io/doc/developer/plugin-development/) for details.

[Mojo documentation](http://jenkinsci.github.io/maven-hpi-plugin/)
[Mojo documentation](https://jenkinsci.github.io/maven-hpi-plugin/)

## Changelog

### Newer versions

See [GitHub Releases](https://github.com/jenkinsci/maven-hpi-plugin/releases)

### 3.5 (2019-03-28)
### Older versions

* Treat POM loading errors in dependencies as nonfatal.

### 3.3 (2019-01-31)

* [JENKINS-54807](https://issues.jenkins-ci.org/browse/JENKINS-54807) -
Fix classloading of Java-internal modules when running `hpi:run` with Java 11

### 3.2 (2019-01-16)

* [PR #90](https://github.com/jenkinsci/maven-hpi-plugin/pull/90) -
Introduce a new `hpi.compatibleSinceVersion` property to support
[marking plugins as incompatible](https://wiki.jenkins.io/display/JENKINS/Marking+a+new+plugin+version+as+incompatible+with+older+versions)
without the plugin configuration override
* Prevents issues like [JENKINS-55562](https://issues.jenkins-ci.org/browse/JENKINS-55562)
* [JENKINS-54949](https://issues.jenkins-ci.org/browse/JENKINS-54949) -
Add support of adding the current pom.xml to the custom WAR
in the `hpi:custom-war` mojo

### 3.1 (2018-12-14)

* `hpi:run` was broken since 3.0 since `minimumJavaVersion` was not being properly propagated.

### 3.0 (2018-12-05)

* [JENKINS-20679](https://issues.jenkins-ci.org/browse/JENKINS-20679) -
Inject `Minimum-Java-Version` into the manifest.
* It is set by a new mandatory `minimumJavaVersion` parameter in `hpi:hpi`, `hpi:jar` and `hpi:hpl`
* Format: `java.specification.version` according to [Java JEP-223](https://openjdk.java.net/jeps/223).
Examples: `1.6`, `1.7`, `1.8`, `6`, `7`, `8`, `9`, `11`, ...
* [PR #83](https://github.com/jenkinsci/maven-hpi-plugin/pull/83) -
Improve the error message when an improper JAR file is passed
* Internal: Move manifest-related parameters and logic to `AbstractJenkinsManifestMojo`

### 2.7 (2018-10-30)

* Delete `work/plugins/*.jpl` where the current `test`-scoped dependency is not in fact a snapshot.
* Use a more specific temp dir for Jetty.

### 2.6 (2018 Jun 01)

* Bugs in the dependency copy of `mvn hpi:run` could lead to anomalies such as `work/plugins/null.jpi`.

### 2.5 (2018 May 11)

* Option to override a snapshot plugin version with a more informative string.

### 2.3 (2018 Apr 19)

* Using a newer standard `VersionNumber` that precisely matches the behavior of the Jenkins plugin manager.

### 2.2 (2018 Jan 30)

* Fix `mvn clean hpi:run` and some similar special goal sequences.

### 2.1 (2017 Sep 26)

* Jenkins plugin archetypes are no longer bundled with this Maven plugin. Instead use the [new project](https://github.com/jenkinsci/archetypes/blob/master/README.md#introduction).
* Making `-DwebAppFile=…` work.
* Fixing unchecked/rawtypes warnings in `InjectedTest`.
* No more special handling of artifacts with `-ea` in the version.

### 2.0 (2017 May 25)

* Updated integrated Jetty server to 9.x. This means that JDK 8 is now required at build time. (Plugins may continue to target older Java baselines using the `java.level` property in the 2.x parent POM.)
* [JENKINS-24064](https://issues.jenkins-ci.org/browse/JENKINS-24064) Added `executable-war` artifact type, permitting Jenkins to stop deploying the wasteful `jenkins-war-*-war-for-test.jar` artifact, which was identical to `jenkins-war-*.war`.

### 1.122 (2017 Apr 12)

* Fixed HTML escaping for Javadoc created for taglibs so it can be processed by JDK 8.
* Logging the current artifact for `InjectedTest`.
* More fixes to mojos that assumed that plugin artifacts used a short name identical to the `artifactId`.
* Minor archetype updates.

### 1.121 (2016 Dec 16)

* Fixing a problem with plugin dependency resolution affecting users of jitpack.io.

### 1.120 (2016 Sep 26)

* Allowing `hpi:run` to pick up compiled classes & saved resources from core or plugin snapshot dependencies in addition to the plugin under test itself.
* Ensuring `Plugin-Dependencies` appears in a consistent order from build to build.

### 1.119 and earlier

Not recorded.
See [archive](https://github.com/jenkinsci/maven-hpi-plugin/tree/24b27178f4dbdb9eeb395f35fc94774d514c980a#35-2019-03-28).

## For maintainers

Expand Down
Loading