Hi, i have installed servicemix 3.3.1 and maven 2.2.1, and  now i am
following the totorial, in particular i refer to  "2. Beginner - Using Maven
to develop JBI applications". The problem is that also if i make all as i
must, and also if at every step at the end i have the output build
successful, at the deploy the application does not work! The only thing that
i see in the output at every step that can alert me that there is something
that does not work fine is a warning, in particular this:


zaxr...@linux-go02:~/ProgettiSMXMVN/prova2/tutorial-sa> mvn
jbi:projectDeploy   
[INFO] Scanning for projects...                                                 
[WARNING] POM for 'org.springframework:spring-beans:pom:2.0.6:runtime' is
invalid.                                                                        
      

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.springframework:spring-core:pom:2.0.6:runtime' is
invalid.                                                                        
       

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'commons-pool:commons-pool:pom:1.2:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.springframework:spring-context:pom:2.0.6:runtime' is
invalid.                                                                        
    

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.springframework:spring-dao:pom:2.0.6:runtime' is
invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.springframework:spring-support:pom:2.0.6:runtime' is
invalid.                                                                        
    

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'xerces:xerces:pom:2.0.2:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.


infact, the rest of the output show that the Tutorial :: SA has o child
dependencies when it must have 2 child dependencies that are: 
1) servicemix-file-3.3.1
2) servicemix-shared-3.3.1

as shown below:
[INFO]
------------------------------------------------------------------------
[INFO] Building Tutorial :: SA
[INFO]    task-segment: [jbi:projectDeploy]
[INFO]
------------------------------------------------------------------------
[INFO] [jbi:projectDeploy {execution: default-cli}]
[INFO] snapshot org.apache.servicemix.tutorial:tutorial-sa:1.0-SNAPSHOT:
checking for updates from apache.snapshots
[INFO] ------------------ Deployment Analysis --------------------
[INFO] Tutorial :: SA has 0 child dependencies
[INFO]  - jbi-service-assembly :
/home/zaxroot/.m2/repository/org/apache/servicemix/tutorial/tutorial-sa/1.0-SNAPSHOT/tutorial-sa-1.0-SNAPSHOT.zip
[INFO] -----------------------------------------------------------
[INFO] tutorial-sa is deployed
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Mon Apr 26 11:52:00 CEST 2010
[INFO] Final Memory: 24M/362M
[INFO]
------------------------------------------------------------------------


Another question, when i use maven to make servicemix-service-unit and
servicemix-service-assembly using the commands line that i find in the
tutorial, in my repo the version of these are 3.2.3 not 3.3.1? what mean it?
I's normal? Or is connected to the same problem!?

thanks!

-- 
View this message in context: 
http://old.nabble.com/throuble-with-servicemix-tutotorial-2-org.springframework%3Aspring-core%3Apom%3A2.0.6-tp28363103p28363103.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to