Uploaded image for project: '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
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • 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
        thon Terry Denney 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
        thon Terry Denney 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 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 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 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 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.
        Hide
        mlippert Martin Lippert added a comment -

        This project has moved its issue management to GitHub Issues:
        https://github.com/spring-projects/spring-ide/issues

        Therefore we closed the majority of old issues, like this one here. If you think this issue is still valid and should be fixed or worked on, please feel free to file it as a new issue on GitHub (using the link above).

        Show
        mlippert Martin Lippert added a comment - This project has moved its issue management to GitHub Issues: https://github.com/spring-projects/spring-ide/issues Therefore we closed the majority of old issues, like this one here. If you think this issue is still valid and should be fixed or worked on, please feel free to file it as a new issue on GitHub (using the link above).

          People

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

            Dates

            • Created:
              Updated:
              Resolved: