Danuja Jayawardhana
Danuja Jayawardhana

Reputation: 33

Migrating from Java 6, Ant to Java 13, Maven

We have a system which runs on Java 6 and uses Ant. I want to migrate the system to Java 13 and Maven.

  1. What are the things that I need to consider when performing this migration? I understand that some third party libraries may cause issues but I'm hoping that all the Java libraries will work smoothly as before.

  2. What is the easiest way to follow in doing this? Is there a plugin in an IDE which can perform the Ant to Maven migration easily?

Thanks in advance.

Upvotes: 0

Views: 329

Answers (1)

khmarbaise
khmarbaise

Reputation: 97399

First migration is a manual process

  1. Change the directory to follow Maven conventions
  2. Create one/more pom files which fill your needs. Do you have multiple modules?
  3. Try to build with maven
  4. Are you within a company? Yes start with a repository manager
  5. Make configuration (settings.xml).
  6. Start to build with JDK 8 first (expect issues with libraries)
  7. Try to build with JDK 11 (expect some issue with libraries)
  8. Finally JDK 13

Upvotes: 3

Related Questions