You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jonathan Anstey (Created) (JIRA)" <ji...@apache.org> on 2011/11/16 21:07:51 UTC

[jira] [Created] (SMX4-969) features itests depends on old karaf management jar

features itests depends on old karaf management jar
---------------------------------------------------

                 Key: SMX4-969
                 URL: https://issues.apache.org/jira/browse/SMX4-969
             Project: ServiceMix 4
          Issue Type: Bug
            Reporter: Jonathan Anstey
            Priority: Minor


When I try to build the features trunk rev 1202843 it fails in the itests:

{code}
[janstey@duffman trunk]$ mvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.servicemix.examples:org.apache.servicemix.examples.itests.tests:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/examples/itests/tests/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for org.apache.karaf:org.apache.karaf.management:jar is missing. @ line 66, column 21
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
{code}

It is failing because there is no reference to org.apache.karaf:org.apache.karaf.management:jar here http://repo1.maven.org/maven2/org/apache/karaf/karaf/2.2.4/karaf-2.2.4.pom . We should switch to use those instead. 

Attaching a simple fix for this shortly.

--
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] (SMX4-969) features itests depends on old karaf management jar

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

Jonathan Anstey updated SMX4-969:
---------------------------------

    Attachment: SMX4-969.patch
    
> features itests depends on old karaf management jar
> ---------------------------------------------------
>
>                 Key: SMX4-969
>                 URL: https://issues.apache.org/jira/browse/SMX4-969
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Jonathan Anstey
>            Priority: Minor
>         Attachments: SMX4-969.patch
>
>
> When I try to build the features trunk rev 1202843 it fails in the itests:
> {code}
> [janstey@duffman trunk]$ mvn clean install
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.servicemix.examples:org.apache.servicemix.examples.itests.tests:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/examples/itests/tests/pom.xml) has 1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.karaf:org.apache.karaf.management:jar is missing. @ line 66, column 21
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> {code}
> It is failing because there is no reference to org.apache.karaf:org.apache.karaf.management:jar here http://repo1.maven.org/maven2/org/apache/karaf/karaf/2.2.4/karaf-2.2.4.pom . We should switch to use those instead. 
> Attaching a simple fix for this shortly.

--
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] [Assigned] (SMX4-969) features itests depends on old karaf management jar

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

Freeman Fang reassigned SMX4-969:
---------------------------------

    Assignee: Freeman Fang
    
> features itests depends on old karaf management jar
> ---------------------------------------------------
>
>                 Key: SMX4-969
>                 URL: https://issues.apache.org/jira/browse/SMX4-969
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Jonathan Anstey
>            Assignee: Freeman Fang
>            Priority: Minor
>         Attachments: SMX4-969.patch
>
>
> When I try to build the features trunk rev 1202843 it fails in the itests:
> {code}
> [janstey@duffman trunk]$ mvn clean install
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.servicemix.examples:org.apache.servicemix.examples.itests.tests:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/examples/itests/tests/pom.xml) has 1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.karaf:org.apache.karaf.management:jar is missing. @ line 66, column 21
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> {code}
> It is failing because there is no reference to org.apache.karaf:org.apache.karaf.management:jar here http://repo1.maven.org/maven2/org/apache/karaf/karaf/2.2.4/karaf-2.2.4.pom but a new management server jar. We should switch to use the new one. 
> Attaching a simple fix for this shortly.

--
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] (SMX4-969) features itests depends on old karaf management jar

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

Jonathan Anstey updated SMX4-969:
---------------------------------

    Description: 
When I try to build the features trunk rev 1202843 it fails in the itests:

{code}
[janstey@duffman trunk]$ mvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.servicemix.examples:org.apache.servicemix.examples.itests.tests:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/examples/itests/tests/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for org.apache.karaf:org.apache.karaf.management:jar is missing. @ line 66, column 21
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
{code}

It is failing because there is no reference to org.apache.karaf:org.apache.karaf.management:jar here http://repo1.maven.org/maven2/org/apache/karaf/karaf/2.2.4/karaf-2.2.4.pom but a new management server jar. We should switch to use the new one. 

Attaching a simple fix for this shortly.

  was:
When I try to build the features trunk rev 1202843 it fails in the itests:

{code}
[janstey@duffman trunk]$ mvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.servicemix.examples:org.apache.servicemix.examples.itests.tests:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/examples/itests/tests/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for org.apache.karaf:org.apache.karaf.management:jar is missing. @ line 66, column 21
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
{code}

It is failing because there is no reference to org.apache.karaf:org.apache.karaf.management:jar here http://repo1.maven.org/maven2/org/apache/karaf/karaf/2.2.4/karaf-2.2.4.pom . We should switch to use those instead. 

