Eclipse Bundles in the Maven Repository

posted 10:18AM Feb 08, 2007 with tags eclipse maven softwaredevelopment by Lars Trieloff

Carlos Sanchez points to the new Eclipse dependency packages in the Maven repository, that are automatically generated using Apache Felix maven bundle plugin. Carlos is working on improving the bidirectional mapping of Maven project object models and OSGi bundles.

Eugene Kuleshov comments:

With number of Eclipse bundles and its frequent release cycle, the idea if such repository don't really makes sense, maybe except for the Equinox itself. For the rest of bundles it is more appropriate to use Eclipse install as a repository of special format (it is called Target Platform in Eclipse's own build).

I cannot agree. When you are building SWT applications or RCP applications outside Eclipse, you cannot rely on Eclipse's build system, there needs to be an external build system and you cannot rely on having Eclipse as the target platform installed to provide all dependencies.

| Comments[1]

Comments:

Interestingly Eclipse does (try?) to support some sort of outside-of-Eclipse build system. You can somehow generate Ant build files that are supposed to be able to do the same thing as Eclipse.

The problem with that is that it's totally broken, it simply doesn't work. Also, the Ant build files look really horrible and are totally unmaintainable, if something goes wrong, you're really screwed.

I think the right solution would be indeed to implement a plugin for the build system (be it Maven or Ant) and use that to provide simple, clean build files.

Posted by Martin Probst on February 08, 2007 at 11:13 AM CET #

Post a Comment:
Comments are closed for this entry.