Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-98

If no urls found in pom hierarchy site failed with NPE

    Details

      Description

      Hi,
      Trying to add some skinning in plexus-components.
      As there is no url defined in any poms hierarchy the site failed.
      A simple workaround is to add an url in a pom.

      Olivier

      1. DOXIA-98
        7 kB
        Olivier Lamy (*$^¨%`£)

        Issue Links

          Activity

          Hide
          olamy Olivier Lamy (*$^¨%`£) added a comment -

          Cannot reproduce with last snapshot.

          Show
          olamy Olivier Lamy (*$^¨%`£) added a comment - Cannot reproduce with last snapshot.
          Hide
          olamy Olivier Lamy (*$^¨%`£) added a comment -

          Hi,
          Don't really understand ?
          The attached patch was made on rev 508384.
          It looks since this rev some refactoring has been done.
          But the problem doens't look to be solved with the last snapshot deployed.
          checkout plexus-utils (remove the line with <url>...</url> in the pom)
          And try mvn clean site. I have just try this with apache snapshot repo in my settings and the site build failed.

          Then I have try to reproduce the trouble with a doxia build from the actual trunk.
          But I can't build doxia :
          XmlWriterXdocSink.java:[567,30] replace(char,char) in java.lang.String cannot be applied to (java.lang.String,java.lang.String)

          Show
          olamy Olivier Lamy (*$^¨%`£) added a comment - Hi, Don't really understand ? The attached patch was made on rev 508384. It looks since this rev some refactoring has been done. But the problem doens't look to be solved with the last snapshot deployed. checkout plexus-utils (remove the line with <url>...</url> in the pom) And try mvn clean site. I have just try this with apache snapshot repo in my settings and the site build failed. Then I have try to reproduce the trouble with a doxia build from the actual trunk. But I can't build doxia : XmlWriterXdocSink.java: [567,30] replace(char,char) in java.lang.String cannot be applied to (java.lang.String,java.lang.String)
          Hide
          jvanzyl Jason van Zyl added a comment -

          Can't do much with an .exe file.

          Show
          jvanzyl Jason van Zyl added a comment - Can't do much with an .exe file.
          Hide
          olamy Olivier Lamy (*$^¨%`£) added a comment -

          Patch attached.

          Show
          olamy Olivier Lamy (*$^¨%`£) added a comment - Patch attached.

            People

            • Assignee:
              Unassigned
              Reporter:
              olamy Olivier Lamy (*$^¨%`£)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development