- [dward:camel-service](master)$ mvn -e clean install deploy
- [INFO] Error stacktraces are turned on.
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Quickstart : Camel Service 0.2.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [WARNING] Could not transfer metadata org.apache.commons:commons-cli:2.0-SNAPSHOT/maven-metadata.xml from/to apache.m1 (http://people.apache.org/repo/m1-snapshot-repository/): No connector available to access repository apache.m1 (http://people.apache.org/repo/m1-snapshot-repository/) of type legacy using the available factories WagonRepositoryConnectorFactory
- [WARNING] The POM for rome:rome:jar:0.9 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
- [INFO]
- [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ switchyard-quickstarts-camel-service ---
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ switchyard-quickstarts-camel-service ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 2 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ switchyard-quickstarts-camel-service ---
- [INFO] Compiling 2 source files to /data/dev/github/jboss-switchyard/quickstarts/camel-service/target/classes
- [INFO]
- [INFO] --- switchyard-plugin:0.2.0-SNAPSHOT:configure (default) @ switchyard-quickstarts-camel-service ---
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ switchyard-quickstarts-camel-service ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory /data/dev/github/jboss-switchyard/quickstarts/camel-service/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ switchyard-quickstarts-camel-service ---
- [INFO] Compiling 1 source file to /data/dev/github/jboss-switchyard/quickstarts/camel-service/target/test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.6:test (default-test) @ switchyard-quickstarts-camel-service ---
- [INFO] Surefire report directory: /data/dev/github/jboss-switchyard/quickstarts/camel-service/target/surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- Running org.switchyard.quickstarts.camel.service.CamelServiceTest
- 25 [main] INFO org.jboss.weld.Version - WELD-000900 1.1.0 (Final)
- 49 [main] INFO org.jboss.weld.Bootstrap - WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
- 606 [main] WARN org.jboss.interceptor.util.InterceptionTypeRegistry - Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled
- 606 [main] WARN org.jboss.interceptor.util.InterceptionTypeRegistry - Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled
- 12:52:59,917 INFO [converter.AnnotationTypeConverterLoader] Found 5 packages with 17 @Converter classes to load
- 12:52:59,944 INFO [converter.DefaultTypeConverter] Loaded 163 type converters in 0.505 seconds
- 12:52:59,968 INFO [impl.DefaultCamelContext] Apache Camel 2.6.0 (CamelContext: camel-2) is starting
- 12:52:59,968 INFO [impl.DefaultCamelContext] JMX enabled. Using ManagedManagementStrategy.
- 12:53:00,574 INFO [converter.AnnotationTypeConverterLoader] Found 5 packages with 17 @Converter classes to load
- 12:53:00,614 INFO [converter.DefaultTypeConverter] Loaded 163 type converters in 0.450 seconds
- 12:53:00,683 INFO [impl.DefaultCamelContext] Total 0 routes, of which 0 is started.
- 12:53:00,684 INFO [impl.DefaultCamelContext] Apache Camel 2.6.0 (CamelContext: camel-2) started in 0.715 seconds
- 12:53:01,170 INFO [impl.DefaultCamelContext] Route: route1 started and consuming from: Endpoint[switchyard://JavaDSL?namespace=urn%3Aswitchyard-quickstart%3Acamel-service%3A0.1.0]
- 12:53:01,175 INFO [impl.DefaultCamelContext] Apache Camel 2.6.0 (CamelContext: camel-2) is starting
- 12:53:01,175 INFO [impl.DefaultCamelContext] Total 1 routes, of which 1 is started.
- 12:53:01,175 INFO [impl.DefaultCamelContext] Apache Camel 2.6.0 (CamelContext: camel-2) started in 0.000 seconds
- 12:53:01,231 INFO [impl.DefaultCamelContext] Route: route2 started and consuming from: Endpoint[switchyard://XMLService?namespace=urn%3Aswitchyard-quickstart%3Acamel-service%3A0.1.0]
- 12:53:01,267 INFO [route1] Message received in Java DSL Route
- 12:53:01,270 INFO [route1]
- bob: Hello there!
- sally: I like cheese
- fred: Math makes me sleepy
- bob: E pluribus unum
- sally: And milk too
- bob: Four score and seven years
- sally: Actually, any kind of dairy is OK in my book
- 12:53:01,285 INFO [route2] Inside XML Camel Route
- 12:53:01,286 INFO [route2] [message] 'sally: I like cheese'
- 12:53:01,287 INFO [route2] Inside XML Camel Route
- 12:53:01,287 INFO [route2] [message] 'sally: And milk too'
- 12:53:01,288 INFO [route2] Inside XML Camel Route
- 12:53:01,288 INFO [route2] [message] 'sally: Actually, any kind of dairy is OK in my book'
- 12:53:01,291 INFO [impl.DefaultCamelContext] Apache Camel 2.6.0 (CamelContext:camel-2) is shutting down
- 12:53:01,292 INFO [impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 300 seconds)
- 12:53:01,296 INFO [impl.DefaultShutdownStrategy] Route: route2 shutdown complete, was consuming from: Endpoint[switchyard://XMLService?namespace=urn%3Aswitchyard-quickstart%3Acamel-service%3A0.1.0]
- 12:53:01,296 INFO [impl.DefaultShutdownStrategy] Route: route1 shutdown complete, was consuming from: Endpoint[switchyard://JavaDSL?namespace=urn%3Aswitchyard-quickstart%3Acamel-service%3A0.1.0]
- 12:53:01,296 INFO [impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds
- 12:53:01,298 INFO [impl.DefaultInflightRepository] Shutting down with no inflight exchanges.
- 12:53:01,299 INFO [impl.DefaultCamelContext] Uptime: 0.123 seconds
- 12:53:01,299 INFO [impl.DefaultCamelContext] Apache Camel 2.6.0 (CamelContext: camel-2) is shutdown in 0.007 seconds
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.553 sec
- Results :
- Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ switchyard-quickstarts-camel-service ---
- [INFO] Building jar: /data/dev/github/jboss-switchyard/quickstarts/camel-service/target/switchyard-quickstarts-camel-service-0.2.0-SNAPSHOT.jar
- [INFO]
- [INFO] --- maven-site-plugin:3.0-beta-3:attach-descriptor (attach-descriptor) @ switchyard-quickstarts-camel-service ---
- [INFO]
- [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ switchyard-quickstarts-camel-service ---
- [INFO] Installing /data/dev/github/jboss-switchyard/quickstarts/camel-service/target/switchyard-quickstarts-camel-service-0.2.0-SNAPSHOT.jar to /home/dward/.m2/repository/org/switchyard/quickstarts/switchyard-quickstarts-camel-service/0.2.0-SNAPSHOT/switchyard-quickstarts-camel-service-0.2.0-SNAPSHOT.jar
- [INFO] Installing /data/dev/github/jboss-switchyard/quickstarts/camel-service/pom.xml to /home/dward/.m2/repository/org/switchyard/quickstarts/switchyard-quickstarts-camel-service/0.2.0-SNAPSHOT/switchyard-quickstarts-camel-service-0.2.0-SNAPSHOT.pom
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ switchyard-quickstarts-camel-service ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 2 resources
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 12.282s
- [INFO] Finished at: Fri Aug 12 12:53:02 EDT 2011
- [INFO] Final Memory: 30M/289M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources (default-resources) on project switchyard-quickstarts-camel-service: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources failed. NullPointerException -> [Help 1]
- org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources (default-resources) on project switchyard-quickstarts-camel-service: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources failed.
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
- at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
- at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
- at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
- at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
- Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources failed.
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
- ... 19 more
- Caused by: java.lang.NullPointerException
- at java.io.File.<init>(File.java:222)
- at org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.filterResources(DefaultMavenResourcesFiltering.java:200)
- at org.apache.maven.plugin.resources.ResourcesMojo.execute(ResourcesMojo.java:265)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
- ... 20 more
- [ERROR]
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException