incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: Compiling ESME offline
Date Fri, 06 Nov 2009 08:31:15 GMT
I'm using this environment

Maven version: 2.0.9
Java version: 1.6.0_03
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

and it works.

Let me the latest maven version to see if I get the same error.

D.

On Fri, Nov 6, 2009 at 8:06 AM, Richard Hirsch <hirsch.dick@gmail.com> 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 <benewu@gmail.com> 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 <benewu@gmail.com> 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 =
>>> >> '<HTML><HEAD><TITLE>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
>>
>

Mime
View raw message