Spring Tool Suite
  1. Spring Tool Suite
  2. STS-105

As a user, I would like the New Project Wizard to create a Bundle project to use a Maven archetype to create basic project structure

    Details

    • Type: New Feature New Feature
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: MAVEN
    • Labels:

      Description

      In the same spirit than Spring OSGi archetype:
      http://static.springframework.org/osgi/docs/1.1.0/reference/html/appendix-archetype.html

      It would be much easier if the basic Maven/Spring DM structure being generated automatically instead of doing it manually for each new bundle

        Activity

        Hide
        Terry Hon (c) added a comment -

        Hi Frederic, sorry for the delayed response. Could you please clarify what you mean by the New Project Wizard using the Maven archetype? What use case(s) are you experiencing that makes it insufficient to use the new Maven project wizard to select the archetype?

        Show
        Terry Hon (c) added a comment - Hi Frederic, sorry for the delayed response. Could you please clarify what you mean by the New Project Wizard using the Maven archetype? What use case(s) are you experiencing that makes it insufficient to use the new Maven project wizard to select the archetype?
        Hide
        Frederic Conrotte added a comment -

        Hi Terry

        Thanks for your answer

        When you have plain Eclipse install with Spring IDE and no m2Eclipse you didn't get the chance to use the New Project -> Maven -> Maven Module wizard

        But it's included with STS now

        What I meant is: in STS -> New -> Project... -> Spring dm server -> Bundle project wizard doesnt use the Spring OSGi Maven archetype by default but I guess it's a matter of taste

        Maybe add an option in the Bundle project wizard "create as Maven project" ?

        Show
        Frederic Conrotte added a comment - Hi Terry Thanks for your answer When you have plain Eclipse install with Spring IDE and no m2Eclipse you didn't get the chance to use the New Project -> Maven -> Maven Module wizard But it's included with STS now What I meant is: in STS -> New -> Project... -> Spring dm server -> Bundle project wizard doesnt use the Spring OSGi Maven archetype by default but I guess it's a matter of taste Maybe add an option in the Bundle project wizard "create as Maven project" ?
        Hide
        Joel Rosi-Schwartz added a comment -

        In my recent experience I have found no way to accomplish creating a Maven module that is configured to create OSGi bundle in a single step when using STS 2.5.2.SR1. My use case is that I want to use a classic maven layout with sub-modules. From the "New Maven Module" wizard the logical choice for archetype would seem to be the spring-osgi-bundle-archetype (2.0.0.M1) but that fails with a
        Failed to create project.
        Element not found: /prova2/xxx

        It would be very useful to be able to accomplish this without a lot of hand configuration.

        Show
        Joel Rosi-Schwartz added a comment - In my recent experience I have found no way to accomplish creating a Maven module that is configured to create OSGi bundle in a single step when using STS 2.5.2.SR1. My use case is that I want to use a classic maven layout with sub-modules. From the "New Maven Module" wizard the logical choice for archetype would seem to be the spring-osgi-bundle-archetype (2.0.0.M1) but that fails with a Failed to create project. Element not found: /prova2/xxx It would be very useful to be able to accomplish this without a lot of hand configuration.

          People

          • Assignee:
            Unassigned
            Reporter:
            Frederic Conrotte
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              First Response Date: