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

Thank you!  but i have already done that,the pom.xml is like below:\
...
  <dependencies>
    <dependency>
      <groupId>org.apache.servicemix</groupId>
      <artifactId>servicemix-http</artifactId>
      <version>fuse-3.0.1</version>
    </dependency>
  </dependencies>

Yep, the dependency is there.

> [INFO] Generating jbi.xml
> [INFO] Determining component name for service unit
> external-service-http-consumer
> [INFO] Project [EMAIL PROTECTED] packaged
> jbi-component
> [INFO] Determining component name for service unit
> external-service-http-provider2
> [ERROR] mojo-execute : jbi:generate-jbi-service-assembly-descriptor
> Diagnosis: The service unit external-service-http-provider2 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-provider2 does not have
> a
> dependency which is packaged as a jbi-component or a project property
> 'componentName'
>
> The error above indicates that there is no dependency on a JBI
> component in the pom.xml file for the external-service-http-provider2
> project. I gather that this project SU is for the servicemix-http
> component, correct? If so, then the pom.xml file should list a
> dependency on that component. Please post the pom.xml file for that
> component.

But we can't deny the error that is occurring. Try to compile each
project individually from the command line using the following
command:

$ mvn clean install

If you don't have a top level POM with knowledge of all the SU and SA
projects, you will need to manually build each project in the proper
order - SUs first followed by SAs.

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