Hello Maven community, I have written a maven plugin which uses the
2.2.1 api to download artifacts.  I see the api's between 2.x and 3.x
have changed for plugins like this.  

 

Actually, it looks like I use 2 parts of the old api.

1)      Downloading artifacts using these deprecated classes.

org.apache.maven.artifact.factory.ArtifactFactory;

org.apache.maven.artifact.metadata.ArtifactMetadataSource;

org.apache.maven.artifact.repository.ArtifactRepositoryFactory;

org.apache.maven.artifact.repository.layout.DefaultRepositoryLayout;

org.apache.maven.artifact.resolver.ArtifactResolver;

 

2)      Getting the base directory of the project which is executing the
plugin.

org.apache.maven.project.MavenProject;

 

Question) Can somebody point me towards the classes in 3.x which I
should be migrating towards to achieve this functionality?

 

Cheers,

Harsha

Reply via email to