You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ford Guo (JIRA)" <ji...@apache.org> on 2012/06/11 17:46:42 UTC

[jira] [Created] (KARAF-1532) packing with karaf-assembly error

Ford Guo created KARAF-1532:
-------------------------------

             Summary: packing with karaf-assembly error
                 Key: KARAF-1532
                 URL: https://issues.apache.org/jira/browse/KARAF-1532
             Project: Karaf
          Issue Type: Bug
          Components: karaf-tooling
    Affects Versions: 3.0.0
         Environment: Karaf 3.0.0-SNAPSHOT 
            Reporter: Ford Guo


In my features,I have the wrap:mvn:.....,now when I use karaf-assembly to custom distribute ,the mvn give me not found wrap:mvn:jar ... error.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-1532) packing with karaf-assembly error

Posted by "Ford Guo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292848#comment-13292848 ] 

Ford Guo commented on KARAF-1532:
---------------------------------

I can use such code to fix it,so just a tips :)

add the code to InstallKarsMojo.java


    public File resolve(String id) throws MojoFailureException {
        if (id.startsWith("wrap:")) {
            id = id.substring(5);
        }


                
> packing with karaf-assembly error
> ---------------------------------
>
>                 Key: KARAF-1532
>                 URL: https://issues.apache.org/jira/browse/KARAF-1532
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 3.0.0
>         Environment: Karaf 3.0.0-SNAPSHOT 
>            Reporter: Ford Guo
>
> In my features,I have the wrap:mvn:.....,now when I use karaf-assembly to custom distribute ,the mvn give me not found wrap:mvn:jar ... error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (KARAF-1532) packing with karaf-assembly error

Posted by "Ford Guo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ford Guo updated KARAF-1532:
----------------------------

    Attachment: InstallKarsMojo.java.diff

my solution patch
                
> packing with karaf-assembly error
> ---------------------------------
>
>                 Key: KARAF-1532
>                 URL: https://issues.apache.org/jira/browse/KARAF-1532
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 3.0.0
>         Environment: Karaf 3.0.0-SNAPSHOT 
>            Reporter: Ford Guo
>         Attachments: InstallKarsMojo.java.diff
>
>
> In my features,I have the wrap:mvn:.....,now when I use karaf-assembly to custom distribute ,the mvn give me not found wrap:mvn:jar ... error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira