Skip to content

Enforce SciJava annotation processing even in Eclipse#11

Merged
dscho merged 2 commits intomasterfrom
m2e
Aug 21, 2014
Merged

Enforce SciJava annotation processing even in Eclipse#11
dscho merged 2 commits intomasterfrom
m2e

Conversation

@dscho
Copy link
Copy Markdown
Contributor

@dscho dscho commented Aug 21, 2014

With this topic branch merged, pom-scijavabased Maven projects will be built properly even in Eclipse (which is slightly challenging due to Eclipse's ignoring of annotation processors).

This PR relies on scijava/scijava-maven-plugin#2 (therefore, the latter PR should be merged, and scijava-maven-plugin version 0.2.0 released, first).

dscho added a commit that referenced this pull request Aug 21, 2014
Enforce SciJava annotation processing even in Eclipse
@dscho dscho merged commit 0227f18 into master Aug 21, 2014
@dscho dscho deleted the m2e branch August 21, 2014 17:41
dscho added 2 commits August 21, 2014 12:41
... so that the 'eclipse-helper' goal is available.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Eclipse does not execute annotation processors as part of the build, in
particular not as part of the incremental build. However, scijava-common's
annotation processor is quite able to run as part of the incremental
build.

Let's use pom-scijava to auto-activate the newly introduced goal of the
scijava-maven-plugin to beat Eclipse into submission, so that we can work
around Eclipse's failure to abide by the Java specification (that
*mandates* running all annotation processors available on the class path
*unless* turned off explicitly).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant