[MPLUGIN-288] refactoring: changed plugin-tools' model package
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1649908 13f79535-47bb-0310-9956-ffa450edef68master
parent
e3b6db6b40
commit
267e446889
|
|
@ -29,14 +29,14 @@ import java.util.Set;
|
|||
import org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException;
|
||||
import org.apache.maven.plugin.descriptor.MojoDescriptor;
|
||||
import org.apache.maven.plugin.descriptor.Parameter;
|
||||
import org.apache.maven.plugin.tools.model.PluginMetadataParseException;
|
||||
import org.apache.maven.plugin.tools.model.PluginMetadataParser;
|
||||
import org.apache.maven.project.MavenProject;
|
||||
import org.apache.maven.project.path.PathTranslator;
|
||||
import org.apache.maven.tools.plugin.PluginToolsRequest;
|
||||
import org.apache.maven.tools.plugin.extractor.AbstractScriptedMojoDescriptorExtractor;
|
||||
import org.apache.maven.tools.plugin.extractor.ExtractionException;
|
||||
import org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor;
|
||||
import org.apache.maven.tools.plugin.extractor.model.PluginMetadataParseException;
|
||||
import org.apache.maven.tools.plugin.extractor.model.PluginMetadataParser;
|
||||
import org.codehaus.plexus.component.annotations.Component;
|
||||
import org.codehaus.plexus.component.repository.ComponentRequirement;
|
||||
import org.codehaus.plexus.util.StringUtils;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.plugin.tools.model;
|
||||
package org.apache.maven.tools.plugin.extractor.model;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.plugin.tools.model;
|
||||
package org.apache.maven.tools.plugin.extractor.model;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
|
@ -29,7 +29,7 @@ import java.util.Set;
|
|||
import org.apache.maven.plugin.descriptor.DuplicateParameterException;
|
||||
import org.apache.maven.plugin.descriptor.MojoDescriptor;
|
||||
import org.apache.maven.plugin.descriptor.Parameter;
|
||||
import org.apache.maven.plugin.tools.model.io.xpp3.PluginMetadataXpp3Reader;
|
||||
import org.apache.maven.tools.plugin.extractor.model.io.xpp3.PluginMetadataXpp3Reader;
|
||||
import org.codehaus.plexus.component.repository.ComponentRequirement;
|
||||
import org.codehaus.plexus.util.IOUtil;
|
||||
import org.codehaus.plexus.util.ReaderFactory;
|
||||
|
|
@ -136,11 +136,11 @@ public class PluginMetadataParser
|
|||
descriptor.setExecuteGoal( le.getGoal() );
|
||||
}
|
||||
|
||||
List<org.apache.maven.plugin.tools.model.Parameter> parameters = mojo.getParameters();
|
||||
List<org.apache.maven.tools.plugin.extractor.model.Parameter> parameters = mojo.getParameters();
|
||||
|
||||
if ( parameters != null && !parameters.isEmpty() )
|
||||
{
|
||||
for ( org.apache.maven.plugin.tools.model.Parameter param : parameters )
|
||||
for ( org.apache.maven.tools.plugin.extractor.model.Parameter param : parameters )
|
||||
{
|
||||
Parameter dParam = new Parameter();
|
||||
dParam.setAlias( param.getAlias() );
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
<defaults>
|
||||
<default>
|
||||
<key>package</key>
|
||||
<value>org.apache.maven.plugin.tools.model</value>
|
||||
<value>org.apache.maven.tools.plugin.extractor.model</value>
|
||||
</default>
|
||||
</defaults>
|
||||
<classes>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.plugin.tools.model;
|
||||
package org.apache.maven.tools.plugin.extractor.model;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
|
@ -20,6 +20,8 @@ package org.apache.maven.plugin.tools.model;
|
|||
*/
|
||||
|
||||
import org.apache.maven.plugin.descriptor.MojoDescriptor;
|
||||
import org.apache.maven.tools.plugin.extractor.model.PluginMetadataParseException;
|
||||
import org.apache.maven.tools.plugin.extractor.model.PluginMetadataParser;
|
||||
import org.codehaus.plexus.util.StringUtils;
|
||||
|
||||
import java.io.File;
|
||||
Loading…
Reference in New Issue