mirror of https://github.com/apache/maven.git
updated API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264971 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c991b41571
commit
6731a0485b
|
@ -23,6 +23,7 @@ import org.apache.maven.artifact.repository.metadata.RepositoryMetadataManagemen
|
|||
import org.apache.maven.plugin.MojoExecutionException;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Collections;
|
||||
|
||||
/**
|
||||
* @goal deployMapping
|
||||
|
@ -47,7 +48,8 @@ public class PluginMappingDeployMojo
|
|||
|
||||
try
|
||||
{
|
||||
getRepositoryMetadataManager().resolve( metadata, distributionRepository, getLocalRepository() );
|
||||
getRepositoryMetadataManager().resolve( metadata, Collections.singletonList( distributionRepository ),
|
||||
getLocalRepository() );
|
||||
|
||||
File metadataFile = updatePluginMap( metadata );
|
||||
|
||||
|
|
Loading…
Reference in New Issue