You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by sharpor <wi...@gmail.com> on 2008/07/04 05:14:00 UTC

when shall I creat a new Maven project?

I'm new to servicemix..
I'm doing exercise of "2. Beginner - Using Maven to develop JBI
applications".
Do I have to create a new Maven project?  Or I can reuse the old one?
If I resue the old Maven project, how can I reuse? I mean.. shall I update
the old pom ..
What the principle to create a new Maven project? 
Thank you in advance!

-- 
View this message in context: http://www.nabble.com/when-shall-I-creat-a-new-Maven-project--tp18271998p18271998.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: when shall I creat a new Maven project?

Posted by sharpor <wi...@gmail.com>.
Thank you for your kind. It help me.
The reason I asked this question is when I created my first servicemix Maven
project, i found there were 
so many things in that project such as: ant directory, aopalliance
directory, avalon-framework directory..
I just worried all these would be generate/downloaded once again when I
create an other Maven project. 
By now I have created other Maven projects and found that they needn't
create these directories in their Maven project directoreis.  
Seems that I mixed Maven repository with maven project. 


bsnyder wrote:
> 
> On Thu, Jul 3, 2008 at 9:14 PM, sharpor <wi...@gmail.com> wrote:
>>
>> I'm new to servicemix..
>> I'm doing exercise of "2. Beginner - Using Maven to develop JBI
>> applications".
>> Do I have to create a new Maven project?  Or I can reuse the old one?
>> If I resue the old Maven project, how can I reuse? I mean.. shall I
>> update
>> the old pom ..
>> What the principle to create a new Maven project?
> 
> It's easier to walk through the exercise the first time by creating a
> new Maven project as instructed. The exercises are short and serve to
> teach you how to use ServiceMix from scratch. If you encounter an
> issue along the way of trying to integrate ServiceMix into an existing
> project without first understanding how it works, it's gonna be more
> difficult to troubleshoot than if it were in a standalone project of
> its own. Once you understand how things work, then I'd suggest adding
> the necessary items to your existing project.
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> 
> Blog: http://bruceblog.org/
> 
> 
:confused:
-- 
View this message in context: http://www.nabble.com/when-shall-I-creat-a-new-Maven-project--tp18271998p18299188.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: when shall I creat a new Maven project?

Posted by Bruce Snyder <br...@gmail.com>.
On Thu, Jul 3, 2008 at 9:14 PM, sharpor <wi...@gmail.com> wrote:
>
> I'm new to servicemix..
> I'm doing exercise of "2. Beginner - Using Maven to develop JBI
> applications".
> Do I have to create a new Maven project?  Or I can reuse the old one?
> If I resue the old Maven project, how can I reuse? I mean.. shall I update
> the old pom ..
> What the principle to create a new Maven project?

It's easier to walk through the exercise the first time by creating a
new Maven project as instructed. The exercises are short and serve to
teach you how to use ServiceMix from scratch. If you encounter an
issue along the way of trying to integrate ServiceMix into an existing
project without first understanding how it works, it's gonna be more
difficult to troubleshoot than if it were in a standalone project of
its own. Once you understand how things work, then I'd suggest adding
the necessary items to your existing project.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/

Blog: http://bruceblog.org/

Re: when shall I creat a new Maven project?

Posted by Lars Heinemann <la...@compart.net>.
Hi,

I would suggest you to have a look at the Maven documentation to get
a better grasp of what maven is and what a maven project is.
see: http://maven.apache.org

Regards
Lars


On Friday 04 July 2008 05:14:00 sharpor wrote:
> I'm new to servicemix..
> I'm doing exercise of "2. Beginner - Using Maven to develop JBI
> applications".
> Do I have to create a new Maven project?  Or I can reuse the old one?
> If I resue the old Maven project, how can I reuse? I mean.. shall I update
> the old pom ..
> What the principle to create a new Maven project?
> Thank you in advance!