Hi.
I would like to perform programatic dependency analysis from a POM, via the
standard Maven 2.1 APIs. I'd like to be able to call methode analyze() in class
DefaultProjectDependencyAnalyzer, passing it a MavenProject instance which I
would have previously built from the POM file by using method build() in class
DefaultMavenProjectBuilder.
The two classes mentioned above have empty default constructors but they do have
private attributes which seem to be set elsewhere (I don't see any setters in
the classes).
Can I just instantiate the above classes (for example as Spring singletons) and
call the methods I need (see above), or do I need to go through some other code
that will initialize those classes' attributes with the right values ?
Fabien


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to