mirror of https://github.com/apache/maven.git
o Changed the package name of the POM translator from *.pom to *.translate
o Changed the type of notifier created by the nagEmailAddress from 'email' to 'mail' following brett's changes to the maven-components pom. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163614 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
82d693b967
commit
fcb311e99c
|
@ -20,8 +20,8 @@ package org.apache.maven.tools.repoclean;
|
||||||
import org.apache.maven.tools.repoclean.correlate.ArtifactMd5Correlator;
|
import org.apache.maven.tools.repoclean.correlate.ArtifactMd5Correlator;
|
||||||
import org.apache.maven.tools.repoclean.correlate.ArtifactPomCorrelator;
|
import org.apache.maven.tools.repoclean.correlate.ArtifactPomCorrelator;
|
||||||
import org.apache.maven.tools.repoclean.patch.V4ModelPatcher;
|
import org.apache.maven.tools.repoclean.patch.V4ModelPatcher;
|
||||||
import org.apache.maven.tools.repoclean.pom.PomV3ToV4Translator;
|
|
||||||
import org.apache.maven.tools.repoclean.report.Reporter;
|
import org.apache.maven.tools.repoclean.report.Reporter;
|
||||||
|
import org.apache.maven.tools.repoclean.translate.PomV3ToV4Translator;
|
||||||
import org.apache.maven.tools.repoclean.validate.V4ModelIndependenceValidator;
|
import org.apache.maven.tools.repoclean.validate.V4ModelIndependenceValidator;
|
||||||
import org.codehaus.plexus.logging.AbstractLogEnabled;
|
import org.codehaus.plexus.logging.AbstractLogEnabled;
|
||||||
import org.codehaus.plexus.logging.Logger;
|
import org.codehaus.plexus.logging.Logger;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.apache.maven.tools.repoclean.pom;
|
package org.apache.maven.tools.repoclean.translate;
|
||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright 2001-2004 The Apache Software Foundation.
|
* Copyright 2001-2004 The Apache Software Foundation.
|
|
@ -1,4 +1,4 @@
|
||||||
package org.apache.maven.tools.repoclean.pom;
|
package org.apache.maven.tools.repoclean.translate;
|
||||||
|
|
||||||
import org.apache.maven.model.v4_0_0.Build;
|
import org.apache.maven.model.v4_0_0.Build;
|
||||||
import org.apache.maven.model.v4_0_0.CiManagement;
|
import org.apache.maven.model.v4_0_0.CiManagement;
|
||||||
|
@ -145,7 +145,7 @@ public class PomV3ToV4Translator
|
||||||
Notifier notifier = new Notifier();
|
Notifier notifier = new Notifier();
|
||||||
|
|
||||||
notifier.setAddress( nagEmailAddress );
|
notifier.setAddress( nagEmailAddress );
|
||||||
notifier.setType( "email" );
|
notifier.setType( "mail" );
|
||||||
|
|
||||||
ciMgmt = new CiManagement();
|
ciMgmt = new CiManagement();
|
||||||
ciMgmt.addNotifier( notifier );
|
ciMgmt.addNotifier( notifier );
|
|
@ -10,7 +10,7 @@
|
||||||
<implementation>org.apache.maven.tools.repoclean.RepositoryCleaner</implementation>
|
<implementation>org.apache.maven.tools.repoclean.RepositoryCleaner</implementation>
|
||||||
<requirements>
|
<requirements>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.apache.maven.tools.repoclean.pom.PomV3ToV4Translator</role>
|
<role>org.apache.maven.tools.repoclean.translate.PomV3ToV4Translator</role>
|
||||||
</requirement>
|
</requirement>
|
||||||
<requirement>
|
<requirement>
|
||||||
<role>org.apache.maven.tools.repoclean.correlate.ArtifactPomCorrelator</role>
|
<role>org.apache.maven.tools.repoclean.correlate.ArtifactPomCorrelator</role>
|
||||||
|
@ -32,8 +32,8 @@
|
||||||
|
|
|
|
||||||
-->
|
-->
|
||||||
<component>
|
<component>
|
||||||
<role>org.apache.maven.tools.repoclean.pom.PomV3ToV4Translator</role>
|
<role>org.apache.maven.tools.repoclean.translate.PomV3ToV4Translator</role>
|
||||||
<implementation>org.apache.maven.tools.repoclean.pom.PomV3ToV4Translator</implementation>
|
<implementation>org.apache.maven.tools.repoclean.translate.PomV3ToV4Translator</implementation>
|
||||||
</component>
|
</component>
|
||||||
<!--
|
<!--
|
||||||
|
|
|
|
||||||
|
|
Loading…
Reference in New Issue