continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: svn commit: r515406 - /maven/continuum/trunk/continuum-release/src/main/resources/META-INF/plexus/components.xml
Date Thu, 15 Mar 2007 22:41:57 GMT
Handy,

I think this patch is wrong, we need to use this component with 'maven' role-hint because
it's this component declared in maven-project.

Emmanuel

handyande@apache.org a écrit :
> Author: handyande
> Date: Tue Mar  6 17:17:11 2007
> New Revision: 515406
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=515406
> Log:
> We need this component declaration for now, as the released components were on non-default
role-hints, but the impl expects a default, so we provide it.
> This can be removed once continuum gets a 2.1-SNAP maven dep
> 
> Modified:
>     maven/continuum/trunk/continuum-release/src/main/resources/META-INF/plexus/components.xml
> 
> Modified: maven/continuum/trunk/continuum-release/src/main/resources/META-INF/plexus/components.xml
> URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-release/src/main/resources/META-INF/plexus/components.xml?view=diff&rev=515406&r1=515405&r2=515406
> ==============================================================================
> --- maven/continuum/trunk/continuum-release/src/main/resources/META-INF/plexus/components.xml
(original)
> +++ maven/continuum/trunk/continuum-release/src/main/resources/META-INF/plexus/components.xml
Tue Mar  6 17:17:11 2007
> @@ -314,6 +314,25 @@
>        </configuration>
>      </component>
>  
> +    <!-- This needs to be removed once we can upgrade maven-project to 2.1-SNAPSHOT
or later. -->
> +    <component>
> +      <role>org.apache.maven.artifact.metadata.ArtifactMetadataSource</role>
> +      <role-hint>default</role-hint>
> +      <implementation>org.apache.maven.project.artifact.MavenMetadataSource</implementation>
> +      <requirements>
> +        <requirement>
> +          <role>org.apache.maven.project.MavenProjectBuilder</role>
> +        </requirement>
> +        <requirement>
> +          <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
> +        </requirement>
> +        <requirement>
> +          <role>org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager</role
> +>
> +        </requirement>
> +      </requirements>
> +    </component>
> +
>    </components>
>  
>  </component-set>
> 
> 
> 
> 
> 


Mime
View raw message