Maven Doxia
  1. Maven Doxia
  2. DOXIA-98

If no urls found in pom hierarchy site failed with NPE

    Details

    • Number of attachments :
      1

      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
          Olivier Lamy added a comment -

          Patch attached.

          Show
          Olivier Lamy added a comment - Patch attached.
          Hide
          Jason van Zyl added a comment -

          Can't do much with an .exe file.

          Show
          Jason van Zyl added a comment - Can't do much with an .exe file.
          Hide
          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
          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
          Olivier Lamy added a comment -

          Cannot reproduce with last snapshot.

          Show
          Olivier Lamy added a comment - Cannot reproduce with last snapshot.

            People

            • Assignee:
              Unassigned
              Reporter:
              Olivier Lamy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: