The main problem is that servicemix tests are mainly integration tests and are not always reliable because they can rely on external services (I hope this will change). Another thing is that they are quite long to run...
Cheers, Guillaume Nodet On 6/29/06, Juergen Mayrbaeurl <[EMAIL PROTECTED]> wrote:
Thanks. Worked without any build errors. Any idea why it can't be build with testing turned on? Kind regards Juergen gnodet wrote: > > Try > > mvn -N install > cd tooling > mvn install > cd .. > mvn -Dmaven.test.skip=true install > mvn eclipse:eclipse > > Cheers, > Guillaume Nodet > > On 6/29/06, Juergen Mayrbaeurl <[EMAIL PROTECTED]> wrote: >> >> >> I've just tried to build ServiceMix 3.0 the first time with Maven 2.0.4 >> (Since the Maven 1.0.2 build setup is gone) >> >> I checked out a fresh working copy with SVN and used the following >> sequence: >> >> mvn -N install >> cd tooling >> mvn install >> cd .. >> mvn eclipse:eclipse >> >> Unfortunately the last step didn't work and gave me the following build >> errors: >> >> [INFO] >> ------------------------------------------------------------------------- >> --- >> [INFO] Building ServiceMix :: Samples :: WSDL first :: SA >> [INFO] task-segment: [eclipse:eclipse] >> [INFO] >> ------------------------------------------------------------------------- >> --- >> [INFO] Preparing eclipse:eclipse >> [INFO] snapshot >> org.apache.servicemix.samples.wsdl-first:jsr181-su:3.0-incubatin >> g-SNAPSHOT: checking for updates from apache.snapshots >> [INFO] snapshot >> org.apache.servicemix.samples.wsdl-first:jsr181-su:3.0-incubatin >> g-SNAPSHOT: checking for updates from central >> [INFO] snapshot >> org.apache.servicemix.samples.wsdl-first:jsr181-su:3.0-incubatin >> g-SNAPSHOT: checking for updates from servicemix-m2-repo >> [INFO] snapshot >> org.apache.servicemix.samples.wsdl-first:jsr181-su:3.0-incubatin >> g-SNAPSHOT: checking for updates from activemq-tmp-repo >> [INFO] snapshot >> org.apache.servicemix.samples.wsdl-first:jsr181-su:3.0-incubatin >> g-SNAPSHOT: checking for updates from codehaus >> [INFO] snapshot >> org.apache.servicemix.samples.wsdl-first:jsr181-su:3.0-incubatin >> g-SNAPSHOT: checking for updates from codehaus.m1 >> Downloading: >> http://people.apache.org/maven-snapshot-repository/org/apache/servi >> cemix/samples/wsdl-first/jsr181-su/3.0-incubating-SNAPSHOT/jsr181- >> su-3.0-incubat >> ing-20060620.224738-1.jar >> [INFO] snapshot >> org.apache.servicemix.samples.wsdl-first:http-su:3.0-incubating- >> SNAPSHOT: checking for updates from apache.snapshots >> [INFO] snapshot >> org.apache.servicemix.samples.wsdl-first:http-su:3.0-incubating- >> SNAPSHOT: checking for updates from central >> [INFO] snapshot >> org.apache.servicemix.samples.wsdl-first:http-su:3.0-incubating- >> SNAPSHOT: checking for updates from servicemix-m2-repo >> [INFO] snapshot >> org.apache.servicemix.samples.wsdl-first:http-su:3.0-incubating- >> SNAPSHOT: checking for updates from activemq-tmp-repo >> [INFO] snapshot >> org.apache.servicemix.samples.wsdl-first:http-su:3.0-incubating- >> SNAPSHOT: checking for updates from codehaus >> [INFO] snapshot >> org.apache.servicemix.samples.wsdl-first:http-su:3.0-incubating- >> SNAPSHOT: checking for updates from codehaus.m1 >> Downloading: >> http://people.apache.org/maven-snapshot-repository/org/apache/servi >> cemix/samples/wsdl-first/http-su/3.0-incubating-SNAPSHOT/http- >> su-3.0-incubating- >> 20060620.224738-1.jar >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Failed to resolve artifact. >> >> Missing: >> ---------- >> 1) >> >> org.apache.servicemix.samples.wsdl-first:jsr181-su:jbi-service-unit:3.0-incub >> ating-SNAPSHOT >> >> Try downloading the file manually from the project website. >> >> Then, install it using the command: >> mvn install:install-file >> -DgroupId=org.apache.servicemix.samples.wsdl-firs >> t -DartifactId=jsr181-su \ >> -Dversion=3.0-incubating-20060620.224738-1 >> -Dpackaging=jbi-service-uni >> t -Dfile=/path/to/file >> >> Path to dependency: >> 1) >> org.apache.servicemix.samples.wsdl-first:sa:jbi-service-assembly:3.0- >> incubating-SNAPSHOT >> 2) >> org.apache.servicemix.samples.wsdl-first:jsr181-su:jbi-service-unit:3 >> .0-incubating-SNAPSHOT >> >> 2) >> >> org.apache.servicemix.samples.wsdl-first:http-su:jbi-service-unit:3.0-incubat >> ing-SNAPSHOT >> >> Try downloading the file manually from the project website. >> >> Then, install it using the command: >> mvn install:install-file >> -DgroupId=org.apache.servicemix.samples.wsdl-firs >> t -DartifactId=http-su \ >> -Dversion=3.0-incubating-20060620.224738-1 >> -Dpackaging=jbi-service-uni >> t -Dfile=/path/to/file >> >> Path to dependency: >> 1) >> org.apache.servicemix.samples.wsdl-first:sa:jbi-service-assembly:3.0- >> incubating-SNAPSHOT >> 2) >> org.apache.servicemix.samples.wsdl-first:http-su:jbi-service-unit:3.0 >> -incubating-SNAPSHOT >> >> ---------- >> 2 required artifacts are missing. >> >> for artifact: >> >> >> org.apache.servicemix.samples.wsdl-first:sa:jbi-service-assembly:3.0-incubatin >> g-SNAPSHOT >> >> from the specified remote repositories: >> central (http://ibiblio.org/maven2/), >> servicemix-m2-repo (http://servicemix.org/m2-repo), >> codehaus (http://repository.codehaus.org), >> apache.snapshots (http://people.apache.org/maven-snapshot-repository ), >> codehaus.m1 (http://dist.codehaus.org), >> activemq-tmp-repo >> (http://people.apache.org/~chirino/incubator-activemq-4.0/ma >> ven2) >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 36 minutes 15 seconds >> [INFO] Finished at: Thu Jun 29 11:38:38 CEST 2006 >> [INFO] Final Memory: 19M/34M >> [INFO] >> ------------------------------------------------------------------------ >> >> Kind regards >> Juergen >> >> > > -- View this message in context: http://www.nabble.com/Build-errors-tf1866686.html#a5100922 Sent from the ServiceMix - User forum at Nabble.com.
