You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by ni...@uom.gr.INVALID on 2020/04/20 19:44:53 UTC

Using Maven to compile source code

Hello,

I am Nicole and I am working with scheduling decisions in the cloud. I 
am a newcomer in Apache Storm and I think that your help would be of 
great importance to me. I've studied carefully the code regarding 
Storm's scheduler and now I try to implement mine using the IScheduler 
interface. Unfortunately, I have never worked with Maven before and I 
encounter some difficulties. I am sorry if my questions are primitive. I 
installed Maven successfully, downloaded the Apache Storm 1.2.3 source 
code but when I tried to compile it using Maven I got the following 
results:


[INFO] Reactor Summary for Storm 1.2.3:
[INFO]
[INFO] Storm .............................................. SUCCESS [  
0.967 s]
[INFO] multilang-javascript ............................... SUCCESS [  
0.561 s]
[INFO] multilang-python ................................... SUCCESS [  
0.039 s]
[INFO] multilang-ruby ..................................... SUCCESS [  
0.034 s]
[INFO] maven-shade-clojure-transformer .................... SUCCESS [  
0.886 s]
[INFO] storm-maven-plugins ................................ SUCCESS [  
0.464 s]
[INFO] Storm Core ......................................... FAILURE [ 
11.317 s]
[INFO] storm-rename-hack .................................. SKIPPED
[INFO] storm-autocreds .................................... SKIPPED
.....

[INFO] BUILD FAILURE

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile 
(default-compile) on project storm-core: Compilation failure: 
Compilation failure:
[ERROR] 
/Users/nicole/Maven/teststorm/apache-storm-1.2.3/storm-core/src/jvm/org/apache/storm/generated/GlobalStreamId.java:[27,18] 
package javax.annotation does not exist
....

The problem is repeated mentioning that "package javax.annotation does 
not exist".
Do you have any idea about what I am doing wrong?
In case there is any guide that could help me make my own pluggable 
scheduler, it would be more than welcome.

Thank you in advance.

Regards,
Nicole