Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 2nd, 2009, 05:26 PM
Chicago_Jae Chicago_Jae is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Los Angeles
Posts: 80 Chicago_Jae User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 14 m 47 sec
Reputation Power: 7
Exclamation Apache Maven

Hello. Does anyone here know anything about Apache Maven? It's supposed to be a watered down version of Ant, but I am not grasping it very well yet. I am creating a multi-module project and it's been very hard to define all the dependencies and build the project. Given the work effort put in so far, I don't know if it's really worth the effort and will provide a good ROI. It's just not making a whole lot of sense to me so far. Anyone can provide some insight, such as their experiences with using it, particularly in the context of a multi-module J2EE EAR project? Any comments or insight is appreciated. Thanks.

Reply With Quote
  #2  
Old July 2nd, 2009, 06:11 PM
Yawmark's Avatar
Yawmark Yawmark is offline
Feelin' Groovy
Click here for more information.
 
Join Date: Aug 2001
Location: WDSMIA
Posts: 9,195 Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level)Yawmark User rank is General 33rd Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 18 h 56 m 20 sec
Reputation Power: 3160
Send a message via ICQ to Yawmark Send a message via MSN to Yawmark
Quote:
Originally Posted by Chicago_Jae
Hello. Does anyone here know anything about Apache Maven?

Yep.

Quote:
It's supposed to be a watered down version of Ant...

Not at all.

Quote:
Anyone can provide some insight, such as their experiences with using it, particularly in the context of a multi-module J2EE EAR project?

It's worked great for me so far for that very purpose. What information can I provide to help Maven make more sense to you?

In the meantime, I highly recommend using the following resources:

- The "Getting Help" section of the project site
- The Definitive Guide to Maven

~
__________________
Yawmark
class Sig{public static void main(String...args){\u0066or(int
\u0020$:"vÌÈÊ\"¤¾Àʲ¬Æ\"v¤Î¤\"²¤¨¸¬Æ".to\u0043h\u0061rArray()
)System./*goto/*$/%\u0126//^\u002A\u002Fout.print((char)(($>>
+(~'"'&'#'))+('<'>>('\\'/'.')/\u002Array.const(~1)\*\u002F)));}}

Reply With Quote
  #3  
Old July 10th, 2009, 03:21 AM
Andy_SWE Andy_SWE is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2005
Location: Sweden
Posts: 29 Andy_SWE User rank is Sergeant Major (2000 - 5000 Reputation Level)Andy_SWE User rank is Sergeant Major (2000 - 5000 Reputation Level)Andy_SWE User rank is Sergeant Major (2000 - 5000 Reputation Level)Andy_SWE User rank is Sergeant Major (2000 - 5000 Reputation Level)Andy_SWE User rank is Sergeant Major (2000 - 5000 Reputation Level)Andy_SWE User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 11 h 27 m 35 sec
Reputation Power: 0
I've been using Maven 2 at work for over 2 years now and I think it's all in all good.
Prior to Maven we had a very complicated build configuration with Ant and shell-scripts to build and deploy. Also we had to manually manage dependencies, something that easily gets out of hand with several million lines of code. All that has been solved by Maven in a brilliant way!

The only thing I don't like with Maven is that with many and big projects the build/deploy process takes some time to perform, usually much more than a simple Ant-task that copies class files from Eclipse target-folder would. As a developer, waiting 5 mins for deploy as soon as you've made a tiny change isn't ok. But, like I hinted, this depends greatly on how your project(s) are arranged and intertwined so don't get scared!
We solved the build/deploy wait with Ant, a quick-deploy-script that just copies from target-folder.
After all, it's not against the law to use Ant just because you've choosen Maven

All in all, I would never go back to what we had before. Maven has made my work so much easier! Use Maven!
Comments on this post
Yawmark agrees!
mrider agrees!

Reply With Quote
  #4  
Old July 10th, 2009, 01:05 PM
mrider's Avatar
mrider mrider is offline
Registered nutcase
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Mar 2005
Location: Earth. Welcome.
Posts: 1,437 mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level)mrider User rank is General 5th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 3 Weeks 3 Days 14 h 59 m 47 sec
Reputation Power: 1302
The biggest difference between Maven and Ant (at least in my mind) is that Ant is relatively easy to understand, but always takes a fair amount of work to produce a working build. It's closer to the metal so to speak.

Maven on the other hand takes more work to understand, but once you get past the learning curve it's almost always easier to use. It's further from the metal so to speak.


And like Andy_SWE, I typically have a Maven build and Ant build in the same project. Often times I have several bash scripts in those projects as well. Typically the further I stray from Maven the more customized the script is for my particular circumstances.

For example, a published project will have a Maven build. But often times I'll also have an Ant script that sets up Maven on a new machine. The idea being that a person can pull down a project from revision control and run an Ant build to get the real build system. Then I often have several bash scripts that takes care of some of my personal housekeeping - those often times aren't even maintained in revision control.
__________________
A -> B: Ride.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Apache Maven


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek