Skip to content

Building DEB packages: "mvn -P deps" #8763

Description

@scsynergy
ISSUE TYPE
  • Documentation Report
COMPONENT NAME
Building DEB packages
CLOUDSTACK VERSION
4.19.0.0
CONFIGURATION
OS / ENVIRONMENT

Debian, Ubuntu ...

SUMMARY

The page https://docs.cloudstack.apache.org/en/4.18.1.0/installguide/building_from_source.html#building-deb-packages says to run "mvn -P deps" but the profile "deps" does not exist in the pom.xml. I assume just running "mvn" is the correct instruction?

STEPS TO REPRODUCE

EXPECTED RESULTS
BUILD SUCCESS without any warnings or error messages
ACTUAL RESULTS
[WARNING] The requested profile "deps" could not be activated because it does not exist.

Activity

  1. boring-cyborg commented on Mar 8, 2024

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template!

  2. yadvr commented on Mar 8, 2024

    @yadvr
    Member

    Hi @scsynergy thanks for sharing, I think the docs may be old/incorrect which we should fix in due course.
    Meanwhile, you can refer to this on building cloudstack - https://github.com/shapeblue/hackerbook/blob/main/2-dev.md#building-cloudstack and packaging https://github.com/shapeblue/hackerbook/blob/main/2-dev.md#cloudstack-packaging

  3. added this to the 4.19.1.0 milestone on Mar 8, 2024
  4. self-assigned this
    on Jun 13, 2024
  5. abh1sar commented on Jun 13, 2024

    @abh1sar
    Contributor

    I wasn't able to reproduce the issue.
    mvn -P deps is working for me fine. I tried with 4.19 and main on Ubunutu.

    00:01 cloudstack $ mvn -P deps                                                                                                               
    [INFO] Scanning for projects...                                                                                                              
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Build Order:                                                                                                                  
    [INFO]                                                                                                                                       
    [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration       [jar]
    [INFO] Apache CloudStack                                                  [pom]     
    ...
    

    @scsynergy can you please check if this is still an issue.
    cc @rohityadavcloud

  6. self-assigned this
    on Jun 13, 2024
  7. converted this issue into a discussion #9280 on Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions