mirror of https://github.com/apache/maven.git
o committing my changes and i'll quickly make a branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@618021 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
00206c8dbd
commit
a093415971
|
@ -25,6 +25,7 @@ import org.apache.maven.artifact.ArtifactStatus;
|
||||||
import org.apache.maven.artifact.ArtifactUtils;
|
import org.apache.maven.artifact.ArtifactUtils;
|
||||||
import org.apache.maven.artifact.InvalidRepositoryException;
|
import org.apache.maven.artifact.InvalidRepositoryException;
|
||||||
import org.apache.maven.artifact.UnknownRepositoryLayoutException;
|
import org.apache.maven.artifact.UnknownRepositoryLayoutException;
|
||||||
|
import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager;
|
||||||
import org.apache.maven.artifact.factory.ArtifactFactory;
|
import org.apache.maven.artifact.factory.ArtifactFactory;
|
||||||
import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
|
import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
|
||||||
import org.apache.maven.artifact.repository.ArtifactRepository;
|
import org.apache.maven.artifact.repository.ArtifactRepository;
|
||||||
|
@ -162,6 +163,8 @@ public class DefaultMavenProjectBuilder
|
||||||
|
|
||||||
private MavenTools mavenTools;
|
private MavenTools mavenTools;
|
||||||
|
|
||||||
|
private ArtifactHandlerManager artifactHandlerManager;
|
||||||
|
|
||||||
//DO NOT USE, it is here only for backward compatibility reasons. The existing
|
//DO NOT USE, it is here only for backward compatibility reasons. The existing
|
||||||
// maven-assembly-plugin (2.2-beta-1) is accessing it via reflection.
|
// maven-assembly-plugin (2.2-beta-1) is accessing it via reflection.
|
||||||
|
|
||||||
|
|
|
@ -144,6 +144,9 @@ under the License.
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.apache.maven.MavenTools</role>
|
<role>org.apache.maven.MavenTools</role>
|
||||||
</requirement>
|
</requirement>
|
||||||
|
<requirement>
|
||||||
|
<role>org.apache.maven.artifact.handler.manager.ArtifactHandlerManager</role>
|
||||||
|
</requirement>
|
||||||
</requirements>
|
</requirements>
|
||||||
</component>
|
</component>
|
||||||
<!--
|
<!--
|
||||||
|
@ -244,7 +247,27 @@ under the License.
|
||||||
</requirement>
|
</requirement>
|
||||||
</requirements>
|
</requirements>
|
||||||
</component>
|
</component>
|
||||||
|
|
||||||
|
<component>
|
||||||
|
<role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
|
||||||
|
<role-hint>maven-strict</role-hint>
|
||||||
|
<implementation>org.apache.maven.project.artifact.MavenMetadataSource</implementation>
|
||||||
|
<configuration>
|
||||||
|
<strictlyEnforceThePresenceOfAValidMavenPOM>true</strictlyEnforceThePresenceOfAValidMavenPOM>
|
||||||
|
</configuration>
|
||||||
|
<requirements>
|
||||||
|
<requirement>
|
||||||
|
<role>org.apache.maven.artifact.factory.ArtifactFactory</role>
|
||||||
|
</requirement>
|
||||||
|
<requirement>
|
||||||
|
<role>org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager</role>
|
||||||
|
</requirement>
|
||||||
|
<requirement>
|
||||||
|
<role>org.apache.maven.artifact.handler.manager.ArtifactHandlerManager</role>
|
||||||
|
</requirement>
|
||||||
|
</requirements>
|
||||||
|
</component>
|
||||||
|
|
||||||
<component>
|
<component>
|
||||||
<role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
|
<role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
|
||||||
<role-hint>maven</role-hint>
|
<role-hint>maven</role-hint>
|
||||||
|
|
Loading…
Reference in New Issue