Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency org.hamcrest:hamcrest-core to v3 #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 27, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.hamcrest:hamcrest-core (source) 1.3 -> 3.0 age adoption passing confidence

Release Notes

hamcrest/JavaHamcrest (org.hamcrest:hamcrest-core)

v3.0

Compare Source

Breaking Changes
  • From version 3.0, the jar distributed to Maven Central is now compiled to Java 1.8 bytecode,
    and is not compatible with previous versions of Java. See
    Issue #​331 and
    PR #​411 for details. Developers who use Java 1.7 earlier can still
    depend upon hamcrest-2.2.jar.
Improvements

v2.2

Compare Source

Improvements
Bugfixes

v2.1

Overview for 2.1

After a long hiatus without releases, this version simplifies the packaging of
Hamcrest into a single jar: hamcrest-<version>.jar. Other big changes include
Java 9 module compatibility, migrating the code repository from Google Code to
GitHub, along with numerous other new features, improvements and bug fixes.

Breaking Changes for 2.1
  • The way that the project is packaged has changed. This may cause problems with
    correctly upgrading transitive dependencies. Refer to the
    Hamcrest Distributables
    documentation for more information, and in particular,
    Upgrading from Hamcrest 1.x
  • org.hamcrest.Factory has been removed. This was only used in old implementations
    of the hamcrest build toolchain, and can safely be deleted from client code without
    any effect.
Changes for 2.1
  • Documentation updates
  • Several JavaDoc improvements and corrections
  • Fix JavaDoc examples
  • Upgraded to Java 7
  • Build with Gradle
  • Publish a single jar hamcrest-2.1.jar
  • Publish pom-only artifacts for hamcrest-core and hamcrest-library.
  • Add implementation for CharSequence length matcher
  • Fix for TypeSafeDiagnosingMatcher can't detect generic types for subclass
  • Make Hamcrest an OSGI bundle
  • Add StringRegularExpression matcher
  • Fix StringContainsInOrder to detect if a repeated pattern is missing
  • Add ArrayAsIterableMatcher
  • Fix description for IsEqualIgnoringCase
  • Removed deprecated methods from previous release
  • Improve mismatch description of hasItem/hasItems
  • General improvements to mismatch descriptions
  • Deprecated several matcher factory methods of the for "isXyz"
  • Fix GH issue #​75 - address doclint errors reported in JDK 1.8
  • Fix GH issue #​69 - Iterable contains in order is null-safe
  • Fix GH issue #​59 - added equalToObject() (i.e. unchecked) method
  • Fix GH issue #​25 - arrayContaining(null, null) cause NullPointerException
  • Fix GH issue #​36 - string matching on regular expressions
  • Fix GH issue #​8 - isCloseTo() shows wrong delta in mismatch description
  • Fix GH issue #​59 - add untyped version of equalTo, named equalToObject
  • Fix GC issue #​131 - Implement IsEmptyMap, IsMapWithSize
  • Fix GC issue #​187 - IsArray.describeMismatchSafely() should use Matcher.describeMismatch
  • Fix GC issue #​155 - Add Matcher implementation for files
  • Fix GC issue #​69 - fix NPE in IsIterableContainingInOrder

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-javahamcrest-monorepo branch from 1868d9c to ebb12eb Compare September 27, 2022 03:50
@0crat
Copy link

0crat commented Sep 27, 2022

@renovate/z[bot] this pull request is too small, just 2 lines changed (less than 10), there will be no formal code review, see §53 and §28; in the future, try to make sure your pull requests are not too small; @yegor256/z please review this and merge or reject

@yegor256
Copy link
Member

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Sep 28, 2022

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Sep 28, 2022

@rultor merge

@renovate[bot] @yegor256 Oops, I failed. You can see the full log here (spent 3min)

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.2.1:run (default) on project jcabi-maven-skin: 1 build failed. See console output above for details. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.2.1:run (default) on project jcabi-maven-skin: 1 build failed. See console output above for details.
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoFailureException: 1 build failed. See console output above for details.
    at org.apache.maven.plugins.invoker.InvokerSession.handleFailures (InvokerSession.java:259)
    at org.apache.maven.plugins.invoker.InvokerMojo.processResults (InvokerMojo.java:68)
    at org.apache.maven.plugins.invoker.AbstractInvokerMojo.execute (AbstractInvokerMojo.java:795)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
\u001b[0m\u001b[0mcontainer f2fa541296d77b0b04454c6973a37e48b6f248f6aa32ed9a46429418306e7ad1 is dead
Wed 28 Sep 2022 07:38:47 AM CEST

@renovate renovate bot changed the title Update dependency org.hamcrest:hamcrest-core to v2 Update dependency org.hamcrest:hamcrest-core to v3 Aug 1, 2024
@renovate renovate bot force-pushed the renovate/major-javahamcrest-monorepo branch from ebb12eb to bbf529c Compare August 1, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants