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

Release/2.0.0 #94

Merged
merged 50 commits into from Aug 16, 2018
Merged

Release/2.0.0 #94

merged 50 commits into from Aug 16, 2018

Conversation

bvarner
Copy link
Contributor

@bvarner bvarner commented Aug 16, 2018

  • Fixes regression in feature and bug fix branches introduced in 1.8.0.
    • These branches are once-again treated as 'other' branches, and version semantics are not enforced on those branches.
    • Introduced integration testing to catch issues like this in the future.
  • Eclipse m2e lifecycle mappings prevent projects from emitting errors in eclipse.
  • New branch matching pattern, applied to 'OTHER' type branches otherBranchDeployPattern lets you define a regex for branch names to be deployed as snapshots. Branches matching this pattern will have build artifacts automatically versioned to include the branchname, and be SNAPSHOT versions, and will be targeted to the snapshots repository. You can attach these deployed artifacts from the same branch, or you can reference these artifacts in other projects (for long-running POCs).

This should close the loop on providing the functionality of #83, in a backwards compatible manner that can be enabled / disabled as you see fit for your environment.

MouettE-SC and others added 30 commits June 2, 2017 09:49
…h changes.

While I recognize the intent of these changes, the manner in which it was implemented breaks existing workflows for CI builds and version checks in several environments I've been involved in.
The inability to merge a feature or bugfix branch into a release branch (without mangling the version in the pom.xml) after the merge or without a merge conflict is a sticking point.
…rtifact (a .jar) to the snapshots repository.
* Unified the jacoco reporting.
run integration tests in feature branches which assert proper branch behavior
for all other plugins.

Added the project-alt1-stub, which adds dependencies you can version
enforce, allowing for full testing of the EnforceVersionsMojo.
Nearly all happy-paths in the AbstractGitflowBasedRepositoryMojo are covered.

Once the remaining mojos are tested, we'll be basically validating error conditions.
bvarner and others added 20 commits August 13, 2018 16:32
…rced deployment of OTHER branches (long-running POCs).
…ypes.

* Inside the retarget, you need to set the project version -- this forms the basis for future attached artifacts.
* Existing artifacts need their version set (updated).
    * Don't fiddle wiht the base version. that gets set when you update the version.
    * Do fiddle with the VersionRange, as this sets up things to be able to be resolved properly when attaching the catalog artifact later.
    * Failure to do so results in nullpointerexceptions in strange ways.
    * Catch unsupported operation exception for some internal classes, and carry on your happy merry way.
* Added test case for attaching from an 'OTHER'. this does require that you run the VALIDATION phase, so that retarget-deploy can fiddle with the internal project state -- it's a bit wonky, but it works.
…nd reverted a mistaken edit on the IntelliJ comments.
@bvarner bvarner merged commit cf96b50 into master Aug 16, 2018
@bvarner bvarner deleted the release/2.0.0 branch August 16, 2018 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants