redhat-developer / redhat-developer/vscode-java

How do I control a maven build on launch?

Open
#311 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question upstream
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

I have a pom.xml at my root folder. When vscode launches the java extension, it immediately begins a maven build.
How do I add command line switches (-llr) to the maven build or disable the build on launch altogether?

Environment
  • Operating System: Windows 7 Enterprise
  • JDK version: 1.8.0_144-b01
  • Visual Studio Code version: 1.16.1
  • Java extension version: 0.10.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the root pom.xml and the Java extension's launch path that begins the Maven build. Trace how the Maven command is started, then determine where command-line switches such as -llr or a disable option would be controlled; done means the requested build behavior can be selected or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.