Attaching a simple fix for this shortly.

    
> features itests depends on old karaf management jar
> ---------------------------------------------------
>
>                 Key: SMX4-969
>                 URL: https://issues.apache.org/jira/browse/SMX4-969
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Jonathan Anstey
>            Priority: Minor
>         Attachments: SMX4-969.patch
>
>
> When I try to build the features trunk rev 1202843 it fails in the itests:
> {code}
> [janstey@duffman trunk]$ mvn clean install
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.servicemix.examples:org.apache.servicemix.examples.itests.tests:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/examples/itests/tests/pom.xml) has 1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.karaf:org.apache.karaf.management:jar is missing. @ line 66, column 21
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> {code}
> It is failing because there is no reference to org.apache.karaf:org.apache.karaf.management:jar here http://repo1.maven.org/maven2/org/apache/karaf/karaf/2.2.4/karaf-2.2.4.pom but a new management server jar. We should switch to use the new one. 
> Attaching a simple fix for this shortly.

--
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] [Work started] (SMX4-969) features itests depends on old karaf management jar

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

Work on SMX4-969 started by Freeman Fang.

> features itests depends on old karaf management jar
> ---------------------------------------------------
>
>                 Key: SMX4-969
>                 URL: https://issues.apache.org/jira/browse/SMX4-969
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Jonathan Anstey
>            Assignee: Freeman Fang
>            Priority: Minor
>         Attachments: SMX4-969.patch
>
>
> When I try to build the features trunk rev 1202843 it fails in the itests:
> {code}
> [janstey@duffman trunk]$ mvn clean install
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.servicemix.examples:org.apache.servicemix.examples.itests.tests:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/examples/itests/tests/pom.xml) has 1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.karaf:org.apache.karaf.management:jar is missing. @ line 66, column 21
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> {code}
> It is failing because there is no reference to org.apache.karaf:org.apache.karaf.management:jar here http://repo1.maven.org/maven2/org/apache/karaf/karaf/2.2.4/karaf-2.2.4.pom but a new management server jar. We should switch to use the new one. 
> Attaching a simple fix for this shortly.

--
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] [Resolved] (SMX4-969) features itests depends on old karaf management jar

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

Freeman Fang resolved SMX4-969.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.4.0

apply patch on behalf of Jon with thanks
http://svn.apache.org/viewvc?rev=1202968&view=rev
                
> features itests depends on old karaf management jar
> ---------------------------------------------------
>
>                 Key: SMX4-969
>                 URL: https://issues.apache.org/jira/browse/SMX4-969
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Jonathan Anstey
>            Assignee: Freeman Fang
>            Priority: Minor
>             Fix For: 4.4.0
>
>         Attachments: SMX4-969.patch
>
>
> When I try to build the features trunk rev 1202843 it fails in the itests:
> {code}
> [janstey@duffman trunk]$ mvn clean install
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.servicemix.examples:org.apache.servicemix.examples.itests.tests:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/examples/itests/tests/pom.xml) has 1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.karaf:org.apache.karaf.management:jar is missing. @ line 66, column 21
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> {code}
> It is failing because there is no reference to org.apache.karaf:org.apache.karaf.management:jar here http://repo1.maven.org/maven2/org/apache/karaf/karaf/2.2.4/karaf-2.2.4.pom but a new management server jar. We should switch to use the new one. 
> Attaching a simple fix for this shortly.

--
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] (SMX4-969) features itests depends on old karaf management jar

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

Freeman Fang commented on SMX4-969:
-----------------------------------

Yeah, it's same issue when when upgrade to karaf in nmr project.
As discussed in Maillinglist, we're going to use pax-exam based way to replace the itests in features and nmr
thanks for the patch, I'm going to apply it soon.
                
> features itests depends on old karaf management jar
> ---------------------------------------------------
>
>                 Key: SMX4-969
>                 URL: https://issues.apache.org/jira/browse/SMX4-969
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Jonathan Anstey
>            Assignee: Freeman Fang
>            Priority: Minor
>         Attachments: SMX4-969.patch
>
>
> When I try to build the features trunk rev 1202843 it fails in the itests:
> {code}
> [janstey@duffman trunk]$ mvn clean install
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.servicemix.examples:org.apache.servicemix.examples.itests.tests:4.4.0-SNAPSHOT (/x1/asf/servicemix/smx4/features/trunk/examples/itests/tests/pom.xml) has 1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.karaf:org.apache.karaf.management:jar is missing. @ line 66, column 21
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> {code}
> It is failing because there is no reference to org.apache.karaf:org.apache.karaf.management:jar here http://repo1.maven.org/maven2/org/apache/karaf/karaf/2.2.4/karaf-2.2.4.pom but a new management server jar. We should switch to use the new one. 
> Attaching a simple fix for this shortly.

--
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