-
Enhancement
-
Resolution: Duplicate
-
Major
-
None
-
2.20.0.Final
-
None
-
None
If you want to build the project from within forge using the build addon, then the --profile option does not support tab completions. It would be nice if it can detect which profile id's there is i nthe maven project and offer tab completions.
For example I have these 3 profiles
<profiles> <profile> <id>f8-build</id> <build> <defaultGoal>clean install docker:build fabric8:json</defaultGoal> </build> </profile> <profile> <id>f8-deploy</id> <build> <defaultGoal>clean install docker:build docker:push fabric8:json fabric8:apply</defaultGoal> </build> <properties> <fabric8.recreate>true</fabric8.recreate> <fabric8.imagePullPolicySnapshot>Always</fabric8.imagePullPolicySnapshot> </properties> </profile> <profile> <id>f8-local-deploy</id> <build> <defaultGoal>clean install docker:build fabric8:json fabric8:apply</defaultGoal> </build> <properties> <fabric8.recreate>true</fabric8.recreate> </properties> </profile> </profiles> </project> [foo]$ build --profile
And I want to execute that.
Also it would be nice if the build addon can support the same syntax as mvn does, eg if you can do
build -Pf8-local-deploy
eg using the -P as shorthand for profile.
- duplicates
-
FORGE-2340 Build command should auto-complete available profiles
- Open