Developers, Developers, Developers! Maksim Sorokin IT Blog

25Nov/102

Checking out PDE as Maven Project in Eclipse

Ealier I though about bringing maven structure to mavenized PDE projects. That it instead of having

- trunk
  # dk.sorokin.maksim.feature
  # dk.sorokin.maksim.plugin
  # dk.sorokin.maksim.parent

where dk.sorokin.maksim.parent is a project containing parent pom.xml, have more standard maven structure:

- trunk
  # dk.sorokin.maksim.parent
    @ dk.sorokin.maksim.feature
    @ dk.sorokin.maksim.plugin

Latter case has more benefits. One could use "Check out as Maven Project...". When a new plugin is added, changes immediately are seen on the parent. There will be no need in providing "relativePath" to the parent in the modules.

However, as far as I see, at the moment it is not possible. The problem is that together with Mavenizing the project, we still want to preserve developers to work with the project the way they worked before. We need to have ".project" and ".classpath" files commited to repository. M2Eclipse Eclipse plugin fucks up ".classpath" file and adds some new settings during "Check out as Maven Project...".
Therefore, currently we will use a plain PDE structure and will not check out projects as Maven ones.

Comments (2) Trackbacks (1)
  1. Excellent stuff from you, man. I’ve read your things before and you are just too awesome. I adore what you have got right here. You make it entertaining and you still manage to keep it smart.This is truly a great blog thanks for sharing

  2. It’s good to see this information in your post, I was looking the same but there was not any proper resource, thanks now I have the link which I was looking for my research.


Leave a comment