rename packages and mojos class names

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292371 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-09-29 01:49:28 +00:00
parent 6b09a51acb
commit 232935ba65
78 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
package org.apache.maven.doxia; package org.apache.maven.plugins.site;
/* /*
* Copyright 2001-2005 The Apache Software Foundation. * Copyright 2001-2005 The Apache Software Foundation.
@ -48,7 +48,7 @@ import java.util.zip.ZipOutputStream;
* @version $Id$ * @version $Id$
* @goal deploy * @goal deploy
*/ */
public class ScpSiteDeployMojo public class SiteDeployMojo
extends AbstractMojo extends AbstractMojo
{ {
/** /**

View File

@ -1,4 +1,4 @@
package org.apache.maven.doxia; package org.apache.maven.plugins.site;
/* /*
* Copyright 2001-2005 The Apache Software Foundation. * Copyright 2001-2005 The Apache Software Foundation.
@ -61,10 +61,10 @@ import java.util.StringTokenizer;
* @goal site * @goal site
* @requiresDependencyResolution test * @requiresDependencyResolution test
*/ */
public class DoxiaMojo public class SiteMojo
extends AbstractMojo extends AbstractMojo
{ {
private static final String RESOURCE_DIR = "org/apache/maven/doxia"; private static final String RESOURCE_DIR = "org/apache/maven/plugins/site";
private static final String DEFAULT_TEMPLATE = RESOURCE_DIR + "/maven-site.vm"; private static final String DEFAULT_TEMPLATE = RESOURCE_DIR + "/maven-site.vm";
@ -211,7 +211,7 @@ public class DoxiaMojo
{ {
if ( templateDirectory == null ) if ( templateDirectory == null )
{ {
siteRenderer.setTemplateClassLoader( DoxiaMojo.class.getClassLoader() ); siteRenderer.setTemplateClassLoader( SiteMojo.class.getClassLoader() );
} }
else else
{ {
@ -1052,7 +1052,7 @@ public class DoxiaMojo
*/ */
private InputStream getStream( String name ) private InputStream getStream( String name )
{ {
return DoxiaMojo.class.getClassLoader().getResourceAsStream( name ); return SiteMojo.class.getClassLoader().getResourceAsStream( name );
} }
/** /**