Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
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?