maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald Albury <ronalb...@gmail.com>
Subject Re: migrating from Eclipse to a Maven build
Date Thu, 07 Jun 2012 14:08:11 GMT
Thanks Ron

The other fly in the ointment is that this is an IBM shop and we are
required to develop in IBM's RAD flavor of Eclipse.  That doesn't mean we
can't add plugins - only that we can't go to STS.

I have the project layout pretty clean - with one artifact per project (jar
library, executable jar, war/ear).  There are three top level applications
that come out of the workspace - an ear and two runnable jar files.  The
jar libraries are shared across the three applications.  I have heard
rumors that Maven will object to this sort of layout ... I'd be interested
in your opinion on that subject.

Thanks again for your input.  I'll give your M2 plugin suggestions a try.

RonA

On Thu, Jun 7, 2012 at 9:29 AM, Ron Wheeler
<rwheeler@artifact-software.com>wrote:

> On 07/06/2012 8:59 AM, Ronald Albury wrote:
>
>> I have seen much documentation of importing a Maven project into Eclipse.
>>  However, many of us have the opposite situation - we are starting with an
>> Eclipse set-up and have decided to migrate to Maven for the builds.
>>
>> I did find one posting on the subject - the author, like myself, was
>> intimidated by Maven ... and especially intimidated by the differences in
>> the directory layout between Maven and Eclipse.  However, he said that
>> since he was well experienced in Eclipse he was able to muddle thru it.
>>  Muddle thru it how?  The only thing I can think of is to start by
>> building
>> a Maven set-up, manually moving my Eclipse files into the Maven projects,
>> and then importing back into Eclipse.
>>
>> Surely there is a better way than that!
>>
>> Thanks for your patience and your assistance,
>>    RonA
>>
>>  The directory structure is not any different except where the root is in
> your source tree unless you have done some strange things with your sources
> or other resources.
> Have Eclipse, with M2, (or Eclipse STS) generate a Maven project for you,
> add a simple dummy program and compile it. Then compare your source layout
> with Eclipse's maven layout and see how much your current layout differs.
>
> Ron
>
> --
> Ron Wheeler President Artifact Software Inc email:
> rwheeler@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435,
> ext 102
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@maven.**apache.org<users-unsubscribe@maven.apache.org>
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message