On 1/16/07, beyond30lyc <[EMAIL PROTECTED]> wrote:

Hello,i want to expose .NET external web service to the jbi using your
method.my http consumer project is named external-service-consumer,and the
http provider is named external-service-provider,the assembly is named
external-service-assembly.
I have already installed the consumer and the provider.but when i deploy the
assembly,an error occurs as below:
[ERROR] mojo-execute : jbi:generate-jbi-service-assembly-descriptor
Diagnosis: The service unit external-service-http-provider does not have a
dependency which is packaged as a jbi-component or a project property
'componentName'
FATAL ERROR: Error executing Maven for a project
[ERROR] project-execute :
com.mycompany:external-service-assembly:jbi-service-assembly:1.0-SNAPSHOT (
task-segment: [install, jbi:projectDeploy] )
Diagnosis: The service unit external-service-http-provider does not have a
dependency which is packaged as a jbi-component or a project property
'componentName'
FATAL ERROR: Error executing Maven for a project
[INFO] jbi:projectDeploy
[INFO] snapshot com.mycompany:external-service-assembly:1.0-SNAPSHOT:
checking for updates from logicblaze
[INFO] ------------------ Deployment Analysis --------------------
[INFO] A custom project has 2 child dependencies
[INFO]  - jbi-service-assembly : C:\Documents and
Settings\Owner\.m2\repository\com\mycompany\external-service-assembly\1.0-SNAPSHOT\external-service-assembly-1.0-SNAPSHOT.zip
[INFO]  - jbi-component : C:\Documents and
Settings\Owner\.m2\repository\org\apache\servicemix\servicemix-http\fuse-3.0.1\servicemix-http-fuse-3.0.1-installer.zip
[INFO]  - jbi-shared-library : C:\Documents and
Settings\Owner\.m2\repository\org\apache\servicemix\servicemix-shared\fuse-3.0.1\servicemix-shared-fuse-3.0.1-installer.zip
[INFO] -----------------------------------------------------------
[INFO] external-service-assembly is deployed
[INFO] Stopping external-service-assembly
[INFO] Undeploying C:\Documents and
Settings\Owner\.m2\repository\com\mycompany\external-service-assembly\1.0-SNAPSHOT\external-service-assembly-1.0-SNAPSHOT.zip
[INFO] Deploying jbi-service-assembly from C:\Documents and
Settings\Owner\.m2\repository\com\mycompany\external-service-assembly\1.0-SNAPSHOT\external-service-assembly-1.0-SNAPSHOT.zip
[INFO] Starting external-service-assembly
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 206 second
[INFO] Finished at: Tue Jan 16 16:52:38 CST 2007
[INFO] Memory 10M/24M
[INFO]
----------------------------------------------------------------------------
[INFO] Error for project: A custom project (during install)
[INFO]
------------------------------------------------------------------------
[INFO] The service unit external-service-http-provider does not have a
dependency which is packaged as a jbi-component or a project property
'componentName'
[INFO]
------------------------------------------------------------------------
[INFO] Trace The service unit external-service-http-provider does not have a
dependency which is packaged as a jbi-component or a project property
'componentName'
[INFO]
------------------------------------------------------------------------
[ERROR] reactor-execute : D:\TOOLS\DEVELOPING
TOOLS\eclipse\eclipse2\eclipse\workspace\external-service-assembly
FATAL ERROR: Error executing Maven for a project
[INFO] BUILD ERRORS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 minutes 4 seconds
[INFO] Finished at: Tue Jan 16 16:52:38 CST 2007
[INFO] Final Memory: 10M/24M
[INFO]
------------------------------------------------------------------------
Exception in thread "main" java.lang.RuntimeException: Apache Maven build
exception [Some builds failed]
        at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:110)
Caused by: org.apache.maven.reactor.MavenExecutionException: Some builds
failed
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:210)
        at 
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:690)
        at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:107)

If you enable Maven's debug level output you should see a more
descriptive error. To enable Maven debug level output in the FUSE IDE,
go to Preferences->Maven2 and select Debug Output. The other option is
to compile the projects from the command line using the following
command:

mvn -X clean install

The -X will enable Maven debug level output.

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Reply via email to