Thus, at the end of this chapter, you are able to migrate a wide range of projects to Maven:
- Getting information from the POM when available
- Searching and finding clues from the archives
- As a last resort, setting a pseudo-remote repository
However, this step of migration is not sufficient: despite you having performed migration, other tasks, such as detecting conflicts and fixing them, are still to be completed.
The complete POM, built on the former Ant
build.xml file, looks like:
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> ...