[ https://issues.apache.org/jira/browse/DOXIASITETOOLS-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15976240#comment-15976240 ]
Michael Osipov commented on DOXIASITETOOLS-176: ----------------------------------------------- That's right, but this should not have happened in a patch release. > 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)