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

Maven plugin should log warning if target version is not set #28

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 4 comments
Closed

Comments

@GoogleCodeExporter
Copy link

Using the maven plugin of forbidden-apis and not setting either the property 
"maven.compiler.target" or the plugin parameter "targetVersion" will lead to a 
build failure because the plugin can not find the bundled resources for the 
current java version. Logging a warning if the target version is null could 
lead the user to this misconfiguration and avoid some time of research.


Original issue reported on code.google.com by [email protected] on 23 Jun 2014 at 9:49

@GoogleCodeExporter
Copy link
Author

Original comment by uwe.h.schindler on 23 Jun 2014 at 9:56

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Thank you for reporting this. I will add a warning, so the user gets an idea, 
why the signatures were not found.

Original comment by uwe.h.schindler on 23 Jun 2014 at 9:57

@GoogleCodeExporter
Copy link
Author

I committed a warning message.
This will be released with the next version.

Original comment by uwe.h.schindler on 30 Jun 2014 at 12:10

  • Changed state: Committed

@GoogleCodeExporter
Copy link
Author

Released with forbiddenapis v1.6.

Original comment by uwe.h.schindler on 4 Aug 2014 at 9:42

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant