karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Kuhtz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3809) Create assembly fails under Windows
Date Mon, 29 Jun 2015 17:27:05 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14605936#comment-14605936
] 

Andreas Kuhtz commented on KARAF-3809:
--------------------------------------

PR is updated.

> Create assembly fails under Windows
> -----------------------------------
>
>                 Key: KARAF-3809
>                 URL: https://issues.apache.org/jira/browse/KARAF-3809
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 4.0.0
>         Environment: Windows 7
> java version "1.7.0_65"
> Java(TM) SE Runtime Environment (build 1.7.0_65-b19)
> Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
>            Reporter: Andreas Kuhtz
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.1
>
>
> Create an assembly with the karaf-maven-plugin fails under Windows.
> This is the first problem:
> {code}
> [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.0:assembly
(process-resources) on project distribution: Unable to build assembly: Error -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.0:assembly
(process-resources) on project distribution: Unable to build assembly
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to build assembly
> 	at org.apache.karaf.tooling.AssemblyMojo.execute(AssemblyMojo.java:170)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> 	... 19 more
> Caused by: org.apache.karaf.features.internal.util.MultiException: Error
> 	at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:84)
> 	at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72)
> 	at org.apache.karaf.profile.assembly.Builder.loadRepositories(Builder.java:1029)
> 	at org.apache.karaf.profile.assembly.Builder.bootStage(Builder.java:703)
> 	at org.apache.karaf.profile.assembly.Builder.doGenerateAssembly(Builder.java:554)
> 	at org.apache.karaf.profile.assembly.Builder.generateAssembly(Builder.java:352)
> 	at org.apache.karaf.tooling.AssemblyMojo.doExecute(AssemblyMojo.java:296)
> 	at org.apache.karaf.tooling.AssemblyMojo.execute(AssemblyMojo.java:164)
> 	... 21 more
> 	Suppressed: java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/D:/svn/<some
of my directories>/distribution/target/assembly/system/org/apache/karaf/features/framework/4.0.0/framework-4.0.0-features.xml
> 		at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
> 		at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
> 		at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
> 		at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
> 		at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
> 		at sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53)
> 		at org.apache.karaf.profile.assembly.Builder$4.downloaded(Builder.java:1040)
> 		at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133)
> 		at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127)
> 		at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344)
> 		at org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:293)
> 		at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127)
> 		at org.apache.karaf.profile.assembly.Builder.loadRepositories(Builder.java:1035)
> 		... 26 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message