David, We have some infrastructure and somewhat more high level API in m2eclipse [1] [2] to work with Maven in Eclipse. It is not quite well documented, but we'll be glad to answer specific questions in m2eclipse mailing lists [3].
Also note that Maven Embedder component is only available starting from Maven 2.1 regards, Eugene [1] http://m2eclipse.codehaus.org/ [2] http://docs.codehaus.org/display/M2ECLIPSE/Home [3] http://m2eclipse.codehaus.org/mail-lists.html David Bernard-4 wrote: > > Im using maven2 with eclise. I try to use the code at the following link: > > http://maven.apache.org/guides/mini/guide-embedding-m2.html > > infortunatly, I got lots af compilation error this code > > Configuration configuration = new DefaultConfiguration() > .setUserSettingsFile( user ) > .setClassLoader( > Thread.currentThread().getContextClassLoader() > ); > > ConfigurationValidationResult validationResult = > MavenEmbedder.validateConfiguration( configuration ); > > specialy with these classes: Configuration, ConfigurationValidationResult > and DefaultConfiguration > > I was sure that these classes were in the maven-embedder-2.0.4.zip at the > link > http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/maven-embedder/2.0.4 > / but not. > Where I can find the right jare fil to be able to use Configuration, > ConfigurationValidationResult and DefaultConfiguration > -- View this message in context: http://www.nabble.com/Where-tp18871309p18872559.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]