Results 1 to 4 of 4

Thread: bundlor: generate MANIFEST from maven

  1. #1
    Join Date
    Feb 2009
    Posts
    16

    Question bundlor: generate MANIFEST from maven

    Hello,

    I use maven as build tool and eclipse as IDE, but I would like to be independent from the used IDE.

    Also generating the MANIFEST.MF from eclipse needs to synchronise some settings in the maven.pom and the template.mf (e.g. version and Bundle-Version).

    So I tried to generate the MANIFEST.MF file into the folder "src/main/resources" by configuring the bundlor maven plugin:

    Code:
    <execution>
      <id>bundlor</id>
      <goals>
        <goal>transform</goal>
      </goals>
      <phase>package</phase>
      <configuration>
        <outputFile>${basedir}/src/main/resources/</outputFile>
    ...
    but I never get a generated file. Its is only created into the artifact jar.

    Is there an other way to do this?

    regards,
    Lars

    PS: Oh, this thread should have been posted in the "Spring Development Tools" folder. Can it be moved?
    Last edited by lfischer; Mar 31st, 2009 at 06:43 AM.

  2. #2

    Default

    If you are looking for ways to generate MANIFEST from maven, you can try out maven-bundle-plugin from Apache Felix project.
    Also, maven provides an archetype to create a template "bundle" project using the above plugin; it should help you get started.

    Regards

  3. #3
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Moved the thread from Spring Dynamic Module.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  4. #4
    Join Date
    Feb 2009
    Posts
    16

    Default

    I know about the maven-bundle-plugin.
    But using spring-dm there may be the problem that the configuration files could define some additional dependencies which are not resolved by the maven-bundle-plugin.

    That's why I'm evaluating the bundlor.

    regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •