Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8973

Provide a way to convert pure java libs into maven provided dependencies

    XMLWordPrintable

Details

    • Hide
      A new feature has been added that assists users in converting a Java project to Maven. After selecting the project's Maven coordinate, a new wizard will display that attempts to identify all the project's classpath entries and their equivalent Maven dependencies. The user can then decide on the dependencies that will be added to the generated Maven pom.xml file.

      Dependencies can be edited within the wizard by double-clicking on the dependency, opening a dialog page. After all changes have been made and needed dependencies are selected, a user can select to delete all classpath entries from the project, as the Maven Dependencies Library will provide all the required classpath libraries after the conversion.
      Show
      A new feature has been added that assists users in converting a Java project to Maven. After selecting the project's Maven coordinate, a new wizard will display that attempts to identify all the project's classpath entries and their equivalent Maven dependencies. The user can then decide on the dependencies that will be added to the generated Maven pom.xml file. Dependencies can be edited within the wizard by double-clicking on the dependency, opening a dialog page. After all changes have been made and needed dependencies are selected, a user can select to delete all classpath entries from the project, as the Maven Dependencies Library will provide all the required classpath libraries after the conversion.
    • Documented as Feature Request

    Description

      Execute: right click on a non-maven project, and choose "Configure > Convert to Maven"
      Assert: UI is shown that shows which jars misses metadata and what can be automatically converted to maven dependencies. UI has options to change the dependency details and exclude some of them from the conversion.
      Execute: Press Ok
      Assert: The selected dependencies are added to the generated pom.xml.

      Attachments

        Issue Links

          Activity

            People

              fbricon@redhat.com Fred Bricon
              manderse@redhat.com Max Andersen
              Isaac Rooskov Isaac Rooskov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: