[
http://jira.codehaus.org/browse/MSITE-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_120768
]
Vincent Siveton commented on MSITE-290:
---------------------------------------
Working on the linkcheck-plugin, I realize that the logic for Doxia's stuff
(mainly around on the Decorationmodel) is too stuck to site-plugin. It could be
related to MNG-3346.
I proposed to create a maven-doxia-tools project in shared to include this
logic. So, we could reuse it.
Actually, I saw this API mainly from AbstractSiteMojo and
AbstractSiteRenderingMojo.
{code:title=SiteTool.java|borderStyle=solid}
public interface SiteTool
{
Artifact getSkinArtifactFromRepository( ArtifactRepository localRepository,
List remoteArtifactRepositories, DecorationModel decoration )
throws ArtifactResolutionException, SiteToolException;
Artifact getDefaultSkinArtifact( ArtifactRepository localRepository, List
remoteArtifactRepositories )
throws ArtifactResolutionException, SiteToolException;
String getRelativePath( String to, String from );
DecorationModel getDecorationModel( MavenProject project, List
reactorProjects, ArtifactRepository localRepository )
throws SiteToolException;
File getSiteDescriptorFromRepository( MavenProject project,
ArtifactRepository localRepository, Locale locale )
throws ArtifactResolutionException, IOException;
File getSiteDescriptorFromProject( MavenProject project, Locale locale );
}
{code}
> Move logic from AbstractSiteMojo and AbstractSiteRenderingMojo for Doxia
> related stuff
> --------------------------------------------------------------------------------------
>
> Key: MSITE-290
> URL: http://jira.codehaus.org/browse/MSITE-290
> Project: Maven 2.x Site Plugin
> Issue Type: Improvement
> Affects Versions: 2.0-beta-7
> Reporter: Vincent Siveton
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira