[ 
https://issues.apache.org/jira/browse/DOXIASITETOOLS-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15975532#comment-15975532
 ] 

Michael Osipov commented on DOXIASITETOOLS-176:
-----------------------------------------------

Indeed, introduced by DOXIASITETOOLS-170.

> Updating from 1.7.2 to 1.7.3 compile issue
> ------------------------------------------
>
>                 Key: DOXIASITETOOLS-176
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-176
>             Project: Maven Doxia Sitetools
>          Issue Type: Bug
>          Components: Site renderer
>            Reporter: Alex O'Ree
>
> I'm working on the maven pdf plugin and ran into an issue updating the 
> dependency to 1.7.3 (was 1.7.2).
> incompatible types: java.io.File cannot be converted to 
> org.apache.maven.artifact.Artifact
> The particular API call that was working with 1.7.2 and older was this...
> File  skinFile =
>                 siteTool.getSkinArtifactFromRepository( localRepository, 
> project.getRemoteArtifactRepositories(),
>                                                         decorationModel 
> ).getFile();
> final SiteRenderingContext context =
>                 siteRenderer.createContextForSkin( skinFile, new 
> HashMap<String, Object>( 2 ), decorationModel,
>                                                    project.getName(), locale 
> );
> Looking at the list of resolved issues from JIRA, it's not obvious that there 
> was an API change. Any ideas as to what I need to change the code to?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to