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

Maven Build Fails for CampBX #59

Closed
timmolter opened this issue Feb 25, 2013 · 2 comments
Closed

Maven Build Fails for CampBX #59

timmolter opened this issue Feb 25, 2013 · 2 comments
Assignees

Comments

@timmolter
Copy link
Member

It doesn't like the import com.sun.istack.internal.NotNull; in CampBX.java.

I think it has to do with Java 6 compiler level, which I think we want to keep.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project xchange-campbx: Compilation failure: Compilation failure:
[ERROR] bootstrap class path not set in conjunction with -source 1.6
[ERROR] /Users/timmolter/workspaces/workspace_xeiam_oss/xchange-parent/xchange-campbx/src/main/java/com/xeiam/xchange/campbx/CampBX.java:[32,30] error: package com.sun.istack.internal does not exist
[ERROR] /Users/timmolter/workspaces/workspace_xeiam_oss/xchange-parent/xchange-campbx/src/main/java/com/xeiam/xchange/campbx/CampBX.java:[115,44] error: cannot find symbol
[ERROR] symbol: class NotNull
[ERROR] location: interface CampBX
[ERROR] /Users/timmolter/workspaces/workspace_xeiam_oss/xchange-parent/xchange-campbx/src/main/java/com/xeiam/xchange/campbx/CampBX.java:[115,85] error: cannot find symbol

...

@ghost ghost assigned mmazi Feb 25, 2013
@mmazi
Copy link
Contributor

mmazi commented Feb 25, 2013

I'll fix it. These are just marker annotations, to be read as documentation by users, not read by the code.

If this is a blocker, they may be safely removed immediately.

@mmazi
Copy link
Contributor

mmazi commented Feb 25, 2013

Done. I added JSR-305 (31 kB).

These annotations are currently not strictly necessary: they currently only serve as documentation (ie. they are meant for the human reader and are not read by Java reflection). But they might be read by reflection in the future.

@mmazi mmazi closed this as completed Feb 25, 2013
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