o code style
git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@617805 13f79535-47bb-0310-9956-ffa450edef68master
parent
c6276113ca
commit
a850c5bd8a
|
|
@ -19,6 +19,10 @@ package org.apache.maven.tools.plugin.util;
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import java.util.Iterator;
|
||||||
|
import java.util.LinkedList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
import org.apache.maven.model.Dependency;
|
import org.apache.maven.model.Dependency;
|
||||||
import org.apache.maven.plugin.descriptor.PluginDescriptor;
|
import org.apache.maven.plugin.descriptor.PluginDescriptor;
|
||||||
import org.codehaus.plexus.component.repository.ComponentDependency;
|
import org.codehaus.plexus.component.repository.ComponentDependency;
|
||||||
|
|
@ -26,18 +30,15 @@ import org.codehaus.plexus.util.DirectoryScanner;
|
||||||
import org.codehaus.plexus.util.StringUtils;
|
import org.codehaus.plexus.util.StringUtils;
|
||||||
import org.codehaus.plexus.util.xml.XMLWriter;
|
import org.codehaus.plexus.util.xml.XMLWriter;
|
||||||
|
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.LinkedList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author jdcasey
|
* @author jdcasey
|
||||||
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public final class PluginUtils
|
public final class PluginUtils
|
||||||
{
|
{
|
||||||
|
|
||||||
private PluginUtils()
|
private PluginUtils()
|
||||||
{
|
{
|
||||||
|
// nop
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String[] findSources( String basedir, String include )
|
public static String[] findSources( String basedir, String include )
|
||||||
|
|
@ -67,7 +68,6 @@ public final class PluginUtils
|
||||||
|
|
||||||
public static void writeDependencies( XMLWriter w, PluginDescriptor pluginDescriptor )
|
public static void writeDependencies( XMLWriter w, PluginDescriptor pluginDescriptor )
|
||||||
{
|
{
|
||||||
|
|
||||||
w.startElement( "dependencies" );
|
w.startElement( "dependencies" );
|
||||||
|
|
||||||
for ( Iterator it = pluginDescriptor.getDependencies().iterator(); it.hasNext(); )
|
for ( Iterator it = pluginDescriptor.getDependencies().iterator(); it.hasNext(); )
|
||||||
|
|
@ -124,5 +124,4 @@ public final class PluginUtils
|
||||||
|
|
||||||
w.endElement();
|
w.endElement();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue