In case you've not got past this yet here's some info and Maven commands
which I find useful, we should add this to the Synapse website:

Building Synapse:

Synapse requires JDK 1.5 or later and Maven 2.0.7 or later (
http://maven.apache.org/download.html).

To build, in the top level  Synapse folder do:

mvn clean install

Or to build the distribution archive packages do (the distribution archives
are created in new folder named target):

mvn assembly:assembly -Drelease

The first time you build Maven downloads all the required dependency jars to
your local repository, after there has been a successful build you can add
the "-o" parameter to  the above commands to run in offline mode which
avoids going out to remote Maven repositories so the build runs faster. Eg

mvn clean install -o
or
mvn assembly:assembly -Drelease -o

If you don't want to have all the Synapse test cases run during the build
you can add the parameter "-Dmaven.test.skip=true", eg:

mvn clean install -o -Dmaven.test.skip=true
or
mvn assembly:assembly -Drelease -o -Dmaven.test.skip=true

Sometimes the trunk build uses snapshot versions of some dependency jars
which can go out of date but may not get refreshed in your local Maven
repository even when the "-o" parameter is not used. So if you get build
failures you can try refreshing any snapshot dependencys with the "-U"
parameter, eg:

mvn clean install -U

By default the Maven local repository is in your home directory, you can
change this so the build uses use a different local repository with the
parameter "-Dmaven.repo.local=", eg:

mvn clean install -Dmaven.repo.local=\Synapse\MyRepo

HTH,

   ...ant

On Dec 31, 2007 8:29 PM, mehdi ait oufkir <[EMAIL PROTECTED]> wrote:

> Hi,
>  So I have issues with maven under eclipse. I guess the installation
> didn't
> work properly. When I want to build, it's complaining about:[ERROR] BUILD
> [INFO] The PluginDescriptor for the plugin
> org.apache.maven.plugins:maven-resources-plugin was not found
>
> I don't know how to solve that.
>
> Also, I have a lot of type that cannot be resolved. It seems that I'm
> missing a lot of apache packages (org.apache.axis2, org.apache.log...)
>
> Let me know what I should do to fix those issues.
> Mehdi.
>
>
> On 12/30/07 7:51 AM, "Paul Fremantle" <[EMAIL PROTECTED]> wrote:
>
> > Yes it works fine for me.... let me know if you have any problems.
> >
> > Paul
> >
> > On Dec 30, 2007 2:38 PM, Asankha C. Perera <[EMAIL PROTECTED]> wrote:
> >> mehdi ait oufkir wrote:
> >>> Concerning the build of synapse. Do you have some documentation
> somewhere or
> >>> can I build it from eclipse. I have heard about maven but I'm not
> familiar
> >>> at all with it, I know more about ant.
> >>>
> >> If you have Maven 2.0.6 or later installed on your system, you should
> be
> >> able to type "mvn eclipse:eclipse" and it should download any/all
> >> dependencies and create your Eclipse project correctly..
> >>
> >> If this does not work for any unknown reason, we have a few committers
> >> like Upul and Ant, who uses Eclipse and they would be able to help
> you..
> >>
> >> asankha
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> Mehdi Ait Oufkir
> Webapp lead
> O: 408.879.9118 x222   | F: 408.879.9117
>
> yousendit
> 1919 S. Bascom Ave, 3rd Floor  |   Campbell  |  CA 95008
> Send, Receive, Track. . .  www.YouSendIt.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to