I think I have vesion 3.3... at least I downloaded the 3.3 release and when
running service mix I get the log trace;

INFO  - JBIContainer                   - ServiceMix 3.3 JBI Container
(ServiceMix) is starting

I previously installed (and still have) version 3.2.2, but in a separate
directory. I run my example in the folder for 3.3. Could it be that
something from previous runs on version 3.2.2 is ruining the build? I have
now deleted the 3.2.2 version but still get the error.

Other ideas? Im no expert in maven. Do I need to purge something in
ibibilio?

Cheers.






Freeman Fang wrote:
> 
> Hi,
> This issue already get fixed in ServiceMix 3.2.3 and 3.3 release.
> You should use higher version instead of Servicemix 3.2.2
> Freeman
> 
> Drone42 wrote:
>> When I try to build the SA of the tutorial section 2.6 I get the error
>> 'Failed to resolve artifacts'.
>>
>> I have created a camel SU and a JMS SU as described, using the archetypes
>> and updating the relevant files. And I have updated the SA pom.xml file
>> to
>> include the dependencies.
>>
>> But when I run 'mvn install' I get the errors seen below. Looking at
>> http://servicemix.apache.org/dist/servicemix-3.3-SNAPSHOT/site/assemblies/apache-servicemix-web/dependencies.html
>> I failed to find the jar (xbean-classloader is wrong version,
>> xbean-kernel I
>> couldnt find) files needed to manually install...?
>>
>>
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) org.apache.xbean:xbean-classloader:jar:3.3-SNAPSHOT
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>       mvn install:install-file -DgroupId=org.apache.xbean
>> -DartifactId=xbean-cla
>> ssloader -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>>
>>   Alternatively, if you host your own repository you can deploy the file
>> there:
>>
>>       mvn deploy:deploy-file -DgroupId=org.apache.xbean
>> -DartifactId=xbean-class
>> loader -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>> -Durl=[url] -
>> DrepositoryId=[id]
>>
>>   Path to dependency:
>>         1)
>> org.apache.servicemix.tutorial:tutorial-camel-su:jbi-service-unit:1.0
>> -SNAPSHOT
>>         2) org.apache.servicemix:servicemix-core:jar:3.2.2
>>         3) org.apache.xbean:xbean-server:jar:3.3
>>         4) org.apache.xbean:xbean-classloader:jar:3.3-SNAPSHOT
>>
>> 2) org.apache.xbean:xbean-kernel:jar:3.3-SNAPSHOT
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>       mvn install:install-file -DgroupId=org.apache.xbean
>> -DartifactId=xbean-ker
>> nel -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>>
>>   Alternatively, if you host your own repository you can deploy the file
>> there:
>>
>>       mvn deploy:deploy-file -DgroupId=org.apache.xbean
>> -DartifactId=xbean-kerne
>> l -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>> -Drepo
>> sitoryId=[id]
>>
>>   Path to dependency:
>>         1)
>> org.apache.servicemix.tutorial:tutorial-camel-su:jbi-service-unit:1.0
>> -SNAPSHOT
>>         2) org.apache.servicemix:servicemix-core:jar:3.2.2
>>         3) org.apache.xbean:xbean-server:jar:3.3
>>         4) org.apache.xbean:xbean-kernel:jar:3.3-SNAPSHOT
>>
>> ----------
>> 2 required artifacts are missing.
>>
>> for artifact:
>>  
>> org.apache.servicemix.tutorial:tutorial-camel-su:jbi-service-unit:1.0-SNAPSHOT
>>
>>
>> from the specified remote repositories:
>>   apache.snapshots
>> (http://people.apache.org/repo/m2-snapshot-repository),
>>   apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
>>   central (http://repo1.maven.org/maven2)
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Cannot-resolve-artifacts-when-building-Tutorial-tp20550129p20568387.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to