Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3884

[IDEA] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Someday
    • Fix Version/s: None
    • Component/s: Deploy
    • Labels:
      None

      Description

      1. new maven liferay workspace
      2. new api module
      3. start server
      4. deploy api module
      5. failed in console, but when you switch to Server/Debug console, notice the module is deployed successfully

       

       

      [INFO] — maven-deploy-plugin:2.7:deploy (default-deploy) @ com.liferay.api.sample —
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 0.991 s
      [INFO] Finished at: 2018-03-05T17:28:12+08:00
      [INFO] Final Memory: 13M/295M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project com.liferay.api.sample: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

      Process finished with exit code 1

        Attachments

          Activity

            People

            Assignee:
            joye.luo Joye Luo (Inactive)
            Reporter:
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 27 weeks ago

                Packages

                Version Package