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:
John Dennis Casey 2005-06-20 20:08:05 +00:00
parent fda77afb12
commit 9aaca6a72d
6 changed files with 15 additions and 9 deletions

View File

@ -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

View File

@ -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;

View File

@ -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>

View File

@ -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;