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

Indexing Annotation- Custom Processor #26

Closed
nandhusriram opened this issue Feb 12, 2015 · 1 comment
Closed

Indexing Annotation- Custom Processor #26

nandhusriram opened this issue Feb 12, 2015 · 1 comment

Comments

@nandhusriram
Copy link

I have the custom processor included as a jar dependency and when I trying to index based on certain annotation ,zero classes gets indexed, does the custom processor needs to be same project as the other one.

@sentinelt
Copy link
Member

There are several things which might be broken in your case. Notice that:

  1. The custom processor needs to be available on the classpath during compilation.
  2. The above rule also implies that the custom processor cannot be in the same project as the indexed classes (well it can, but then maven-compiler-plugin configuration needs to be changes as was done here: https://github.com/atteo/classindex/blob/master/classindex/pom.xml)
  3. The custom processor "sees" only classes which are compiled. So for instance it won't index classes from 3rd party jars.

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

No branches or pull requests

2 participants