I'm trying to upgrade the dependencies of the appfuse-maven-plugin to use the latest Maven dependencies to solve an issue with using Maven 3.
http://issues.appfuse.org/browse/APF-1220 However, when I upgrade to maven-embedder 3.0.2, there's a couple classes missing: MavenEmbedder and MavenEmbedderConsoleLogger. I'm using these as indicated below. private MavenProject createProjectFromPom(File pom) { MavenEmbedder maven = new MavenEmbedder(); maven.setOffline(true); maven.setClassLoader(Thread.currentThread().getContextClassLoader()); maven.setLogger(new MavenEmbedderConsoleLogger()); MavenProject p = null; try { maven.setAlignWithUserInstallation(true); maven.start(); p = maven.readProjectWithDependencies(pom); maven.stop(); } catch (Exception e) { e.printStackTrace(); } return p; } Is it possible to do something like this with 3.0.2 and will it help me solve this error? A required class was missing while executing org.appfuse.plugins:appfuse-maven-plugin:2.1.0-SNAPSHOT:full-source: org/codehaus/plexus/embed/Embedder -- View this message in context: http://maven.40175.n5.nabble.com/Upgrading-maven-embedder-from-2-0-4-to-3-0-2-tp3379984p3379984.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
