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

PS: I need to do a bit more on the creation of the site.. will fix that soon



Asankha C. Perera wrote:
I have been migrating Synapse into Maven 2 and have done that on a separate branch for right now as there were quite a few changes (svn moves)..

I tested it on a fresh machine to make sure that it will build on each of your systems. You will need to install M2 if you do not already have it (I am using 2.0.4). The M1 build will (unfortunately) not work with the new structure anymore.. and in this process I have cleaned up a lot of dead artifacts and script code from the build. So it may look a bit different at first.. and faster :-)

Please give me a couple of hours to migrate the changes to the HEAD branch - i.e. refrain from committing any code

thanks
asankha

PS: In case you want to do a quick check of the M2 stuff before I commit the changes to the HEAD, you can get it here
https://svn.apache.org/repos/asf/incubator/synapse/branches/MVN2

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to