Update installation command for maven package
What does this MR do and why?
Stop showing mvn dependency:get
and show mvn install
which is the most common command to install a maven package.
This is inline with our maven install docs
Why
When we open the details of a package, the UI presents a summary the commands to pull the package.
For maven packages, mvn dependency:get
. The problem is that the commands provided are incomplete and will not work.
Screenshots or screen recordings
Before
After
How to set up and validate locally
-
rails c
- Open the rails console -
p = Project.find(1)
- Find a project within GDK. Project id can be found on the project home page -
FactoryBot.create(:maven_package, project: p)
- Create a python package within project -
Add this line if above fails during the creation of files
def fixture_file_upload(*args, **kwargs) Rack::Test::UploadedFile.new(*args, **kwargs) end
-
Find the published package in the package list page of the project & click on the package to visit the details page.
-
Confirm that the installation command has been changed to
mvn install
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Closes #373925 (closed)