Let me recap.. 1) Downloaded the BAM sample from <https://issues.apache.org/activemq/browse/SM-534>
2) Did a mvn install 3) Got the error [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.jencks:jencks:jar:1.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.jencks -DartifactId=jencks \ -Dversion=1.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.apache.servicemix.bam:servicemix-bam:jbi-component:1.0-SNAPSHOT 2) org.apache.servicemix:servicemix-core:jar:3.0-incubating-SNAPSHOT 3) org.jencks:jencks:jar:1.3-SNAPSHOT ---------- 1 required artifact is missing. for artifact: org.apache.servicemix.bam:servicemix-bam:jbi-component:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.snapshots (http://cvs.apache.org/maven-snapshot-repository) 4) Downloaded Jencks from <http://snapshots.repository.codehaus.org/org/jencks/jencks/1.3-SNAPSHOT/jencks-1.3-20060817.163158-5.zip> 5) Ran the install command that was shown as part of step 3. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Thu Aug 24 16:01:53 IST 2006 [INFO] Final Memory: 2M/4M [INFO] ------------------------------------------------------------------------ 6) Got the following error on doing a mvn install, tests failure.. ------------------------------------------------------------------------------- Test set: org.apache.servicemix.bam.BAMSpringComponentTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.688 sec <<< FAILURE! test(org.apache.servicemix.bam.BAMSpringComponentTest) Time elapsed: 1.625 sec <<< ERROR! org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbi' defined in class path resource [spring.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/jencks/factory/WorkManagerFactoryBean Caused by: java.lang.NoClassDefFoundError: org/jencks/factory/WorkManagerFactoryBean at org.apache.servicemix.jbi.container.SpringJBIContainer.createWorkManager(SpringJBIContainer.java:173) at org.apache.servicemix.jbi.container.JBIContainer.init(JBIContainer.java:501) at org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:55) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:908) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:875) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:240) 7) Added the dependency in pom.xml <dependency> <groupId>org.jencks</groupId> <artifactId>jencks</artifactId> <version>1.3-SNAPSHOT</version> <scope>test</scope> </dependency> 8) Still getting the above test failure error.. I am interested in getting the BAM component working and experimenting with it.. But just can't get there..