0

I am planning to migrate from my existing ant project which is built on Java1.5 to maven project. How to proceed with this? Existing project has some deprecated jars used/ added in lib dir. I am not able to find those jars dependencies on maven central repository. Because of this I am not able to build the project.

sam N
  • 83
  • 1
  • 8
  • You can import deprecated jars into your local maven repo, or to the team remote maven repo (if your team has one). And later, when you are able to build your project with maven, look for a way to replace them with modern alternatives. – Vitaly Roslov Sep 27 '19 at 10:49
  • Firstly create a new maven project. Then migrate all your class in src/main/java, all your resources in src/main/resources and your tests in src/main/test. In your pom, put all your dependencies (you can find mostly in apache website) that you have in your previous project. Add some plugin and properties you need and it should be done... – pacataque Sep 27 '19 at 10:50
  • https://stackoverflow.com/questions/4955635/how-to-add-local-jar-files-to-a-maven-project this will help – Viet Sep 27 '19 at 10:52

0 Answers0