Uploaded image for project: 'Maven Repository Plugin (RETIRED)'
  1. Maven Repository Plugin (RETIRED)
  2. MREPOSITORY-23

Wrong error message "[INFO] project.scm.url must be present."

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.3.1
    • None

    Description

      When I tried to create a bundle, I got the following error:

      $ mvn repository:bundle-create

      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] project.scm.url must be present.

      Yet, my pom has this value:

      ...
      <scm>
      <connection>http://github.com/cbeust/jcommander</connection>

      The bug is the error message: what is missing is "project.scm.connection", not "url". Adding this tag fixed the problem:

      <scm>
      <url>http://github.com/cbeust/jcommander</url>
      <connection>http://github.com/cbeust/jcommander</connection>
      </scm>

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              cbeust Cedric Beust
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: