Hi Alec, No, its not a storm issue. Can you provide some extra context? Run: mvn -version
Also, it says it cannot create the folder: /Users/sali/.m2/repository/ org/apache/maven/plugin-tools/maven-plugin-annotations/3.0 So, try to do it manually (as a sanity check): mkdir -p /Users/sali/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.0 For more clue: mvn clean install -X -debug Hope this helps. *Toni Menzel | rebaze GmbH* [email protected] | +49 171 65 202 84 http:// <https://mail.google.com/mail/u/0/goog_1770677242>www.rebaze.com | twitter @rebazeio <https://twitter.com/rebazeio> | LinkedIn Profile <http://www.linkedin.com/company/2553599> On Fri, Jun 20, 2014 at 8:13 PM, Sa Li <[email protected]> wrote: > Dear all > > I tried to build storm related project on mac, it ends up building error > that I never got on ubuntu. And I figure out I could not build any maven > projects on mac, the errors are same like > > mvn -f m2-pom.xml compile exec:java -Dexec.classpathScope=compile > -Dexec.mainClass=storm.starter.ExclamationTopology > [INFO] Scanning for projects... > Downloading: > http://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-annotations/3.0/maven-plugin-annotations-3.0.pom > [WARNING] Failed to create parent directories for tracking file > /Users/sali/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.0/maven-plugin-annotations-3.0.pom.lastUpdated > Downloading: > http://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.pom > [WARNING] Failed to create parent directories for tracking file > /Users/sali/.m2/repository/org/apache/maven/maven-toolchain/2.2.1/maven-toolchain-2.2.1.pom.lastUpdated > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project storm.starter:storm-starter:0.0.1-SNAPSHOT > (/workspace/tools/storm-starter/m2-pom.xml) has 1 error > [ERROR] Unresolveable build extension: Plugin > com.theoryinpractise:clojure-maven-plugin:1.3.12 or one of its dependencies > could not be resolved: Failed to collect dependencies at > com.theoryinpractise:clojure-maven-plugin:jar:1.3.12 -> > org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.0: Failed to > read artifact descriptor for > org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.0: Could not > transfer artifact > org.apache.maven.plugin-tools:maven-plugin-annotations:pom:3.0 from/to > central (http://repo.maven.apache.org/maven2): Specified destination > directory cannot be created: > /Users/sali/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.0 > -> [Help 2] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException > > > I poke around on google, but unable to get a solid answer, I understand > this is not storm issue, but maven’s. I don’t know if someone ever > experienced the similar problem as I do, hopefully, you have figured out a > solution. > > > Thanks > > Alec >
