mirror of https://github.com/apache/maven.git
o Added duplicate declaration of settings builder and artifact repo factory, to allow embedding of maven inside plexus-based apps that already have a plexus.xml (and therefore cannot use maven's plexus.xml).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163584 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9363c35399
commit
1cc2abaaa4
|
@ -232,10 +232,30 @@
|
|||
<!-- END SNIPPET: lifecycle -->
|
||||
</configuration>
|
||||
</component>
|
||||
<!-- I realize this is duplicated but allows the project builder to work by itself -->
|
||||
<!-- ********************* FIXME *******************************************
|
||||
| I realize this is duplicated but allows the project builder to work by itself
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.project.path.PathTranslator</role>
|
||||
<implementation>org.apache.maven.project.path.DefaultPathTranslator</implementation>
|
||||
</component>
|
||||
</components>
|
||||
<!-- ********************* FIXME *******************************************
|
||||
| NOTE: This is also declared in plexus.xml for maven. We currently need it
|
||||
| in both places, for systems that don't use maven's plexus.xml. This will
|
||||
| become unnecessary when multiple plexus.xml files are allowed in plexus.
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.artifact.repository.ArtifactRepositoryFactory</role>
|
||||
<implementation>org.apache.maven.artifact.repository.DefaultArtifactRepositoryFactory</implementation>
|
||||
</component>
|
||||
<!-- ********************* FIXME *******************************************
|
||||
| NOTE: This is also declared in plexus.xml for maven. We currently need it
|
||||
| in both places, for systems that don't use maven's plexus.xml. This will
|
||||
| become unnecessary when multiple plexus.xml files are allowed in plexus.
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.settings.MavenSettingsBuilder</role>
|
||||
<implementation>org.apache.maven.settings.DefaultMavenSettingsBuilder</implementation>
|
||||
</component>
|
||||
</component-set>
|
||||
|
|
Loading…
Reference in New Issue