Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7215

[Regression] Maven Site Plugin cannot resolve parent site descriptor without locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.8.2
    • 3.8.3
    • Core
    • None

    Description

      Maven site parent descriptor is not resolved by maven 3.8.2.

      Without changing in project, build on maven 3.8.1, I have in logs:

      [INFO] Rendering site with default locale English (en)
      [DEBUG] Computing decoration model of groupId:artifactId for locale en
      [DEBUG] Reading site descriptor from .../src/site/site.xml
      [DEBUG] Looking for site descriptor of level 1 parent project: parentGroupId:artifactId...
      [DEBUG] No site descriptor found for parentGroupId:artifactId... for locale en, trying without locale...
      [DEBUG] Reading parent level 1 site descriptor from .../parent-x.x.x-site.xml
      [INFO] Rendering content with org.apache.maven.skins:maven-fluido-skin:jar:1.9 skin.
      

      And with maven 3.8.2

      [INFO] Rendering site with default locale English (en)
      [DEBUG] Computing decoration model of groupId:artifactId for locale en
      [DEBUG] Reading site descriptor from .../site/site.xml
      [DEBUG] Looking for site descriptor of level 1 parent project: parentGroupId:artifactId
      [DEBUG] No parent level 1 site descriptor.
      [INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin.
      

      Only one difference I see in logs is that in maven 3.8.2 I don't have:
      [DEBUG] No site descriptor found for parentGroupId:artifactId for locale en, trying without locale...

      The problem is introduced by commit:
      https://github.com/apache/maven/commit/5a8997312680a4b9c69a129801524691bc546c08

      Similar problem https://github.com/eclipse-ee4j/eclipselink/issues/1242

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              sjaranowski Slawomir Jaranowski
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: