You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Aileen Cunningham (JIRA)" <ji...@apache.org> on 2008/09/12 14:06:52 UTC

[jira] Created: (SMX4-102) examples-cxf-osgi fails to install in 12th Sept distribution

examples-cxf-osgi fails to install in 12th Sept distribution
------------------------------------------------------------

                 Key: SMX4-102
                 URL: https://issues.apache.org/activemq/browse/SMX4-102
             Project: ServiceMix 4
          Issue Type: Bug
         Environment: Windows XP
            Reporter: Aileen Cunningham


When I try to run the examples-cxf-osgi demo in 12th Sept distribution it fails to install with the following error

servicemix>   features install examples-cxf-osgi
ERROR RuntimeException: URL [mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features] could not be resolved. (enable TRACE logging for details)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4-102) examples-cxf-osgi fails to install in 12th Sept distribution

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45749#action_45749 ] 

Freeman Fang commented on SMX4-102:
-----------------------------------

Hi Gert,

This solution doesn't work for me, I'm on linux box but my local repo isn't in default path

Regards
Freeman

> examples-cxf-osgi fails to install in 12th Sept distribution
> ------------------------------------------------------------
>
>                 Key: SMX4-102
>                 URL: https://issues.apache.org/activemq/browse/SMX4-102
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Aileen Cunningham
>
> When I try to run the examples-cxf-osgi demo in 12th Sept distribution it fails to install with the following error
> servicemix>   features install examples-cxf-osgi
> ERROR RuntimeException: URL [mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features] could not be resolved. (enable TRACE logging for details)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4-102) examples-cxf-osgi fails to install in 12th Sept distribution

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45656#action_45656 ] 

Willem Jiang commented on SMX4-102:
-----------------------------------

Hi Aileen,

I got the same error when I tested the servicemix apache kit few days ago. It is caused by pax can't find the snapshot version of features.xml from ${servicemix.home}/system and http://repo1.maven.org/maven2 . Here is a way to walk around this issue.

Edit the org.ops4j.pax.url.mvn.cfg in $SMX_HOME\etc, commented out the line 
#org.ops4j.pax.url.mvn.localRepository=file:${servicemix.home}/system@snapshots

In this way, pax will get the snapshots modules from the maven repo which you specify in your setting.xml.

Willem



> examples-cxf-osgi fails to install in 12th Sept distribution
> ------------------------------------------------------------
>
>                 Key: SMX4-102
>                 URL: https://issues.apache.org/activemq/browse/SMX4-102
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Aileen Cunningham
>
> When I try to run the examples-cxf-osgi demo in 12th Sept distribution it fails to install with the following error
> servicemix>   features install examples-cxf-osgi
> ERROR RuntimeException: URL [mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features] could not be resolved. (enable TRACE logging for details)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4-102) examples-cxf-osgi fails to install in 12th Sept distribution

Posted by "Edell Nolan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45731#action_45731 ] 

Edell Nolan commented on SMX4-102:
----------------------------------

Hi Gert, 

That seems to do the trick and it finds my repo that is not in the default location. I also had both the release and snapshot repos' listed.

thanks, Edell.

> examples-cxf-osgi fails to install in 12th Sept distribution
> ------------------------------------------------------------
>
>                 Key: SMX4-102
>                 URL: https://issues.apache.org/activemq/browse/SMX4-102
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Aileen Cunningham
>
> When I try to run the examples-cxf-osgi demo in 12th Sept distribution it fails to install with the following error
> servicemix>   features install examples-cxf-osgi
> ERROR RuntimeException: URL [mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features] could not be resolved. (enable TRACE logging for details)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SMX4-102) examples-cxf-osgi fails to install in 12th Sept distribution

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SMX4-102.
-------------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?rev=696294&view=rev

> examples-cxf-osgi fails to install in 12th Sept distribution
> ------------------------------------------------------------
>
>                 Key: SMX4-102
>                 URL: https://issues.apache.org/activemq/browse/SMX4-102
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Aileen Cunningham
>            Assignee: Freeman Fang
>
> When I try to run the examples-cxf-osgi demo in 12th Sept distribution it fails to install with the following error
> servicemix>   features install examples-cxf-osgi
> ERROR RuntimeException: URL [mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features] could not be resolved. (enable TRACE logging for details)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4-102) examples-cxf-osgi fails to install in 12th Sept distribution

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45701#action_45701 ] 

Gert Vanthienen commented on SMX4-102:
--------------------------------------

Willem, Edell,

Could you try with 
{noformat}
org.ops4j.pax.url.mvn.localRepository=file:${servicemix.home}/system@snapshots
org.ops4j.pax.url.mvn.repositories=+file:${user.home}/.m2/repository@snapshots  
{noformat}

Be sure to add the extra + in the repositories one.  This will also trigger pax mvn to go look at the settings.xml file for more repositories.  You can also add you own, local repo there if you have moved it.

Regards,

Gert

> examples-cxf-osgi fails to install in 12th Sept distribution
> ------------------------------------------------------------
>
>                 Key: SMX4-102
>                 URL: https://issues.apache.org/activemq/browse/SMX4-102
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Aileen Cunningham
>
> When I try to run the examples-cxf-osgi demo in 12th Sept distribution it fails to install with the following error
> servicemix>   features install examples-cxf-osgi
> ERROR RuntimeException: URL [mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features] could not be resolved. (enable TRACE logging for details)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4-102) examples-cxf-osgi fails to install in 12th Sept distribution

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45658#action_45658 ] 

Willem Jiang commented on SMX4-102:
-----------------------------------

Guillaume, my local repo is not in the ~/.m2/respository, I specify it in my setting.xml.
So org.ops4j.pax.url.mvn.repositories=file:${user.home}/.m2/repository@snapshots,http://repo1.maven.org/maven2 is not work for me.



> examples-cxf-osgi fails to install in 12th Sept distribution
> ------------------------------------------------------------
>
>                 Key: SMX4-102
>                 URL: https://issues.apache.org/activemq/browse/SMX4-102
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Aileen Cunningham
>
> When I try to run the examples-cxf-osgi demo in 12th Sept distribution it fails to install with the following error
> servicemix>   features install examples-cxf-osgi
> ERROR RuntimeException: URL [mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features] could not be resolved. (enable TRACE logging for details)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4-102) examples-cxf-osgi fails to install in 12th Sept distribution

Posted by "Edell Nolan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45693#action_45693 ] 

Edell Nolan commented on SMX4-102:
----------------------------------

I have the same problem on windows in that my repo is not in the default location. 

Is there a way we can help users specify some environment variable if its not in the default location.

Edell.

> examples-cxf-osgi fails to install in 12th Sept distribution
> ------------------------------------------------------------
>
>                 Key: SMX4-102
>                 URL: https://issues.apache.org/activemq/browse/SMX4-102
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Aileen Cunningham
>
> When I try to run the examples-cxf-osgi demo in 12th Sept distribution it fails to install with the following error
> servicemix>   features install examples-cxf-osgi
> ERROR RuntimeException: URL [mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features] could not be resolved. (enable TRACE logging for details)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4-102) examples-cxf-osgi fails to install in 12th Sept distribution

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45657#action_45657 ] 

Guillaume Nodet commented on SMX4-102:
--------------------------------------

I disagree with the proposed change.
There was a reason for this change which is outlined in https://issues.apache.org/activemq/browse/SMX4KNL-70
Willem, is your local repo in the default location in ~/.m2/repository ?

> examples-cxf-osgi fails to install in 12th Sept distribution
> ------------------------------------------------------------
>
>                 Key: SMX4-102
>                 URL: https://issues.apache.org/activemq/browse/SMX4-102
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Aileen Cunningham
>
> When I try to run the examples-cxf-osgi demo in 12th Sept distribution it fails to install with the following error
> servicemix>   features install examples-cxf-osgi
> ERROR RuntimeException: URL [mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features] could not be resolved. (enable TRACE logging for details)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SMX4-102) examples-cxf-osgi fails to install in 12th Sept distribution

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SMX4-102:
---------------------------------

    Assignee: Freeman Fang

> examples-cxf-osgi fails to install in 12th Sept distribution
> ------------------------------------------------------------
>
>                 Key: SMX4-102
>                 URL: https://issues.apache.org/activemq/browse/SMX4-102
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Aileen Cunningham
>            Assignee: Freeman Fang
>
> When I try to run the examples-cxf-osgi demo in 12th Sept distribution it fails to install with the following error
> servicemix>   features install examples-cxf-osgi
> ERROR RuntimeException: URL [mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features] could not be resolved. (enable TRACE logging for details)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4-102) examples-cxf-osgi fails to install in 12th Sept distribution

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45767#action_45767 ] 

Freeman Fang commented on SMX4-102:
-----------------------------------

After have chat with Guillaume, we need add http://people.apache.org/repo/m2-snapshot-repository@snapshots@noreleases and http://svn.apache.org/repos/asf/servicemix/m2-repo ensure it works even customers local maven repo isn't in the default path

> examples-cxf-osgi fails to install in 12th Sept distribution
> ------------------------------------------------------------
>
>                 Key: SMX4-102
>                 URL: https://issues.apache.org/activemq/browse/SMX4-102
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Aileen Cunningham
>
> When I try to run the examples-cxf-osgi demo in 12th Sept distribution it fails to install with the following error
> servicemix>   features install examples-cxf-osgi
> ERROR RuntimeException: URL [mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features] could not be resolved. (enable TRACE logging for details)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.