Hi,

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


thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • Where David Bernard

Reply via email to