Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] existing eclipse web project to maven

Just for you to know and think about it... I work in a project with several modules and dependencies... The project was 4 years old when I joined the team (so you can imagine how big the code was) and I soon noticed they were running on serious problems that are easily managed by Maven.

Then I showed the benefits of using Maven focusing on how it would fix the specific problems that were present on our project and I convinced the manager to give me some time to configure Maven... I spent about 3 weeks to make everything work.

The result is that the project is now 1 year A.M. (After Maven lol) and people here can't even imagine what it is like to work without Maven.

On Tue, Sep 27, 2011 at 2:35 PM, Mike Lee <mleejrspam@xxxxxxxxx> wrote:
Ya, that's what I was thinking. Maven is good if you start with maven but I inherited this. :(
Thanks for the input everyone. It unfortunately validates what I was thinking.



From: Kyle Bober <kyle.bober@xxxxxxxxx>
To: Maven Integration for Eclipse users mailing list <m2e-users@xxxxxxxxxxx>
Sent: Tuesday, September 27, 2011 12:20 PM
Subject: Re: [m2e-users] existing eclipse web project to maven

You could possibly knock out the jar dependencies using a nexus repository and running a checksum search to locate the dependencies. But attempting to do this in one day is rather aggressive.

On Tue, Sep 27, 2011 at 12:08 PM, Rafael Vanderlei <rafaelvanderlei@xxxxxxxxx> wrote:
If you have 50 jars with no documentation, specially about the version of each jar you are using and have less than one day to 'mavenize' your project, then I'm afraid you'll be moving back to ANT.

On Tue, Sep 27, 2011 at 12:23 PM, Mike Lee <mleejrspam@xxxxxxxxx> wrote:
I have an existing eclipse web project with no maven pom or anything. I just installed maven and m2. I created a basic pom.xml. All I want to do is make my existing eclipse project 'mavenized' so I can build it outside of eclipse. I have literally about 50 jars in the WEB-INF lib and just want to import them as is into the pom. I also don't know how to make it build a war. I tried to do that Configure-Configure eclipse for maven or whatever the option was in m2 and it just hosed up my eclipse project (says something about a facet yet won't let me drill down).

How do I do this?
There is literally NO documentation. It all sends you to that eclipse encyclopedia page or whatever which just describes what m2 does and has a link to a troubleshooting FAQ. There is a video that shows how to import jetty. Ok. That's nice.
I am not a maven expert but I have worked with it a while ago and understand the jist. I have less than one day or I'm moving back to ANT.
Thanks,
Michael Lee

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users




--
Any fool can write code that a computer can understand.  Good programmers write code that humans can understand.  ~Martin Fowler


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top