Dear Synapse Users, I'm looking for instructions for getting a nightly / snapshot / trunk build:
There seems to be a few bugs with the latest stable release of Apache Synapse [1.2], which was released on 9-Jun-2008. This is a blocking bug for me: https://issues.apache.org/jira/browse/SYNAPSE-365 ... which seems to have been fixed on 23-Jun-2008 > Ruwan Linton - 23/Jun/08 10:46 AM > Fixed on the SVN trunk There is also an issue with WSDL generation, XML Schema import statements, and target / default namespaces ("namespace conflict"), which I'm hoping has also been fixed in the trunk. My problem is that I cannot find any nightly / snapshot builds available, between now and the last stable release on June 9th, 2008: http://synapse.apache.org/download.html I also attempted to build the application from source, following these instructions: http://synapse.apache.org/building.html However, following these instructions, I am unable (I believe) to create the distribution package. Here is the command I am using: mvn assembly:assembly -Drelease -Dmaven.test.skip=true and here is the response I get back: <...snip> 3288K downloaded [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.synapse:synapse-extensions:jar:SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.synapse -DartifactId=synapse-extensions -Dversion=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.synapse -DartifactId=synapse-extensions -Dversion=SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.synapse:synapse-samples:bundle:SNAPSHOT 2) org.apache.synapse:synapse-extensions:jar:SNAPSHOT ---------- 1 required artifact is missing. for artifact: org.apache.synapse:synapse-samples:bundle:SNAPSHOT from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), wso2-m2 (http://dist.wso2.org/maven2/), apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository/), central (http://repo1.maven.org/maven2) </...snip> Running maven with all the tests, by using this command: mvn assembly:assembly -Drelease ... gives me a Test Failure: Results : Failed tests: testInlineMediator(org.apache.synapse.mediators.bsf.javascript.JavaScriptMediatorTest) testInlineMediator2(org.apache.synapse.mediators.bsf.javascript.JavaScriptMediatorTest) Tests in error: testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testThreadSafety(org.apache.synapse.mediators.bsf.ScriptMediatorTest) testInlineScriptMediatorSerializationScenarioOne(org.apache.synapse.mediators.bsf.ScriptMediatorSerializationTest) Tests run: 124, Failures: 2, Errors: 37, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5 minutes 26 seconds [INFO] Finished at: Mon Dec 08 15:32:20 GMT 2008 [INFO] Final Memory: 32M/63M [INFO] ------------------------------------------------------------------------ How can I get a build that is more recent than 1.2 on June, 2008? If I need to checkout the trunk and do a build, how do I do this? Where can I expect the distro artifact to show up? Thank you for the good work - Apache Synapse is a brilliant product which solves a lot of problems out there. Currently, we are evaluating Synapse to provide a proxy/cache/mock service for our webservice dependent webapps, and Synapse seems to be a great fit! Many thanks! Sincerely, Henrik Pettersen Sparkling Ideas, Ltd. (for Virgin Media)
