Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 35512 invoked from network); 6 Nov 2009 09:14:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Nov 2009 09:14:44 -0000 Received: (qmail 33297 invoked by uid 500); 6 Nov 2009 09:14:44 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 33248 invoked by uid 500); 6 Nov 2009 09:14:44 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 33238 invoked by uid 99); 6 Nov 2009 09:14:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 09:14:44 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of benewu@gmail.com designates 209.85.217.225 as permitted sender) Received: from [209.85.217.225] (HELO mail-gx0-f225.google.com) (209.85.217.225) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 09:14:40 +0000 Received: by gxk25 with SMTP id 25so908961gxk.0 for ; Fri, 06 Nov 2009 01:14:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=QuyKQaEYzw2WS6n9jLUkw15Pws9JoxpmtHtSvUBqD2s=; b=qSPDUOXvzsCxcjV1VncYssQS2fIn60+63U8yg4UxBnq1tp/VBeZAJF1+eGKaZ7Iwpj DU8wdlKM7HblVl0Yqgc7TN8mouETEBh6ZE5OfsOMq654+/h781ptWLzY46X/4NbXnlHl 8yU+MhVYXIrBNPaAH/pR5Rc71hLeh7wfQ+1m0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=RalSftVEPRw6+U/AM1nx1VNRXSyNXQMqsrkfYXQ79fhaaQo1P825Gl0OID9I13IGF8 dSatNyKTgi9N6sW42SKmWBE3lax1DOJIRek+JuunpJu83HbRR7CFtmggLiVNlNhoq52X EBmquRU1DddmvNc4WrfUBTzJPTznq8M94RZKE= MIME-Version: 1.0 Received: by 10.101.45.20 with SMTP id x20mr3831412anj.26.1257498859546; Fri, 06 Nov 2009 01:14:19 -0800 (PST) In-Reply-To: References: <4db64d890911032129v70cb1u25b768b96ad76b59@mail.gmail.com> <4db64d890911052033q4b992debva442b4810b8453f1@mail.gmail.com> <4db64d890911052237w6aa62f82o7a6b8e964a604efb@mail.gmail.com> <4db64d890911060043t4982dc23nb291a263749e3489@mail.gmail.com> Date: Fri, 6 Nov 2009 17:14:19 +0800 Message-ID: <4db64d890911060114j1c519bc0g5e08d463bab26989@mail.gmail.com> Subject: Re: Compiling ESME offline From: Xuefeng Wu To: esme-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=001636ed6e49d428bc0477b0447e --001636ed6e49d428bc0477b0447e Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit @D Yes, I think so. One of my old lift project is very simple, and occur the same problem. I found that one of dependence jar file is not downloaded completely. After I delete the jar file and mvn again. the simple project worked again. On Fri, Nov 6, 2009 at 5:05 PM, Richard Hirsch wrote: > The build was successful. > > Could it be that some network issues are preventing you from accessing > particular Jar files? > > D. > > On Fri, Nov 6, 2009 at 9:52 AM, Richard Hirsch > wrote: > > OK. > > > > I just installed apache-maven-2.2.1. > > > > I'm doing a build (mvn clean install) after deleting my .m2 directory. > > > > I'll update this thread with the results when the build is finished. > > > > D. > > > > On Fri, Nov 6, 2009 at 9:43 AM, Xuefeng Wu wrote: > >> @D > >> Thank you for your patient, > >> > >> I uploaded the trace in Jira now > >> > >> And one of my old lift project cause the same probleam > >> and it worked after use 'mvn -X clean install'. > >> > >> I think maybe some of .m2 repository is broken. > >> > >> I deleted ,m2 repository but didn't work and > >> I think maybe maven cannot download full jar files because network. > >> I will try again in anther network environment. > >> > >> On Fri, Nov 6, 2009 at 3:06 PM, Richard Hirsch >wrote: > >> > >>> Definitely a tough problem. > >>> > >>> Let's try this: > >>> > >>> 1. Delete ,m2 repository > >>> 2. Get the latest code drop from the SVN and put it in a new directory > >>> 3. Do a "mvn -X clean install > trace" > >>> 4. Upload the trace to the Jira Item. > >>> > >>> D. > >>> > >>> On Fri, Nov 6, 2009 at 7:37 AM, Xuefeng Wu wrote: > >>> > I comment the opendmk but didn't find scala-stats and configgy is > >>> dependency > >>> > exception the repository. > >>> > I uploaded the maven log. > >>> > > >>> > I think I didn't change anything, and other scala lift projects are > >>> working > >>> > well in the same environment. > >>> > > >>> > > >>> > On Fri, Nov 6, 2009 at 1:28 PM, Richard Hirsch < > hirsch.dick@gmail.com > >>> >wrote: > >>> > > >>> >> What about changing the pom.xml and removing the dependencies for > >>> >> scala-stats, configgy and opendmk. You will get compile errors but I > >>> >> want to see if that solves basic problem. > >>> >> > >>> >> I'll compare your environment to my environment at work and see if I > >>> >> see other diffs. > >>> >> > >>> >> Are you sure that nothing else changed in your env? > >>> >> > >>> >> D. > >>> >> > >>> >> On Fri, Nov 6, 2009 at 5:33 AM, Xuefeng Wu > wrote: > >>> >> > @D > >>> >> > Oops > >>> >> > I deleted the .m2 repository but failed too.... > >>> >> > > >>> >> > On Wed, Nov 4, 2009 at 8:13 PM, Richard Hirsch < > hirsch.dick@gmail.com > >>> >> >wrote: > >>> >> > > >>> >> >> Looked at the log in the Jira item and compared it to my own log. > I > >>> >> >> only see a few differences related to the dependencies related > to > >>> JMX > >>> >> >> functionality. > >>> >> >> > >>> >> >> [INFO] snapshot net.liftweb:lift-util:1.1-SNAPSHOT: checking for > >>> >> >> updates from scala-stats > >>> >> >> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: > local = > >>> >> >> '464631c2d7f564b00fe7028f09455d658b1265c6'; remote = > >>> >> >> 'NetScreen' - RETRYING > >>> >> >> > >>> >> >> > >>> >> >> Did you try and delete the .m2 repository. If you don't want to > >>> delete > >>> >> >> it what about renaming it. > >>> >> >> > >>> >> >> D. > >>> >> >> > >>> >> >> On Wed, Nov 4, 2009 at 6:29 AM, Xuefeng Wu <benewu@gmail.com> > wrote: > >>> >> >> > Done, > >>> >> >> > attached > >>> >> >> > > >>> >> >> > On Wed, Nov 4, 2009 at 1:07 PM, Richard Hirsch < > >>> hirsch.dick@gmail.com > >>> >> >> >wrote: > >>> >> >> > > >>> >> >> >> Saw Jira item. Thanks. > >>> >> >> >> > >>> >> >> >> But we still need to see the entire log. Could you attach it > to > >>> the > >>> >> >> >> item as an attachment. > >>> >> >> >> > >>> >> >> >> The one link you posted in the Jira item about the Lift error > in > >>> >> >> >> Hudson looks very similar. Once we get the entire maven log, > it > >>> will > >>> >> >> >> be a lot easier to see if this is the problem. > >>> >> >> >> > >>> >> >> >> D. > >>> >> >> >> > >>> >> >> >> On Wed, Nov 4, 2009 at 2:27 AM, Xuefeng Wu <benewu@gmail.com> > >>> wrote: > >>> >> >> >> > @D. > >>> >> >> >> > I created https://issues.apache.org/jira/browse/ESME-118 > >>> >> >> >> > > >>> >> >> >> > Thanks. > >>> >> >> >> > > >>> >> >> >> > On Wed, Nov 4, 2009 at 1:29 AM, Richard Hirsch < > >>> >> hirsch.dick@gmail.com > >>> >> >> >> >wrote: > >>> >> >> >> > > >>> >> >> >> >> Why don't you create a Jira item and attach the entire > trace as > >>> an > >>> >> >> >> >> attachment. Like this "mvn clean install > mytrace". > >>> >> >> >> >> > >>> >> >> >> >> We can then get a better idea of what is going on. > >>> >> >> >> >> > >>> >> >> >> >> D. > >>> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> >> > >>> >> >> >> >> On Tue, Nov 3, 2009 at 3:39 PM, Xuefeng Wu < > benewu@gmail.com> > >>> >> wrote: > >>> >> >> >> >> > Thank you for your response. > >>> >> >> >> >> > > >>> >> >> >> >> > @D > >>> >> >> >> >> > I checked out new from SVN but failed too. > >>> >> >> >> >> > > >>> >> >> >> >> > @David > >>> >> >> >> >> > I run 'mvn -U clean install jetty:run' and failed too , > get > >>> the > >>> >> >> same > >>> >> >> >> >> error: > >>> >> >> >> >> > command line returned non-zero value:1 > >>> >> >> >> >> > I didn't rename .m2 folder and my other maven projects > are > >>> >> working. > >>> >> >> >> >> > > >>> >> >> >> >> > > >>> >> >> >> >> > > >>> >> >> >> >> > On Tue, Nov 3, 2009 at 9:59 PM, David Pollak > >>> >> >> >> >> > <feeder.of.the.bears@gmail.com>wrote: > >>> >> >> >> >> > > >>> >> >> >> >> >> Did you do a successful "mvn -U clean install jetty:run" > >>> before > >>> >> >> >> trying > >>> >> >> >> >> to > >>> >> >> >> >> >> apply the "-o" switch? Did you do an rm -rf ~/.m2 > before > >>> >> starting > >>> >> >> >> the > >>> >> >> >> >> >> process? > >>> >> >> >> >> >> > >>> >> >> >> >> >> On Tue, Nov 3, 2009 at 6:52 AM, Xuefeng Wu < > >>> benewu@gmail.com> > >>> >> >> wrote: > >>> >> >> >> >> >> > >>> >> >> >> >> >> > I run mvn clean install -e > >>> >> >> >> >> >> > get: > >>> >> >> >> >> >> > > >>> >> >> >> >> >> > [WARNING] 204 errors found > >>> >> >> >> >> >> > [INFO] > >>> >> >> >> >> >> > > >>> >> >> >> >> > >>> >> >> > >>> > ------------------------------------------------------------------------ > >>> >> >> >> >> >> > [ERROR] BUILD FAILURE > >>> >> >> >> >> >> > [INFO] > >>> >> >> >> >> >> > > >>> >> >> >> >> > >>> >> >> > >>> > ------------------------------------------------------------------------ > >>> >> >> >> >> >> > [INFO] command line returned non-zero value:1 > >>> >> >> >> >> >> > [INFO] > >>> >> >> >> >> >> > > >>> >> >> >> >> > >>> >> >> > >>> > ------------------------------------------------------------------------ > >>> >> >> >> >> >> > [INFO] Trace > >>> >> >> >> >> >> > org.apache.maven.BuildFailureException: command line > >>> returned > >>> >> >> >> non-zero > >>> >> >> >> >> >> > value:1 > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > >>> >> >> >> >> >> > ultLifecycleExecutor.java:715) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > >>> >> >> >> >> >> > fecycle(DefaultLifecycleExecutor.java:556) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > >>> >> >> >> >> >> > ltLifecycleExecutor.java:535) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > >>> >> >> >> >> >> > dleFailures(DefaultLifecycleExecutor.java:387) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > >>> >> >> >> >> >> > ts(DefaultLifecycleExecutor.java:348) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > >>> >> >> >> >> >> > fecycleExecutor.java:180) > >>> >> >> >> >> >> > at > >>> >> >> >> >> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) > >>> >> >> >> >> >> > at > >>> >> >> >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > >>> >> >> >> >> >> > at > >>> >> org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6 > >>> >> >> >> >> >> > 0) > >>> >> >> >> >> >> > at > >>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native > >>> >> >> >> Method) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > >>> >> >> >> >> >> > java:39) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > >>> >> >> >> >> >> > sorImpl.java:25) > >>> >> >> >> >> >> > at > java.lang.reflect.Method.invoke(Method.java:597) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > >>> >> >> >> >> >> > at > >>> >> >> >> org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > >>> >> >> >> >> >> > > >>> >> >> >> >> >> > at > >>> >> >> org.codehaus.classworlds.Launcher.main(Launcher.java:375) > >>> >> >> >> >> >> > Caused by: > org.apache.maven.plugin.MojoFailureException: > >>> >> command > >>> >> >> >> line > >>> >> >> >> >> >> > returned n > >>> >> >> >> >> >> > on-zero value:1 > >>> >> >> >> >> >> > at > >>> >> >> >> org.scala_tools.maven.JavaCommand.run(JavaCommand.java:196) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.scala_tools.maven.ScalaCompilerSupport.compile(ScalaCompilerSuppo > >>> >> >> >> >> >> > rt.java:124) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.scala_tools.maven.ScalaCompilerSupport.doExecute(ScalaCompilerSup > >>> >> >> >> >> >> > port.java:54) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.scala_tools.maven.ScalaMojoSupport.execute(ScalaMojoSupport.java: > >>> >> >> >> >> >> > 208) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.scala_tools.maven.ScalaCompilerSupport.execute(ScalaCompilerSuppo > >>> >> >> >> >> >> > rt.java:29) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > >>> >> >> >> >> >> > nManager.java:490) > >>> >> >> >> >> >> > at > >>> >> >> >> >> >> > > >>> >> >> >> > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > >>> >> >> >> >> >> > ultLifecycleExecutor.java:694) > >>> >> >> >> >> >> > ... 17 more > >>> >> >> >> >> >> > [INFO] > >>> >> >> >> >> >> > > >>> >> >> >> >> > >>> >> >> > >>> > ------------------------------------------------------------------------ > >>> >> >> >> >> >> > [INFO] Total time: 23 seconds > >>> >> >> >> >> >> > > >>> >> >> >> >> >> > > >>> >> >> >> >> >> > > >>> >> >> >> >> >> > On Tue, Nov 3, 2009 at 6:16 PM, Vassil Dichev < > >>> >> >> vdichev@gmail.com> > >>> >> >> >> >> wrote: > >>> >> >> >> >> >> > > >>> >> >> >> >> >> > > > Yes > >>> >> >> >> >> >> > > > I'm on line and run mvn jetty:run and get the same > >>> error: > >>> >> >> >> >> >> > > > > >>> >> >> >> >> >> > > > What's the mean " command line returned non-zero > >>> value:1" > >>> >> in > >>> >> >> >> >> maven? > >>> >> >> >> >> >> > > > >>> >> >> >> >> >> > > Depends on these "204 errors found". Why don't you > do as > >>> >> maven > >>> >> >> >> >> >> > > suggests and "run Maven with the -e switch"? > >>> >> >> >> >> >> > > > >>> >> >> >> >> >> > > >>> >> >> >> >> >> > > >>> >> >> >> >> >> > > >>> >> >> >> >> >> > -- > >>> >> >> >> >> >> > Scala中文社区: http://groups.google.com/group/scalacn > >>> >> >> >> >> >> > > >>> >> >> >> >> >> > >>> >> >> >> >> >> > >>> >> >> >> >> >> > >>> >> >> >> >> >> -- > >>> >> >> >> >> >> Lift, the simply functional web framework > >>> http://liftweb.net > >>> >> >> >> >> >> Beginning Scala > http://www.apress.com/book/view/1430219890 > >>> >> >> >> >> >> Follow me: http://twitter.com/dpp > >>> >> >> >> >> >> Surf the harmonics > >>> >> >> >> >> >> > >>> >> >> >> >> > > >>> >> >> >> >> > > >>> >> >> >> >> > > >>> >> >> >> >> > -- > >>> >> >> >> >> > Scala中文社区: http://groups.google.com/group/scalacn > >>> >> >> >> >> > > >>> >> >> >> >> > >>> >> >> >> > > >>> >> >> >> > > >>> >> >> >> > > >>> >> >> >> > -- > >>> >> >> >> > Scala中文社区: http://groups.google.com/group/scalacn > >>> >> >> >> > > >>> >> >> >> > >>> >> >> > > >>> >> >> > > >>> >> >> > > >>> >> >> > -- > >>> >> >> > Scala中文社区: http://groups.google.com/group/scalacn > >>> >> >> > > >>> >> >> > >>> >> > > >>> >> > > >>> >> > > >>> >> > -- > >>> >> > Scala中文社区: http://groups.google.com/group/scalacn > >>> >> > > >>> >> > >>> > > >>> > > >>> > > >>> > -- > >>> > Scala中文社区: http://groups.google.com/group/scalacn > >>> > > >>> > >> > >> > >> > >> -- > >> Scala中文社区: http://groups.google.com/group/scalacn > >> > > > -- Scala中文社区: http://groups.google.com/group/scalacn --001636ed6e49d428bc0477b0447e--