If your pom inherit the servicemix pom, tests have been disabled in the parent. You need to reactivate them (just replace the <skip>true</skip> by false in the root pom and run "mvn -N install")
Which unavailable pom are you talking about ? On 9/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
According to http://www.servicemix.org/site/creating-a-standard-jbi-component.html I created a JBO component by executing mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling -DarchetypeArtifactId=servicemix-service-engine -DarchetypeVersion=3.0-incubating -DgroupId=org.apache.servicemix.samples.helloWorldSE -DartifactId=hello-world-SE and wanted to test it by calling mvn test but got "Tests are skipped.". Is this a desired result for a SE created from archetype (then the tutotial need to be updated) or is this a bug somewhere? BTW the unavailable POMs are not available on in the central repository as well (manaual research). Georg [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building A custom project [INFO] task-segment: [test] [INFO] ---------------------------------------------------------------------------- [INFO] [xbean:mapping {execution: default}] Checking: org.apache.servicemix.samples.helloWorldSE.MyEndpoint Checking: org.apache.servicemix.samples.helloWorldSE.MySpringComponent [INFO] Generating META-INF properties file: C:\0tut-SE-SA-SU\hello-world-SE\target\xbean\META-INF\services\org\apache\xb ean\spring\http\org.apache.servicemix.samples.helloWorldSE\1.0 for namespace: http://org.apache.servicemix.samples.hello WorldSE/1.0 [INFO] Generating Spring 2.0 handler mapping: C:\0tut-SE-SA-SU\hello-world-SE\target\xbean\META-INF\spring.handlers for namespace: http://org.apache.servicemix.samples.helloWorldSE/1.0 [INFO] Generating Spring 2.0 schema mapping: C:\0tut-SE-SA-SU\hello-world-SE\target\xbean\META-INF\spring.schemas for na mespace: http://org.apache.servicemix.samples.helloWorldSE/1.0 [INFO] Generating HTML documentation file: C:\0tut-SE-SA-SU\hello-world-SE\target\xbean\hello-world-SE.xsd.html for name space: http://org.apache.servicemix.samples.helloWorldSE/1.0 [INFO] Generating XSD file: C:\0tut-SE-SA-SU\hello-world-SE\target\xbean\hello-world-SE.xsd for namespace: http://org.ap ache.servicemix.samples.helloWorldSE/1.0 [INFO] Generating WIKI documentation file: C:\0tut-SE-SA-SU\hello-world-SE\target\xbean\hello-world-SE.xsd.wiki for name space: http://org.apache.servicemix.samples.helloWorldSE/1.0 Warning, could not load class: org.apache.servicemix.samples.helloWorldSE.MyEndpoint [INFO] ...done. Downloading: http://mirrors.sunsite.dk/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://mirrors.sunsite.dk/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://mirrors.sunsite.dk/maven2/geronimo/geronimo-connector/1.1/geronimo-connector-1.1.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://mirrors.sunsite.dk/maven2/geronimo/geronimo-transaction/1.1/geronimo-transaction-1.1.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://mirrors.sunsite.dk/maven2/geronimo/geronimo-system/1.1/geronimo-system-1.1.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://mirrors.sunsite.dk/maven2/geronimo/geronimo-core/1.1/geronimo-core-1.1.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [WARNING] Artifact junit:junit:jar:3.8.1:test retains local scope 'test' overriding broader scope 'compile' given by a dependency. If this is not intended, modify or remove the local scope. [INFO] [jbi:generate-jbi-component-descriptor] [INFO] Generating jbi.xml [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Not compiling test sources [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22 seconds [INFO] Finished at: Tue Sep 26 17:21:28 CEST 2006 [INFO] Final Memory: 11M/21M [INFO] ------------------------------------------------------------------------ -- View this message in context: http://www.nabble.com/Tests-are-skipped-tf2339239.html#a6509587 Sent from the ServiceMix - User mailing list archive at Nabble.com.
-- Cheers, Guillaume Nodet
