[jbosstools-issues] [JBoss JIRA] (JBIDE-8973) Provide a way to convert pure java libs into maven provided dependencies

Isaac Rooskov (JIRA) jira-events at lists.jboss.org
Thu Nov 29 20:11:21 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-8973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Isaac Rooskov updated JBIDE-8973:
---------------------------------

    Release Notes Docs Status: Documented as Feature Request
                       Writer: irooskov
           Release Notes Text: 
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.

  was:
When converting a legacy Eclipse Java project to maven (right-click on project > Configure > Convert to Maven ...), after selecting the project's maven coordinate, a new wizard will pop up, trying to identify all the project's classpath entries as their equivalent Maven dependencies. The user can (de)select all the dependencies that will be added to the generated pom.xml. Double-clicking on a Maven dependency will open a dialog page to edit the dependency's details (groupId, artifactId, version, scope ...)
Checking the "Delete classpath entries from project" checkbox will remove all the project classpath entries, as we expect the Maven Dependencies Library, added after the project conversion, to provide all the required classpath libraries.


    
> Provide a way to convert pure java libs into maven provided dependencies
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-8973
>                 URL: https://issues.jboss.org/browse/JBIDE-8973
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: maven
>    Affects Versions: 3.3.0.M1
>            Reporter: Max Rydahl Andersen
>            Assignee: Fred Bricon
>              Labels: maven_conversion, new_and_noteworthy
>             Fix For: 4.0.0.Alpha1
>
>         Attachments: identify_dependencies.png
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list