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

(doc) Add new value accepted by -proc: option #222

Closed
wants to merge 1 commit into from

Conversation

pzygielo
Copy link
Contributor

@pzygielo pzygielo commented Feb 3, 2024

Without explicit -proc, javac complains about its future:

[INFO] Compiling 5 source files with javac [debug release 17] to target/test-classes
[INFO] Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.

Current parameter's javadoc suggests that only only and none are allowed. This parameter however is not validated by m-compiler-p. This is also not validated by plexus-compiler.


Without explicit `-proc`, `javac` complains about its future:

```
[INFO] Compiling 5 source files with javac [debug release 17] to target/test-classes
[INFO] Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.
```

Current parameter's javadoc suggests that only `only` and `none` are allowed.
This parameter however is not validated by m-compiler-p.
This is also not validated by plexus-compiler.
@pzygielo
Copy link
Contributor Author

pzygielo commented Feb 3, 2024

@pzygielo pzygielo closed this Feb 3, 2024
@pzygielo pzygielo deleted the proc branch February 3, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant