Skip to content

Fix #7: Enforce check against Java 6 API signature. #8

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

Merged
merged 3 commits into from
Jan 20, 2020

Conversation

belingueres
Copy link
Contributor

  • Added enforcer rule.
  • Added myself as dev.

pom.xml Outdated
<checkSignatureRule implementation="org.codehaus.mojo.animal_sniffer.enforcer.CheckSignatureRule">
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java16</artifactId>
Copy link
Member

@hboutemy hboutemy Dec 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using ${javaVersion} instead of 6 would be more flexible for child projects

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed. However to be useful in child projects, should I change version to 1.0? (version 1.1 of the signatures are only available for java16.)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, please: I don't know how Java 1.6 signatures 1.0 were broken, but let's hope they work sufficiently
and I suppose we'll upgrade minimum Java version soon, so that will be a question of past :)

@hboutemy hboutemy self-assigned this Dec 3, 2019
@hboutemy hboutemy added this to the 5.2 milestone Dec 3, 2019
@olamy
Copy link
Member

olamy commented Dec 3, 2019

do we really still need this :) maybe java 7 at lease..

@belingueres
Copy link
Contributor Author

+1 if there is consensus to raise to java 7.

@hboutemy
Copy link
Member

hboutemy commented Dec 4, 2019

that's one advantage of using a property: the discussion can happen later, tracked with another issue

@hboutemy hboutemy modified the milestones: 6.0, 6.1 Jan 20, 2020
@hboutemy hboutemy merged commit 6563113 into codehaus-plexus:master Jan 20, 2020
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.

None yet

3 participants