Merge core and library, revive hamcrest-integration #229
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a big change to the project structure, but there are no changes to any Java code.
After chatting with @sf105 on Issue #224, I reworked the way that the code is organised and packaged. The more I think about it, the less I like the idea of preserving the same packaging. It's been such a long time between releases, I don't think there's a huge benefit in keeping the old packaging around.
As this is a breaking change due to the repackaging, the version has changed from
1.4-SNAPSHOT
to2.1-SNAPSHOT
. I realise that the Java API hasn't actually changed, but since there is already a version2.0.0.0
published on Maven Central, the next version published must be incrementally higher than that, at a minimum.I have revived hamcrest-integration as separate subproject. This was done by unzipping
hamcrest-integration-1.3.jar
downloaded from Maven Central. Unfortunately, the corresponding code available from the archived hamcrest-java on Google Code appeared out of date. I could not see test code for java-integration (I had a poke around the Google Code archive, but no luck there).Salient points:
hamcrest
is the result of merginghamcrest-core
andhamcrest-library
.hamcrest-integration
remains an independent project.hamcrest-integration
remains only as a 1.3 line bugfix backstop. It is not published, and its version is pinned at1.3.1-SNAPSHOT
.hamcrest-all
orjava-hamcrest
), which means only a single artefact is published:org.hamcrest:hamcrest:<version>
(jar, sources and javadoc)