Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-91

"src/site/site.xml" hardcoded in AbstractSiteMojo.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-4
    • 2.0-beta-6
    • None
    • None

    Description

      There's a todo in the code, so this issue is more a reminder than an unknown bug.

      In AbstractSiteMojo.java, there's:

      protected File getSiteDescriptorFile( File basedir, Locale locale )
      {
      // TODO: get proper siteDirectory from site configuration of the project this relates to

      File siteDescriptor = new File( basedir, "src/site/site_" + locale.getLanguage() + ".xml" );

      if ( !siteDescriptor.exists() )

      { siteDescriptor = new File( basedir, "src/site/site.xml" ); }

      return siteDescriptor;
      }

      Attachments

        1. MSITE-91.patch
          2 kB
          Johann Reyes
        2. MSITE-91-maven-site-plugin.patch
          8 kB
          franz allan valencia see

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              fabemn Fabrice Bellingard
              Votes:
              8 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: