ace-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toni Menzel <tonit....@googlemail.com>
Subject Re: gateway assembly
Date Wed, 06 Jan 2010 15:36:51 GMT
For Quick fix: i recall that the filenans has changed. So applying the  
new name in pom might be enough.

On 06.01.2010, at 16:22, Marcel Offermans  
<marcel.offermans@luminis.nl> wrote:

> Hello Toni,
>
> On Dec 17, 2009, at 14:37 , Toni Menzel wrote:
>
>> At http://incubator.apache.org/ace/maven-build.html under heading  
>> "targets"
>> there's a short description of the new dev-gateway goal.
>> If someone wants to try. Let us know how it works. Would then do  
>> the same
>> for dev-server and dev-server-webui.
>
> I just tried following the instructions, but got an error towards  
> the end. Here is the relevant part of the log:
>
>
> [INFO] [assembly:attached {execution: create-target}]
> [INFO] Reading assembly descriptor: src/main/assembly/devgateway.xml
> [INFO]  
> --- 
> ---------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]  
> --- 
> ---------------------------------------------------------------------
> [INFO] Error reading assemblies: Error locating assembly descriptor:  
> src/main/assembly/devgateway.xml
>
> [1] [INFO] Searching for file location: /Users/marcel/dev/ace/ace- 
> target-devgateway/src/main/assembly/devgateway.xml
>
> [2] [INFO] File: /Users/marcel/dev/ace/ace-target-devgateway/src/ 
> main/assembly/devgateway.xml does not exist.
>
> [3] [INFO] Invalid artifact specification: 'src/main/assembly/ 
> devgateway.xml'. Must contain at least three fields, separated by ':'.
>
> [4] [INFO] Failed to resolve classpath resource: assemblies/src/main/ 
> assembly/devgateway.xml from classloader:  
> org.codehaus.classworlds.RealmClassLoader@76996cca
>
> [5] [INFO] Failed to resolve classpath resource: src/main/assembly/ 
> devgateway.xml from classloader:  
> org.codehaus.classworlds.RealmClassLoader@76996cca
>
> [6] [INFO] File: /Users/marcel/dev/ace/src/main/assembly/ 
> devgateway.xml does not exist.
>
> [7] [INFO] Building URL from location: src/main/assembly/ 
> devgateway.xml
> Error:
> java.net.MalformedURLException: no protocol: src/main/assembly/ 
> devgateway.xml
>    at java.net.URL.<init>(URL.java:567)
>    at java.net.URL.<init>(URL.java:464)
>    at java.net.URL.<init>(URL.java:413)
>    at org.apache.maven.shared.io.location.URLLocatorStrategy.resolve 
> (URLLocatorStrategy.java:54)
>    at org.apache.maven.shared.io.location.Locator.resolve 
> (Locator.java:81)
>    at  
> org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.addAssemblyFromDescriptor(

> DefaultAssemblyReader.java:309)
>    at  
> org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.readAssemblies( 
> DefaultAssemblyReader.java:140)
>    at  
> org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute 
> (AbstractAssemblyMojo.java:352)
>    at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
> (DefaultPluginManager.java:490)
>    at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
> (DefaultLifecycleExecutor.java:694)
>    at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle( 
> DefaultLifecycleExecutor.java:556)
>    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
> (DefaultLifecycleExecutor.java:535)
>    at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures( 
> DefaultLifecycleExecutor.java:387)
>    at  
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( 
> DefaultLifecycleExecutor.java:348)
>    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
> (DefaultLifecycleExecutor.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:60)
>    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: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)
>

Mime
View raw message