Don't do a big redesign, take it in small steps. [1]

> Also the projects are interdependent. Its like one project has code that
> can be looked at as an API sort of thing providing common functionalities.

Good, use modules and add dependencies to the project that use them.

> Another project has all the applications that use the previous one.

This sounds like different projects, but maybe a common parent could
come in handy. Like, defining dependencyManagement, different
reporting settings then your common modules, etc.

I suggest to create a company pom with all the plugin configuration
and let all the projects inherit it from here.

Remember, take it in little steps.
- Organize the files in each module according to the Maven way and
remove any configuration which uses the old paths.
- Create a dependencyManagement section and start removing dependency
version numbers from each module, so you have uniform dependencies.

[1] http://blog.objectmentor.com/articles/2009/01/09/the-big-redesign-in-the-sky

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Thu, Mar 12, 2009 at 11:51 AM, Santos Patel <[email protected]> wrote:
> hi,
>
> Thanks for the prompt reply. I have installed the maven plugin for
> eclipse. I'm using Eclipse Ganymede.
> The problem is the poms under these 3 projects are not structured well.
> Also the projects are interdependent. Its like one project has code that
> can be looked at as an API sort of thing providing common functionalities.
> Another project has all the applications that use the previous one. And
> the final one sort of builds plugins using the other two. By plugin I mean
> that it is going to be integrated into another big already deployed
> application.
>
> Re-designing the complete thing would be hectic but once done.....
>
> @NICK
> I'm thinking about the super-POM thing that you referred. That is indeed a
> good idea. Thanks.
> Any more thoughts please share...
>
> Santosh
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to