Documentation for converting a project to Maven is out of the scope of the m2e project. Using a webapp archetype might be the best starting place, but overall the conversion will depend on the complexity of the build.
We (Sonatype) also have an Eclipse plugin<http://www.sonatype.com/Products/Sonatype-Insight/Development-Insight/Development-Insight-for-Eclipse>(free, no registration required) available which iterates over your classpath doing hash lookups, though this will only work if the jars are the same as those in maven central. Matthew On 27 September 2011 12:20, Kyle Bober <[email protected]> wrote: > 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 < > [email protected]> 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 <[email protected]> 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 >>> [email protected] >>> https://dev.eclipse.org/mailman/listinfo/m2e-users >>> >>> >> >> _______________________________________________ >> m2e-users mailing list >> [email protected] >> 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 > [email protected] > https://dev.eclipse.org/mailman/listinfo/m2e-users > >
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
