Results 1 to 2 of 2
  1. #1
    oliosien is offline Member
    Join Date
    Mar 2015
    Posts
    1
    Rep Power
    0

    Default Convert Java Project (Old Style) to Maven Project

    Hi all.
    I have a complex java project (not mavenized), with a large number of libraries (jars) into WEB-INF/lib.
    I want to mavenized the project and I am looking for a plug-in (or others, any suggestions are accepted)
    that reads the list of jars and creates the pom file with all libreries.

    Is there anything to perform this work?

    Thanks.

    Enrico

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: Convert Java Project (Old Style) to Maven Project

    What you ask is impossible. You can't deduce the proper repository, scope, groupId and version from a simple jar file.

    Your best bet is to use the site http://mvnrepository.com/ and manually search for the proper pom dependency declarations yourself. That is going to be a tedious job requiring lots of coffee, but hopefully you will only have to do it once.
    Last edited by gimbal2; 03-23-2015 at 03:27 PM.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 0
    Last Post: 05-13-2014, 10:52 AM
  2. convert dynamic web project to maven project
    By Achouri in forum Apache Maven
    Replies: 0
    Last Post: 04-23-2014, 02:31 AM
  3. Maven Project Structure
    By jackett_dad in forum Apache Maven
    Replies: 1
    Last Post: 12-28-2012, 04:45 AM
  4. Replies: 7
    Last Post: 11-27-2012, 10:16 AM
  5. How to convert from Ant project to maven project?
    By jiapei100 in forum New To Java
    Replies: 0
    Last Post: 06-08-2011, 10:01 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •