You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Lon Binder <lo...@lonbinder.com> on 2011/10/07 22:11:35 UTC

Maven2

I know Maven has been discussed briefly in the past, but we have gone ahead
full force with it locally.  We have converted the entire OFBiz (actually
Opentaps fork) over to Maven.

We have not completely done away with Ant at the moment, but we're about 80%
of the way there.  Most of what hasn't been converted are local changes not
common to OFBiz anyway (although they should be).

I've given Si at Opentaps a walk through, but was thinking you guys may want
to see what we've done as well.  Happy to donate the whole thing.

Let me know if you're interested in a web conference.

~~~
Lon F. Binder
917-669-7341
@lonbinder <http://twitter.com/#%21/lonbinder> (twitter)

Re: Maven2

Posted by Sam Hamilton <sa...@sh81.com>.
Just stumbled across this beginners guide to maven - to me it sounds like a good tool for dependancy management but the project so far has pulled in all external dependancies into the source tree so not sure its worth it. 
http://blogs.sourceallies.com/2011/06/maven-3-tutorial-project-setup/

Sam


On 15 Oct 2011, at 14:26, Ganath Rathnayake wrote:

> FYI,
> You can use the script of test code separation when going to the maven2
> which create the folder structure of which is used in maven2.
> 
> thanks
> Ganath


Re: Maven2

Posted by Ganath Rathnayake <ga...@gmail.com>.
FYI,
You can use the script of test code separation when going to the maven2
which create the folder structure of which is used in maven2.

thanks
Ganath

Re: Maven2

Posted by lo...@lonbinder.com.
Hans -

These are all 100% applicable to ofbiz, as the project is lacking in these way.

The reason I offered the web walk through was to see firsthand some of these.

- Lon
Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Hans Bakker <ma...@antwebsystems.com>
Date: Sun, 09 Oct 2011 20:34:03 
To: <de...@ofbiz.apache.org>
Reply-To: dev@ofbiz.apache.org
Subject: Re: Maven2

Thank you Lon,

but these the more general advantages, could you please tell us how the
ofbiz project will be better with maven2? Is it worth switching to it?

Regards,
hans

On Sun, 2011-10-09 at 09:29 -0400, Lon Binder wrote:
> Numbering just for discussion (no priority):
> 
>    1. Order of magnitude better dependency management
>       1. Self-documenting JAR references
>       2. Less JARs need direct references (sub-dependencies will be pulled
>       automatically)
>       3. Internal project dependencies clearer
>       4. The dependency analysis plugin in maven will help keep the excess
>       out of the project
>       2. Smaller subversion checkout
>    3. Much better SCM, particularly across components
>    4. (kind of a sub-point of #3) Better deployment capabilities
>    5. More options for build automation (can still use ant, but now get full
>    world of Maven plugins too)
>       1. One example is I've configured the eclipse plugin so that the
>       .project and .classpath files are auto-generated and kept up-to-date as
>       dependencies change.
>       6. Smart build management: ant is simple, it always does everything;
>    maven is smart, only does what you need -- usually ;-)
>    7. Standardization of folder structure
> 
> That's off top of my head; there are more.
> 
> ~~~
> Lon F. Binder
> 917-669-7341
> @lonbinder <http://twitter.com/#%21/lonbinder> (twitter)
> 
> 
> 
> On Sun, Oct 9, 2011 at 3:48 AM, Hans Bakker
> <ma...@antwebsystems.com>wrote:
> 
> > Hi Lon,
> >
> > could you please tell us what the advantage is of this exercise no using
> > maven2?
> >
> > Regards,
> > Hans
> >
> > On Fri, 2011-10-07 at 16:11 -0400, Lon Binder wrote:
> > > I know Maven has been discussed briefly in the past, but we have gone
> > ahead
> > > full force with it locally.  We have converted the entire OFBiz (actually
> > > Opentaps fork) over to Maven.
> > >
> > > We have not completely done away with Ant at the moment, but we're about
> > 80%
> > > of the way there.  Most of what hasn't been converted are local changes
> > not
> > > common to OFBiz anyway (although they should be).
> > >
> > > I've given Si at Opentaps a walk through, but was thinking you guys may
> > want
> > > to see what we've done as well.  Happy to donate the whole thing.
> > >
> > > Let me know if you're interested in a web conference.
> > >
> > > ~~~
> > > Lon F. Binder
> > > 917-669-7341
> > > @lonbinder <http://twitter.com/#%21/lonbinder> (twitter)
> >
> > --
> > Ofbiz on twitter: http://twitter.com/apache_ofbiz
> > Alternative ofbiz website: http://www.ofbiz.info
> > http://www.antwebsystems.com : Quality services for competitive rates.
> >
> >

-- 
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Alternative ofbiz website: http://www.ofbiz.info
http://www.antwebsystems.com : Quality services for competitive rates.


Re: Maven2

Posted by Hans Bakker <ma...@antwebsystems.com>.
Thank you Lon,

but these the more general advantages, could you please tell us how the
ofbiz project will be better with maven2? Is it worth switching to it?

Regards,
hans

