Many files on the web use Lein to compile storm source, but I downloaded the version apache-storm-0.9.2-incubating not lein project files, but there is pom.xml, you can use Maven compile.
Execution at the top of the Storm project: MVN package-dskiptests=true
Errors may be encountered as described below (jackson-core-2.0.6 is just an example ):
Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1:process (default) on Project Storm : Failed To resolve dependencies for one or more projects in the reactor. Reason:Unable to get dependency information for com.fasterxml.jackson.core:jackson-core:jar:2.0.6: Failed to Retrieve POM for com.fasterxml.jackson.core:jackson-core:jar:2.0.6:Could not transfer artifact Com.fasterxml.jackson.core: jackson-core:pom:2.0.6 from/to Central (http://repo1.maven.org/maven2/): Access deniedto: http://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.0.6/ Jackson-core-2.0.6.pom, Reasonphrase:forbidden.
The reason may be network problems, do not know why the browser can access, but MVN is not able to download (the true reason is still unknown).
Solution: Delete file ~/repository/com/fasterxml/jackson/core/jackson-core/2.0.6/jackson-core-2.0.6.pom.lastupdated (path may be different, You can use Find find)
Then manually download: Jackson-core-2.0.6.jar and Jackson-core-2.0.6.pom placed in the original jackson-core-2.0.6.pom.lastupdated directory.
Execute the MVN command again when you are done.
Another option is to refer to:
http://blog.csdn.net/jonson123654/article/details/10364883
Using MAVEN to compile storm source may run into a download-dependent jar problem