Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.8
    • Fix Version/s: 2.0.8
    • Component/s: pom task
    • Labels:
      None
    • Environment:
      2.0.08-SNAPSHOT from 18-Nov-2007

      Description

      When running

      <artifact:install file="/path/to/file.jar">
      <pom file="/path/to/pom.xml" />
      <remoteRepository refId="repo" />
      </artifact:install>

      you get, if ~/.m2/settings.xml is missing,

      java.lang.NullPointerException
      at org.apache.maven.settings.SettingsUtils.merge(SettingsUtils.java:110)
      at org.apache.maven.artifact.ant.AbstractArtifactTask.initSettings(Abstr
      actArtifactTask.java:264)
      at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractAr
      tifactTask.java:643)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)

        Activity

        Peter Muir created issue -
        Peter Muir made changes -
        Field Original Value New Value
        Attachment MANTTASKS-98.patch [ 30694 ]
        Hervé Boutemy made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Assignee Herve Boutemy [ hboutemy ]
        Fix Version/s 2.0.8 [ 13618 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:00:58 UTC 2015 [ 1428224458201 ]
        Mark Thomas made changes -
        Workflow jira [ 12716191 ] Default workflow, editable Closed status [ 12760032 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:08:22 UTC 2015 [ 1428271702400 ]
        Mark Thomas made changes -
        Workflow jira [ 12953487 ] Default workflow, editable Closed status [ 12990614 ]

          People

          • Assignee:
            Hervé Boutemy
            Reporter:
            Peter Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development