geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bohn <joe.b...@earthlink.net>
Subject Re: 505174 build failure
Date Thu, 15 Feb 2007 16:47:36 GMT
Yes, it does use the maven-dependency-plugin.

Joe


Joe Bohn wrote:
> Here's the details:
> 
> [DEBUG] getProperty(ns=null, name=project.build.directory, user=false)
>     [unzip] Expanding: 
> /home/tck/geronimo/trunk/modules/geronimo-j2ee-builder/target/test-ear-javaee_5.ear 
> into 
> /home/tck/geronimo/trunk/modules/geronimo-j2ee-builder/target/test-ear-javaee_5-unpacked.ear

> 
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Error executing ant tasks
> 
> Embedded error: Error while expanding 
> /home/tck/geronimo/trunk/modules/geronimo-j2ee-builder/target/test-ear-javaee_5.ear 
> 
> /home/tck/geronimo/trunk/modules/geronimo-j2ee-builder/target/test-ear-javaee_5.ear 
> (No such file or directory)
> [INFO] 
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error executing 
> ant tasks
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)

> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)

> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)

> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)

> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)

> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)

> 
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
> 
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

> 
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         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.MojoExecutionException: Error 
> executing ant tasks
>         at 
> org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:114)

> 
>         at 
> org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)

> 
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)

> 
>         ... 16 more
> Caused by: Error while expanding 
> /home/tck/geronimo/trunk/modules/geronimo-j2ee-builder/target/test-ear-javaee_5.ear 
> 
>         at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:128)
>         at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:92)
>         at 
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at 
> org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:108)

> 
>         ... 19 more
> Caused by: java.io.FileNotFoundException: 
> /home/tck/geronimo/trunk/modules/geronimo-j2ee-builder/target/test-ear-javaee_5.ear 
> (No such file or directory)
>         at java.io.RandomAccessFile.open(Native Method)
>         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
>         at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:140)
>         at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:117)
>         ... 24 more
> 
> Jason Dillon wrote:
>> What's the failure?  Does this use the dependency-maven-plugin (or now 
>> the maven-dependency-plugin)?  I updated that last night (or was it 
>> this morning)...
>>
>> --jason
>>
>>
>> On Feb 15, 2007, at 7:56 AM, Joe Bohn wrote:
>>
>>> And I'm seeing it on rev. 507970 as well.  I don't see any recent 
>>> changes in this space.  The target doesn't contain the ear it is 
>>> supposed to and after the failure we just have an empty directory 
>>> with the ear name suffixed with "-unpacked".   Building within the 
>>> module didn't help.
>>>
>>> Joe
>>>
>>>
>>> Rakesh Midha wrote:
>>>> I am getting this on revision 507910
>>>> Any idea how to fix it?
>>>> Thanks
>>>> Rakesh
>>>> On 2/9/07, *Ted Kirby* < ted.kirby@gmail.com 
>>>> <mailto:ted.kirby@gmail.com>> wrote:
>>>>     Now, I get this failure:
>>>>     [INFO] Executing tasks
>>>>         [unzip] Expanding:
>>>>     C:\g\modules\geronimo-j2ee-builder\target\test-ear-javaee
>>>>     _5.ear into
>>>>     
>>>> C:\g\modules\geronimo-j2ee-builder\target\test-ear-javaee_5-unpacked
>>>>     .ear
>>>>     [INFO]
>>>>     
>>>> ------------------------------------------------------------------------

>>>>
>>>>     [ERROR] BUILD ERROR
>>>>     [INFO]
>>>>     
>>>> ------------------------------------------------------------------------

>>>>
>>>>     [INFO] Error executing ant tasks
>>>>     Embedded error: Error while expanding
>>>>     C:\g\modules\geronimo-j2ee-builder\target\
>>>>     test-ear-javaee_5.ear
>>>>     C:\g\modules\geronimo-j2ee-builder\target\test-ear-javaee_5.ear 
>>>> (The
>>>>     system cann
>>>>     ot find the file specified.)
>>>>     On 2/9/07, Ted Kirby <ted.kirby@gmail.com
>>>>     <mailto:ted.kirby@gmail.com>> wrote:
>>>>      > From head 505174, I was getting this error:
>>>>      > Compiling 89 source files to
>>>>     C:\g\modules\geronimo-connector\target\classes
>>>>      > [INFO]
>>>>     
>>>> ------------------------------------------------------------------------

>>>>
>>>>      > [ERROR] BUILD FAILURE
>>>>      > [INFO]
>>>>     
>>>> ------------------------------------------------------------------------

>>>>
>>>>      > [INFO] Compilation failure
>>>>      >
>>>>      >
>>>>     
>>>> C:\g\modules\geronimo-connector\src\main\java\org\apache\geronimo\connector\outbound\GeronimoConnectionEventListener.java:[28,34]

>>>>
>>>>      > package org.apache.commons.logging does not exist
>>>>      >
>>>>      >
>>>>     
>>>> C:\g\modules\geronimo-connector\src\main\java\org\apache\geronimo\connector\outbound\Gero

>>>>
>>>>      >
>>>>      > I added the dependency to
>>>>     C:\g\modules\geronimo-connector\pom.xml, and
>>>>      > was able to progress:
>>>>      >
>>>>      > <dependency>
>>>>      >             <groupId>commons-logging</groupId>
>>>>      >             <artifactId>commons-logging</artifactId>
>>>>      >         </dependency>
>>>>      >
>>
>>
> 

Mime
View raw message