Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
I have a SA composed by the following SU:
- SU1 based on CXF-SE component
- SU2 based on CXF-SE component
- SU3 based on HTTP component
Using JBI Maven plugin 4.0, I have no problem to build this SA:
mvn install
[...]
[INFO] Determining component name for service unit note-service-bos-su
[INFO] Project MavenProject: org.apache.servicemix:servicemix-cxf-se:2009.01.1-fsb-SNAPSHOT @ packaged jbi-component
[INFO] Determining component name for service unit note-service-ff-su
[INFO] Project MavenProject: org.apache.servicemix:servicemix-cxf-se:2009.01.1-fsb-SNAPSHOT @ packaged jbi-component
[INFO] Determining component name for service unit note-service-http-listener-su
[INFO] Project MavenProject: org.apache.servicemix:servicemix-http:2009.01.1-fsb-SNAPSHOT @ packaged jbi-component
[INFO] [jbi:generate-depends-file
]
[INFO] Created: /home/jb/workspace/pf-fsb-services/note-service/note-service-sa/target/classes/META-INF/maven/dependencies.properties
[INFO] [resources:resources
]
[WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/jb/workspace/pf-fsb-services/note-service/note-service-sa/src/main/resources
[INFO] [compiler:compile
]
[INFO] No sources to compile
[INFO] [resources:testResources
]
[WARNING] Using platform encoding (ISO-8859-1 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/jb/workspace/pf-fsb-services/note-service/note-service-sa/src/test/resources
[INFO] [compiler:testCompile
]
[INFO] No sources to compile
[INFO] [surefire:test
]
[INFO] No tests to run.
[INFO] [jbi:jbi-service-assembly
]
[INFO] Generating service assembly /home/jb/workspace/pf-fsb-services/note-service/note-service-sa/target/note-service-sa-2009.3.00.rc3-SNAPSHOT.zip
[INFO] Building jar: /home/jb/workspace/pf-fsb-services/note-service/note-service-sa/target/note-service-sa-2009.3.00.rc3-SNAPSHOT.zip
[INFO] [jar:jar
]
[INFO] Building jar: /home/jb/workspace/pf-fsb-services/note-service/note-service-sa/target/note-service-sa-2009.3.00.rc3-SNAPSHOT.jar
[INFO] [install:install
]
[INFO] Installing /home/jb/workspace/pf-fsb-services/note-service/note-service-sa/target/note-service-sa-2009.3.00.rc3-SNAPSHOT.jar to /home/jb/.m2/repository/com/fimasys/fsb/profinance/services/note-service/note-service-sa/2009.3.00.rc3-SNAPSHOT/note-service-sa-2009.3.00.rc3-SNAPSHOT.zip
[INFO] Installing /home/jb/workspace/pf-fsb-services/note-service/note-service-sa/target/note-service-sa-2009.3.00.rc3-SNAPSHOT.zip to /home/jb/.m2/repository/com/fimasys/fsb/profinance/services/note-service/note-service-sa/2009.3.00.rc3-SNAPSHOT/note-service-sa-2009.3.00.rc3-SNAPSHOT.zip
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
Now, using JBI Maven plugin 4.1, I have the following error:
[INFO] Generating jbi.xml
[INFO] Determining component name for service unit note-service-bos-su
[INFO] Project MavenProject: commons-lang:commons-lang:2.1 @ packaged jar
[INFO] Project MavenProject: org.springframework:spring-context:2.5.6 @ packaged jar
[INFO] Project MavenProject: commons-beanutils:commons-beanutils-core:1.7.0 @ packaged jar
[INFO] Project MavenProject: org.apache.servicemix:servicemix-cxf-se:2009.01.1-fsb-SNAPSHOT @ packaged jbi-component
[INFO] Determining component name for service unit note-service-ff-su
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The service unit note-service-ff-su does not have a dependency which is packaged as a jbi-component or a project property 'componentName'
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
Attachments
Issue Links
- duplicates
-
SMX4-421 JBI Maven plugin can not build SA if several Camel SUs are included
- Resolved