Skip to content

Javadoc 1.4+ doesn't support the -1.1 switch anymore. Ignore this option. #1266

@laeubi

Description

@laeubi

Affected version

3.11.3

Bug description

Actual

I'm using the javadoc plugin in my project and always see this warning in the build:

[INFO] --- javadoc:3.11.3:jar (attach-javadocs) @ org.eclipse.equinox.p2.jarprocessor ---
[WARNING] Javadoc 1.4+ doesn't support the -1.1 switch anymore. Ignore this option.

but I can't find this in the options file or anywhere in the poms.
If I explicitly disable it with <old>false</old> I get the (expected) warning about deprecation, but javadoc-plugin still complains:

[INFO] --- javadoc:3.11.3:jar (attach-javadocs) @ org.eclipse.equinox.p2.jarprocessor ---
[WARNING]  Parameter 'old' (user property 'old') is deprecated: No reason given
[WARNING] Javadoc 1.4+ doesn't support the -1.1 switch anymore. Ignore this option.

How to reproduce:

  1. checkout https://github.com/eclipse-equinox/p2
  2. Go to bundles/org.eclipse.equinox.p2.core
  3. run mvn verify -Pjavadoc

Expected

No warning is printed

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions