karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-3472) karaf-maven-plugin doesn't install kar features xml in the correct directory
Date Sun, 25 Jan 2015 17:34:34 GMT

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

Jean-Baptiste Onofré commented on KARAF-3472:
---------------------------------------------

Fixed on karaf-3.0.x: https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=3ff18ef5c6f30cc2e8d1eacd8b347b519b3e79a9

> karaf-maven-plugin doesn't install kar features xml in the correct directory
> ----------------------------------------------------------------------------
>
>                 Key: KARAF-3472
>                 URL: https://issues.apache.org/jira/browse/KARAF-3472
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 3.0.3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>             Fix For: 3.0.3
>
>
> I am having a problem building the Snapshot 3.0.3, the problem would be in the maven
plugin when building the minimal distributition:
> {code}
> java.lang.RuntimeException: Unable to create target directory:
> D:\Projects\Jeet\karaf\assemblies\apache-karaf-minimal\target\assembly\system\D:\Projects\Jeet\karaf\assemblies\apache-karaf-minimal\target\assembly\system\org\apache\karaf\features\framework\3.0.3-SNAPSHOT
> 	at
> org.apache.karaf.tooling.utils.MojoSupport.ensureDirExists(MojoSupport.java:402)
> 	at org.apache.karaf.tooling.utils.MojoSupport.copy(MojoSupport.java:371)
> 	at
> org.apache.karaf.tooling.features.InstallKarsMojo.resolveRepository(InstallKarsMojo.java:389)
> 	at
> org.apache.karaf.tooling.features.InstallKarsMojo.execute(InstallKarsMojo.java:174)
> {code}
> In file InstallkarsMojo.java line 386:
> {code}
> File repositoryFileInSystemFolder = new File(new File(system), repository);
> System is
> D:\Projects\Jeet\karaf\assemblies\apache-karaf-minimal\target\assembly\system
> Repository URI is
> D:\Projects\Jeet\karaf\assemblies\apache-karaf-minimal\target\assembly\system\org\apache\karaf\features\framework\3.0.3-SNAPSHOT
> {code}
> I did this change to handle spaces in path.



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

Mime
View raw message