Skip to content

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

Closed
@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions