There's no reason why the repository
http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2
is used.  You should really try with a non snapshot version, as the
geronimo plugin deployer does not really handle snapshot artifacts.

So I would advise to checkout the 3.0 source tree and build it.
Else, you will need to manually copy the snapshot dependencies
to the geronimo repository.

On 10/3/06, Michael Lee <[EMAIL PROTECTED]> wrote:

Thanks for your help - your responses to postings on this list are amazingly
fast.

I spent a few hours this morning reading the manual for Maven (to get past
the easy questions), successfully compiled the source for service mix using
the two step approach (after manually adding in the extra repository and
pluginRepository), and then tried to run the commands you suggested

After running

"java -jar bin/deploy.jar install-plugin
[smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car"

I get

"Installation FAILED: Server returned HTTP response code: 500 for URL:
http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/org/apache/servicemix/servicemix-jbi/3.1-incubating-SNAPSHOT/servicemix-jbi-3.1-incubating-SNAPSHOT.jar";

Accessing
http://incubator.apache.org/servicemix/dist/servicemix-3.0-M2-incubating/m2/
works correctly, so I was wondering if there genuinely was something wrong
with the repository.

I've tried modifying the geronimo-plugin.xml, and changing the first source
repository from it's default to my local repository, and it doesn't seem to
work...  Will try again later toinght


<source-repository>file:///S:/development/maven/repository/</source-repository>


gnodet wrote:
>
> Once you have succesfully built the whole ServiceMix source tree,
> two geronimo plugins are create in
>  geronimo/servicemix/target/servicemix-3.0-incubating.car
>  geronimo/deployer/target/deployer-3.0-incubating.car
>
> The following steps are needed in order to deploy these plugins
>   cd [geronimo-install-dir]
>   java -jar bin/deploy.jar install-plugin
> [smx]/geronimo/servicemix/target/servicemix-3.0-incubating.car
>   java -jar bin/deploy.jar install-plugin
> [smx]/geronimo/deployer/target/deployer-3.0-incubating.car
>
> This will install the 2 plugins to geronimo, which should now
> be listed in the console.  Then, do install jbi artifacs, you just
> need to drop the components / libraries / assemblies to the
> deploy dir of geronimo.
>
> These plugins should be uploaded to the m2 repository,
> but there is a bug in the geronimo plugin which currently
> prevent this.
>
> Glad you want to help, and ping the list for any problems.
>
>
> On 10/2/06, Michael Lee <[EMAIL PROTECTED]> wrote:
>>
>> I can start with the good news - I'm happy to make a contribution to the
>> project by writing up some documentation covering a step by step guide to
>> getting ServiceMix 3.0 up and running on Geronimo 1.1 - I'm a ServiceMix
>> newbie but a pretty good technical writer.....
>>
>> The bad news is that I'm volunteering because I cannot get ServiceMix to
>> work.  After spending about a day going through the binary distribution
>> and
>> the source from SVN I'm more confused than when I started about how to
>> actually get ServiceMix working.  I started with a fresh install of
>> Geronimo
>> 1.1, a fresh download of Maven (2.0.4), a fresh checkout of ServiceMix
>> code
>> (from todays trunk), and I get a bunch of build failures when I run
>> through
>> the:
>>
>>  "mvn -Dmaven.test.skip=true -Dprofile=step1 install
>> mvn -Dmaven.test.skip=true -Dprofile=step" install"
>>
>> sequence, and after this I'm not clear on what do actually do, i.e. which
>> directories are deployable, what actually needs to get deployed? are the
>> geronimo1-1 projects in the sandbox deployable?  is servicemix-web
>> deprecated? which Maven command should I run in the "geronimo" directory
>> after running the build process? etc. etc.
>>
>> So the offer is there - if anyone can help me get through my install
>> problems I will write it up for the rest of the world.  I'll supply all
>> relevant Maven/ServiceMix/platform details if I get any takers
>>
>> Thanks, Michael.
>>
>> p.s I've been impressed with what I've seen of the architecture for
>> ServiceMix - really looking forward to having a working install to play
>> with.  I'm an Ant veteran but a newcomer to Maven so lots of what is
>> taken
>> for granted in the docs is difficult for me to debug.
>>
>>
>> --
>> View this message in context:
>> 
http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6608068
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
>
>

--
View this message in context: 
http://www.nabble.com/Step-by-Step-Geronimo-1.1-integration-tf2371955.html#a6621115
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to