project.addDefaultProcedures();
String testDir = BuildDirectoryUtils.getBuildDirectoryPath();
String jarName = "compile-deployment.jar";
String catalogJar = testDir + File.separator + jarName;
assertTrue("Project failed to compile", project.compile(catalogJar));
// Load the catalog to an in-memory jar and tweak the version to make it incompatible.
byte[] bytes = MiscUtils.fileToBytes(new File(catalogJar));
InMemoryJarfile memCatalog = CatalogUpgradeTools.loadCatalog(bytes, false);
CatalogUpgradeTools.dorkVersion(memCatalog);