You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Jaime Hablutzel Egoavil <ha...@gmail.com> on 2009/10/21 16:16:51 UTC

Multiple problems building servicemix and examples

Hi i'm getting into multiple problems trying to build the servicemix
examples, I've downloaded a servicemix build from here:

http://hudson.zones.apache.org/hudson/job/ServiceMix-Features/org.apache.servicemix$apache-servicemix/lastSuccessfulBuild/artifact/org.apache.servicemix/apache-servicemix/4.1.0-SNAPSHOT/

I've build cxf-osgi example succesfully, but when trying to build
"cxf-wsdl-first-osgi-package" I receive the following maven error, I think
the error is somehow related to the red highlighted section, but I can't
figure out how to fix it, because of the poor documentation about
com.sun.codemodel.CodeWriter



D:\jaime\apache-servicemix-4.1.0-SNAPSHOT\examples\cxf-wsdl-first-osgi-package>m
vn install
[INFO] Scanning for projects...
[INFO] snapshot org.apache.servicemix.features:features:4.1.0-SNAPSHOT:
checking
 for updates from apache.snapshots
[WARNING] repository metadata for: 'snapshot
org.apache.servicemix.features:feat
ures:4.1.0-SNAPSHOT' could not be retrieved from repository:
apache.snapshots du
e to an error: Error transferring file: Connection reset
[INFO] Repository 'apache.snapshots' will be blacklisted
[INFO] Reactor build order:
[INFO]   ServiceMix :: Samples :: CXF WSDL first Osgi Package
[INFO]   ServiceMix :: Samples :: WSDL first :: CXF SE BUNDLE
[INFO]   ServiceMix :: Samples :: WSDL first :: CXF BC BUNDLE
[INFO]   ServiceMix :: Samples :: WSDL first :: Client
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: CXF WSDL first Osgi Package
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [dependency:copy {execution: copy-legal}]
[INFO] Configured Artifact: org.apache.servicemix.legal:legal:1.0:xml
[INFO] org.apache.servicemix.legal:legal:1.0:xml already exists in
D:\jaime\apac
he-servicemix-4.1.0-SNAPSHOT\examples\cxf-wsdl-first-osgi-package\target\legal
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing
D:\jaime\apache-servicemix-4.1.0-SNAPSHOT\examples\cxf-wsdl-fi
rst-osgi-package\pom.xml to
C:\m2\repo\org\apache\servicemix\examples\cxf-wsdl-f
irst-osgi-package\4.1.0-SNAPSHOT\cxf-wsdl-first-osgi-package-4.1.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: WSDL first :: CXF SE BUNDLE
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [cxf-codegen:wsdl2java {execution: default}]
Loading FrontEnd jaxws ...
Loading DataBinding jaxb ...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] com/sun/codemodel/CodeWriter

com.sun.codemodel.CodeWriter
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Wed Oct 21 09:06:58 COT 2009
[INFO] Final Memory: 31M/56M
[INFO]
------------------------------------------------------------------------

-- 
Jaime Hablutzel

(tildes omitidas intencionalmente) 9 8964 0369

Re: Multiple problems building servicemix and examples

Posted by Jaime Hablutzel Egoavil <ha...@gmail.com>.
sun jdk1.6.0_14

On Wed, Oct 21, 2009 at 9:25 AM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:

