Probably a corrupt download inside Maven. Delete ~/.m2/repository entirely
On Apr 19, 2013 12:23 AM, "Dmitriy Lyubimov" <dlie...@gmail.com> wrote:

> Hm. This is really not a known error. Which suggests something really
> platitudinarian: open file handle limits? lack of disk space? Sorry if
> that's not really helpful but it is not something i can repeat.
>
>
> On Thu, Apr 18, 2013 at 3:48 PM, Philipp Defner <m...@notmyhostna.me>
> wrote:
>
> > I updated maven to 3.0.4 now but the problem is still around.
> >
> > ==================
> > Apache Maven 3.0.4
> > Maven home: /usr/share/maven
> > Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
> > Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "linux", version: "3.5.0-27-generic", arch: "amd64", family:
> > "unix"
> >
> > but I'm still getting the following error message after running "mvm
> > install"
> >
> >
> > ==================
> >
> > Results :
> >
> > Tests run: 689, Failures: 0, Errors: 0, Skipped: 0
> >
> > [INFO]
> > [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ mahout-core ---
> > [INFO] Building jar:
> > /usr/local/mahout/trunk/core/target/mahout-core-0.8-SNAPSHOT.jar
> > [INFO]
> > [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ mahout-core ---
> > [INFO] Building jar:
> > /usr/local/mahout/trunk/core/target/mahout-core-0.8-SNAPSHOT-tests.jar
> > [INFO]
> > [INFO] --- maven-assembly-plugin:2.4:single (job) @ mahout-core ---
> > [INFO] Reading assembly descriptor: src/main/assembly/job.xml
> > [WARNING] Invalid POM for asm:asm:jar:3.1, transitive dependencies (if
> > any) will not be available, enable debug logging for more details
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache Mahout ..................................... SUCCESS
> [1.748s]
> > [INFO] Mahout Build Tools ................................ SUCCESS
> [2.006s]
> > [INFO] Mahout Math ....................................... SUCCESS
> > [2:11.278s]
> > [INFO] Mahout Core ....................................... FAILURE
> > [11:58.673s]
> > [INFO] Mahout Integration ................................ SKIPPED
> > [INFO] Mahout Examples ................................... SKIPPED
> > [INFO] Mahout Release Package ............................ SKIPPED
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 14:15.100s
> > [INFO] Finished at: Fri Apr 19 00:43:02 CEST 2013
> > [INFO] Final Memory: 29M/433M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-assembly-plugin:2.4:single (job) on
> project
> > mahout-core: Failed to create assembly: Error creating assembly archive
> > job: error in opening zip file -> [Help 1]
> > [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/MojoExecutionException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR]   mvn <goals> -rf :mahout-core
> >
> > ==================
> >
> > So it's basically still the same "Failed to create assembly: Error
> > creating assembly archive job: error in opening zip file" error.
> >
> > Thanks for your input so far.
> >
> > On Apr 18, 2013, at 11:40 PM, Suneel Marthi <suneel_mar...@yahoo.com>
> > wrote:
> >
> > > Well I guess its maven 2.2.1 then, upgrade to maven 3+ and give it a
> > shot.
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: Philipp Defner <m...@notmyhostna.me>
> > > To: user@mahout.apache.org; Suneel Marthi <suneel_mar...@yahoo.com>
> > > Sent: Thursday, April 18, 2013 5:36 PM
> > > Subject: Re: "Error creating assembly archive job: error in opening zip
> > file"
> > >
> > >
> > > I'm using Apache Maven 2.2.1 and I don't think it's losing the
> > connection because it's the same error across different servers.
> > >
> > >
> > > On Apr 18, 2013, at 11:31 PM, Suneel Marthi <suneel_mar...@yahoo.com>
> > wrote:
> > >
> > >> Usually happens if Maven looses connection to the repo from my
> > experience, could u try again?
> > >> Also r u using Maven 3?
> > >>
> > >>
> > >>
> > >>
> > >> ________________________________
> > >> From: Philipp Defner <m...@notmyhostna.me>
> > >> To: user@mahout.apache.org
> > >> Sent: Thursday, April 18, 2013 5:22 PM
> > >> Subject: "Error creating assembly archive job: error in opening zip
> > file"
> > >>
> > >>
> > >> Hello,
> > >>
> > >> I'm having some problems with installing Mahout. I setup a clean
> Ubuntu
> > 12.10 x64 VM with:
> > >>
> > >> java -version
> > >> ==============
> > >>
> > >> java version "1.6.0_27"
> > >> OpenJDK Runtime Environment (IcedTea6 1.12.3)
> > (6b27-1.12.3-0ubuntu1~12.10.1)
> > >> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
> > >>
> > >> mvn -version
> > >> ==============
> > >>
> > >> Apache Maven 2.2.1 (rdebian-8)
> > >> Java version: 1.6.0_27
> > >> Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
> > >> Default locale: en_US, platform encoding: UTF-8
> > >> OS name: "linux" version: "3.5.0-17-generic" arch: "amd64" Family:
> > "unix"
> > >>
> > >> and I checked out the latest source code. Once I run 'mvn install' in
> > the trunk directory I'm seeing this error:
> > >>
> > >> [WARNING] POM for 'asm:asm:pom:3.1:compile' is invalid.
> > >>
> > >> Its dependencies (if any) will NOT be available to the current build.
> > >> [INFO]
> > ------------------------------------------------------------------------
> > >> [ERROR] BUILD ERROR
> > >> [INFO]
> > ------------------------------------------------------------------------
> > >> [INFO] Failed to create assembly: Error creating assembly archive job:
> > error in opening zip file
> > >>
> > >> [INFO]
> > ------------------------------------------------------------------------
> > >> [INFO] For more information, run Maven with the -e switch
> > >> [INFO]
> > ------------------------------------------------------------------------
> > >> [INFO] Total time: 21 minutes 36 seconds
> > >> [INFO] Finished at: Thu Apr 18 22:52:15 CEST 2013
> > >> [INFO] Final Memory: 62M/280M
> > >> [INFO]
> > ------------------------------------------------------------------------
> > >>
> > >> I can't figure out what's wrong there. Any pointers?
> > >>
> > >> Thanks.
> >
> >
>

Reply via email to