facebook

add spring capabilities to maven spring project

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #324060 Reply

    Hi,

    My current project uses spring, but it has been created using maven. How can I add spring capabilites to the project. I have seen the online documentation but that talks about sping libs etc. I already the jars configured in the pom and I would just like to add spring capabilities to the project. The version we have is myeclipse enterprise workbench.

    I do not know if this question belongs here, moderators please feel free to move this topic to the appropriate thread.

    Thanks in advance.

    #324079 Reply

    cconway
    Member

    The majority of the items added when adding spring capabilities are libraries. If you wanted to get the spring builder installed, you can use the Add Spring Capabilities wizard, but un-check all libraries on the wizard. Doing this will enable the spring builder and you’ll see the Spring Elements node in the Project Explorer.

    Note that after you’ve added that Spring Elements node in Project explorer, you may need to manually get your existing beans under the “Beans” node by right-clicking the node and selecting Properties, then add all of your existing beans.

    In general, all of the menu options on the MyEclipse menu should work for maven projects just as they do for non-maven projects except that when adding libraries the pom will be updated.

    HTH

    #324153 Reply

    Can you add feature where it picks up the libraries from pom.xml

    #324160 Reply

    cconway
    Member

    Yes, that is exactly how it should work. If something else is happening, please post the problem on these forums.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: add spring capabilities to maven spring project

You must be logged in to post in the forum log in