I was facing the same problem, and I fixed it by adding <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version> <configuration> <descriptors> <descriptor>assembly/src/main/assembly/assembly.xml</descriptor> </descriptors> </configuration> </plugin> in the root pom.xml, following the maven assembly plugin docs <http://maven.apache.org/plugins-archives/maven-assembly-plugin-2.4.1/examples/multimodule/module-source-inclusion-simple.html>
I can make a PR on this if you consider this an issue. Now I'm facing this problem, is that what you have now? [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (default-cli) on project spark-network-common_2.10: Failed to create assembly: Error adding file 'org.apache.spark:spark-network-common_2.10:jar:1.3.0-SNAPSHOT' to archive: /home/dirceu/projects/spark/network/common/target/scala-2.10/classes isn't a file. -> [Help 1] 2015-01-27 9:23 GMT-02:00 Sean Owen <so...@cloudera.com>: > You certainly do not need yo build Spark as root. It might clumsily > overcome a permissions problem in your local env but probably causes other > problems. > On Jan 27, 2015 11:18 AM, "angel__" <angel.alvarez.pas...@gmail.com> > wrote: > > > I had that problem when I tried to build Spark 1.2. I don't exactly know > > what > > is causing it, but I guess it might have something to do with user > > permissions. > > > > I could finally fix this by building Spark as "root" user (now I'm > dealing > > with another problem, but ...that's another story...) > > > > > > > > -- > > View this message in context: > > > http://apache-spark-developers-list.1001551.n3.nabble.com/Use-mvn-to-build-Spark-1-2-0-failed-tp9876p10285.html > > Sent from the Apache Spark Developers List mailing list archive at > > Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org > > For additional commands, e-mail: dev-h...@spark.apache.org > > > > >