Alex O'Ree created DOXIASITETOOLS-176:
-----------------------------------------

             Summary: 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