On Sun, 2011-10-09 at 09:29 -0400, Lon Binder wrote:
> Numbering just for discussion (no priority):
> 
>    1. Order of magnitude better dependency management
>       1. Self-documenting JAR references
>       2. Less JARs need direct references (sub-dependencies will be pulled
>       automatically)
>       3. Internal project dependencies clearer
>       4. The dependency analysis plugin in maven will help keep the excess
>       out of the project
>       2. Smaller subversion checkout
>    3. Much better SCM, particularly across components
>    4. (kind of a sub-point of #3) Better deployment capabilities
>    5. More options for build automation (can still use ant, but now get full
>    world of Maven plugins too)
>       1. One example is I've configured the eclipse plugin so that the
>       .project and .classpath files are auto-generated and kept up-to-date as
>       dependencies change.
>       6. Smart build management: ant is simple, it always does everything;
>    maven is smart, only does what you need -- usually ;-)
>    7. Standardization of folder structure
> 
> That's off top of my head; there are more.
> 
> ~~~
> Lon F. Binder
> 917-669-7341
> @lonbinder <http://twitter.com/#%21/lonbinder> (twitter)
> 
> 
> 
> On Sun, Oct 9, 2011 at 3:48 AM, Hans Bakker
> <ma...@antwebsystems.com>wrote:
> 
> > Hi Lon,
> >
> > could you please tell us what the advantage is of this exercise no using
> > maven2?
> >
> > Regards,
> > Hans
> >
> > On Fri, 2011-10-07 at 16:11 -0400, Lon Binder wrote:
> > > I know Maven has been discussed briefly in the past, but we have gone
> > ahead
> > > full force with it locally.  We have converted the entire OFBiz (actually
> > > Opentaps fork) over to Maven.
> > >
> > > We have not completely done away with Ant at the moment, but we're about
> > 80%
> > > of the way there.  Most of what hasn't been converted are local changes
> > not
> > > common to OFBiz anyway (although they should be).
> > >
> > > I've given Si at Opentaps a walk through, but was thinking you guys may
> > want
> > > to see what we've done as well.  Happy to donate the whole thing.
> > >
> > > Let me know if you're interested in a web conference.
> > >
> > > ~~~
> > > Lon F. Binder
> > > 917-669-7341
> > > @lonbinder <http://twitter.com/#%21/lonbinder> (twitter)
> >
> > --
> > Ofbiz on twitter: http://twitter.com/apache_ofbiz
> > Alternative ofbiz website: http://www.ofbiz.info
> > http://www.antwebsystems.com : Quality services for competitive rates.
> >
> >

-- 
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Alternative ofbiz website: http://www.ofbiz.info
http://www.antwebsystems.com : Quality services for competitive rates.


Re: Maven2

Posted by Lon Binder <lo...@lonbinder.com>.
Numbering just for discussion (no priority):

   1. Order of magnitude better dependency management
      1. Self-documenting JAR references
      2. Less JARs need direct references (sub-dependencies will be pulled
      automatically)
      3. Internal project dependencies clearer
      4. The dependency analysis plugin in maven will help keep the excess
      out of the project
      2. Smaller subversion checkout
   3. Much better SCM, particularly across components
   4. (kind of a sub-point of #3) Better deployment capabilities
   5. More options for build automation (can still use ant, but now get full
   world of Maven plugins too)
      1. One example is I've configured the eclipse plugin so that the
      .project and .classpath files are auto-generated and kept up-to-date as
      dependencies change.
      6. Smart build management: ant is simple, it always does everything;
   maven is smart, only does what you need -- usually ;-)
   7. Standardization of folder structure

That's off top of my head; there are more.

~~~
Lon F. Binder
917-669-7341
@lonbinder <http://twitter.com/#%21/lonbinder> (twitter)



On Sun, Oct 9, 2011 at 3:48 AM, Hans Bakker
<ma...@antwebsystems.com>wrote:

> Hi Lon,
>
> could you please tell us what the advantage is of this exercise no using
> maven2?
>
> Regards,
> Hans
>
> On Fri, 2011-10-07 at 16:11 -0400, Lon Binder wrote:
> > I know Maven has been discussed briefly in the past, but we have gone
> ahead
> > full force with it locally.  We have converted the entire OFBiz (actually
> > Opentaps fork) over to Maven.
> >
> > We have not completely done away with Ant at the moment, but we're about
> 80%
> > of the way there.  Most of what hasn't been converted are local changes
> not
> > common to OFBiz anyway (although they should be).
> >
> > I've given Si at Opentaps a walk through, but was thinking you guys may
> want
> > to see what we've done as well.  Happy to donate the whole thing.
> >
> > Let me know if you're interested in a web conference.
> >
> > ~~~
> > Lon F. Binder
> > 917-669-7341
> > @lonbinder <http://twitter.com/#%21/lonbinder> (twitter)
>
> --
> Ofbiz on twitter: http://twitter.com/apache_ofbiz
> Alternative ofbiz website: http://www.ofbiz.info
> http://www.antwebsystems.com : Quality services for competitive rates.
>
>

Re: Maven2

Posted by Hans Bakker <ma...@antwebsystems.com>.
Hi Lon,

could you please tell us what the advantage is of this exercise no using
maven2?

Regards,
Hans

On Fri, 2011-10-07 at 16:11 -0400, Lon Binder wrote:
> I know Maven has been discussed briefly in the past, but we have gone ahead
> full force with it locally.  We have converted the entire OFBiz (actually
> Opentaps fork) over to Maven.
> 
> We have not completely done away with Ant at the moment, but we're about 80%
> of the way there.  Most of what hasn't been converted are local changes not
> common to OFBiz anyway (although they should be).
> 
> I've given Si at Opentaps a walk through, but was thinking you guys may want
> to see what we've done as well.  Happy to donate the whole thing.
> 
> Let me know if you're interested in a web conference.
> 
> ~~~
> Lon F. Binder
> 917-669-7341
> @lonbinder <http://twitter.com/#%21/lonbinder> (twitter)

-- 
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Alternative ofbiz website: http://www.ofbiz.info
http://www.antwebsystems.com : Quality services for competitive rates.