> Hi Jaime,
>
> do you use a Sun JDK or an IBM one ?
>
> Regards
> JB
>
>
> Jaime Hablutzel Egoavil wrote:
>
>> Hi i'm getting into multiple problems trying to build the servicemix
>> examples, I've downloaded a servicemix build from here:
>>
>>
>> http://hudson.zones.apache.org/hudson/job/ServiceMix-Features/org.apache.servicemix$apache-servicemix/lastSuccessfulBuild/artifact/org.apache.servicemix/apache-servicemix/4.1.0-SNAPSHOT/
>>
>> I've build cxf-osgi example succesfully, but when trying to build
>> "cxf-wsdl-first-osgi-package" I receive the following maven error, I think
>> the error is somehow related to the red highlighted section, but I can't
>> figure out how to fix it, because of the poor documentation about
>> com.sun.codemodel.CodeWriter
>>
>>
>>
>>
>> D:\jaime\apache-servicemix-4.1.0-SNAPSHOT\examples\cxf-wsdl-first-osgi-package>m
>> vn install
>> [INFO] Scanning for projects...
>> [INFO] snapshot org.apache.servicemix.features:features:4.1.0-SNAPSHOT:
>> checking
>>  for updates from apache.snapshots
>> [WARNING] repository metadata for: 'snapshot
>> org.apache.servicemix.features:feat
>> ures:4.1.0-SNAPSHOT' could not be retrieved from repository:
>> apache.snapshots du
>> e to an error: Error transferring file: Connection reset
>> [INFO] Repository 'apache.snapshots' will be blacklisted
>> [INFO] Reactor build order:
>> [INFO]   ServiceMix :: Samples :: CXF WSDL first Osgi Package
>> [INFO]   ServiceMix :: Samples :: WSDL first :: CXF SE BUNDLE
>> [INFO]   ServiceMix :: Samples :: WSDL first :: CXF BC BUNDLE
>> [INFO]   ServiceMix :: Samples :: WSDL first :: Client
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building ServiceMix :: Samples :: CXF WSDL first Osgi Package
>> [INFO]    task-segment: [install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [dependency:copy {execution: copy-legal}]
>> [INFO] Configured Artifact: org.apache.servicemix.legal:legal:1.0:xml
>> [INFO] org.apache.servicemix.legal:legal:1.0:xml already exists in
>> D:\jaime\apac
>>
>> he-servicemix-4.1.0-SNAPSHOT\examples\cxf-wsdl-first-osgi-package\target\legal
>> [INFO] Setting property: classpath.resource.loader.class =>
>> 'org.codehaus.plexus
>> .velocity.ContextClassLoaderResourceLoader'.
>> [INFO] Setting property: velocimacro.messages.on => 'false'.
>> [INFO] Setting property: resource.loader => 'classpath'.
>> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
>> [INFO] [remote-resources:process {execution: default}]
>> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
>> [INFO] [install:install {execution: default-install}]
>> [INFO] Installing
>> D:\jaime\apache-servicemix-4.1.0-SNAPSHOT\examples\cxf-wsdl-fi
>> rst-osgi-package\pom.xml to
>> C:\m2\repo\org\apache\servicemix\examples\cxf-wsdl-f
>>
>> irst-osgi-package\4.1.0-SNAPSHOT\cxf-wsdl-first-osgi-package-4.1.0-SNAPSHOT.pom
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building ServiceMix :: Samples :: WSDL first :: CXF SE BUNDLE
>> [INFO]    task-segment: [install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [cxf-codegen:wsdl2java {execution: default}]
>> Loading FrontEnd jaxws ...
>> Loading DataBinding jaxb ...
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] com/sun/codemodel/CodeWriter
>>
>> com.sun.codemodel.CodeWriter
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 9 seconds
>> [INFO] Finished at: Wed Oct 21 09:06:58 COT 2009
>> [INFO] Final Memory: 31M/56M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>


-- 
Jaime Hablutzel

(tildes omitidas intencionalmente) 9 8964 0369

Re: Multiple problems building servicemix and examples

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Jaime,

do you use a Sun JDK or an IBM one ?

Regards
JB

Jaime Hablutzel Egoavil wrote:
> Hi i'm getting into multiple problems trying to build the servicemix
> examples, I've downloaded a servicemix build from here:
> 
> http://hudson.zones.apache.org/hudson/job/ServiceMix-Features/org.apache.servicemix$apache-servicemix/lastSuccessfulBuild/artifact/org.apache.servicemix/apache-servicemix/4.1.0-SNAPSHOT/
> 
> I've build cxf-osgi example succesfully, but when trying to build
> "cxf-wsdl-first-osgi-package" I receive the following maven error, I think
> the error is somehow related to the red highlighted section, but I can't
> figure out how to fix it, because of the poor documentation about
> com.sun.codemodel.CodeWriter
> 
> 
> 
> D:\jaime\apache-servicemix-4.1.0-SNAPSHOT\examples\cxf-wsdl-first-osgi-package>m
> vn install
> [INFO] Scanning for projects...
> [INFO] snapshot org.apache.servicemix.features:features:4.1.0-SNAPSHOT:
> checking
>  for updates from apache.snapshots
> [WARNING] repository metadata for: 'snapshot
> org.apache.servicemix.features:feat
> ures:4.1.0-SNAPSHOT' could not be retrieved from repository:
> apache.snapshots du
> e to an error: Error transferring file: Connection reset
> [INFO] Repository 'apache.snapshots' will be blacklisted
> [INFO] Reactor build order:
> [INFO]   ServiceMix :: Samples :: CXF WSDL first Osgi Package
> [INFO]   ServiceMix :: Samples :: WSDL first :: CXF SE BUNDLE
> [INFO]   ServiceMix :: Samples :: WSDL first :: CXF BC BUNDLE
> [INFO]   ServiceMix :: Samples :: WSDL first :: Client
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ServiceMix :: Samples :: CXF WSDL first Osgi Package
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [dependency:copy {execution: copy-legal}]
> [INFO] Configured Artifact: org.apache.servicemix.legal:legal:1.0:xml
> [INFO] org.apache.servicemix.legal:legal:1.0:xml already exists in
> D:\jaime\apac
> he-servicemix-4.1.0-SNAPSHOT\examples\cxf-wsdl-first-osgi-package\target\legal
> [INFO] Setting property: classpath.resource.loader.class =>
> 'org.codehaus.plexus
> .velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing
> D:\jaime\apache-servicemix-4.1.0-SNAPSHOT\examples\cxf-wsdl-fi
> rst-osgi-package\pom.xml to
> C:\m2\repo\org\apache\servicemix\examples\cxf-wsdl-f
> irst-osgi-package\4.1.0-SNAPSHOT\cxf-wsdl-first-osgi-package-4.1.0-SNAPSHOT.pom
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ServiceMix :: Samples :: WSDL first :: CXF SE BUNDLE
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [cxf-codegen:wsdl2java {execution: default}]
> Loading FrontEnd jaxws ...
> Loading DataBinding jaxb ...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] com/sun/codemodel/CodeWriter
> 
> com.sun.codemodel.CodeWriter
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 9 seconds
> [INFO] Finished at: Wed Oct 21 09:06:58 COT 2009
> [INFO] Final Memory: 31M/56M
> [INFO]
> ------------------------------------------------------------------------
>