Uploaded image for project: 'Maven Doxia Sitetools'
  1. Maven Doxia Sitetools
  2. DOXIASITETOOLS-176

Updating from 1.7.2 to 1.7.3 compile issue

    XMLWordPrintableJSON

Details

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            spyhunter99 Alex O'Ree
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: