Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1764

Error publishing Maven artifacts due to the Maven Source Plugin change

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 2.27
    • ManifoldCF 2.28
    • Build
    • None

    Description

      An error is returned when trying to publish Maven release artifacts:
      Failed to execute goal org.apache.maven.plugins:maven-source-plugin:3.3.1:jar (attach-sources) on project mcf-less-compiler: Presumably you have configured maven-source-plugin to execute twice in your build. You have to configure a classifier for at least one of them.
      In order to solve this issue, starting from Maven Source Plugin 3.3.0, we have to update the Maven Source Plugin configuration changing the goal from jar to jar-no-fork.

       

       

      Attachments

        Activity

          People

            piergiorgiolucidi@gmail.com Piergiorgio Lucidi
            piergiorgiolucidi@gmail.com Piergiorgio Lucidi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: