On 11/16/06, Asankha C. Perera <[EMAIL PROTECTED]> wrote:
Synapse build has now been migrated to Maven 2. This is available in the HEAD. You may check-in any changes to the head branch now.To build Synapse and install the JAR's into your local M2 repository mvn clean install In case M2 says a plugin could not be found etc, force M2 to look properly at the repos again with the -U switch the the command To create the binary and source distributions of Synapse mvn assembly:assembly -Drelease Known issues: M2 might complain that the axis2-kernel contains an invalid groupId for the neethi 2.0. This is an actual error on the axis2-kernel-1.1.jar which is available on the maven repos. If you get this error, go to your local M2 repo .m2\repository\org\apache\axis2\axis2-kernel\1.1 and delete the .pom file to work around this issue. [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.axis2:axis2-kernel POM Location: Artifact [org.apache.axis2:axis2-kernel:jar:1.1:compile] Validation Messages: [0] 'dependencies.dependency.version' is missing for org.apache.ws.commons.neethi:neethi Reason: Failed to validate POM I will work with the Axis2 team to rectify the above. thanks asankha
On 11/16/06, Asankha C. Perera <[EMAIL PROTECTED]> wrote:
Hi Phil and everybody... Here's how you could run the new samples with Synapse and its sample Axis2 server which comes pre-configured for you :-) Once you extract the bin dist, you would get a samples folder, and within it you will find two sub directories, axis2Server and axis2Client. The axis2Server contains a script to start off your own local (and totally separate from synapse) Axis2 server (on port 9000) to be used for testing/hosting sample services. This uses the same lib's used by Synapse and hence has no impact on the size of the distribution and does not require the user to manually setup a test axis2 server with rampart/RM etc.. which could get a bit complicated You could now start synapse, and then your axis2 server and deploy (i.e. just run ant from the selected service you want deployed) the sample service/s, and then fire off the axis2 client/s to test messages passing through synapse. So far the first test case is working, and i will be fixing up the rest tomorrow. Let me know your feedback on this if you get a chance
I have been trying to get the m2 build to work today using trunk as of r476915, but I keep getting Project ID: org.apache.axis2:axis2-rahas POM Location: /home/phil/.m2/repository/org/apache/axis2/axis2-rahas/1.1-SNAPSHOT/axis2-rahas-1.1-SNAPSHOT.pom Reason: Not a v4.0.0 POM. when I try to follow the workaround mentioned on another thread (delete the pom) it does not work. "mvn install" works, but "mvn assemby:assembly -Drelease" chokes with the error above. Phil --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
