mirror of https://github.com/apache/maven.git
o Added conversion handling of checksumPolicy to Settings and Profiles.
o Moved the profiles-builder stuff into maven-profile, to make that API more self-contained for reuse in Ant tasks, etc. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191551 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fda77afb12
commit
9aaca6a72d
|
@ -55,15 +55,6 @@
|
|||
<implementation>org.apache.maven.usability.InvalidArtifactDiagnoser</implementation>
|
||||
</component>
|
||||
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.profiles.MavenProfilesBuilder</role>
|
||||
<implementation>org.apache.maven.profiles.DefaultMavenProfilesBuilder</implementation>
|
||||
</component>
|
||||
<!--
|
||||
|
|
||||
| Lifecycle executor
|
||||
|
|
|
@ -100,6 +100,7 @@ public class ProfilesConversionUtils
|
|||
repo.setLayout( profileXmlRepo.getLayout() );
|
||||
repo.setName( profileXmlRepo.getName() );
|
||||
repo.setSnapshotPolicy( profileXmlRepo.getSnapshotPolicy() );
|
||||
repo.setChecksumPolicy( profileXmlRepo.getChecksumPolicy() );
|
||||
repo.setUrl( profileXmlRepo.getUrl() );
|
||||
|
||||
return repo;
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<component-set>
|
||||
<components>
|
||||
<!--
|
||||
|
|
||||
|
|
||||
|
|
||||
-->
|
||||
<component>
|
||||
<role>org.apache.maven.profiles.MavenProfilesBuilder</role>
|
||||
<implementation>org.apache.maven.profiles.DefaultMavenProfilesBuilder</implementation>
|
||||
</component>
|
||||
</components>
|
||||
</component-set>
|
|
@ -160,6 +160,7 @@ public final class SettingsUtils
|
|||
repo.setLayout( settingsRepo.getLayout() );
|
||||
repo.setName( settingsRepo.getName() );
|
||||
repo.setSnapshotPolicy( settingsRepo.getSnapshotPolicy() );
|
||||
repo.setChecksumPolicy( settingsRepo.getChecksumPolicy() );
|
||||
repo.setUrl( settingsRepo.getUrl() );
|
||||
|
||||
return repo;
|
||||
|
|
Loading…
Reference in New Issue