Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-130

NPE when trying to use <deploy>

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 2.0-beta-3
    • None
    • deploy task
    • None
    • Ant1.7alpha; java1.5

    Description

      I cannot get <deploy> to work, it just NPEs on me. All the files exist; local install works

      <m2:deploy file="${target.jar}">
      <remoteRepository url="scp://eiger/www/repository">
      <authentication username="slo"
      privateKey="C:\\bin\\PuTTY\\.ssh
      id_rsa"/>
      </remoteRepository>
      <pom refid="m2.pom"/>
      </m2:deploy>

      java.lang.NullPointerException
      at org.apache.maven.artifact.ant.DeployTask.execute(DeployTask.java:69)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            brett Brett Porter
            steve_l Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment