Draft Create Auto Detect pom.xml file during Java detection
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by tracing the Java detection flow used by draft create and how it chooses the Maven or Gradle prompt. Use the apps/java-maven/ sample and its pom.xml as the verification case; done means Draft detects Maven from the repository without prompting for the build tool.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
When running draft create on the following folder https://github.com/buildpacks/samples/blob/main/apps/java-maven/, draft shows the following prompt:
[Draft] --- Detecting Language ---
Use the arrow keys to navigate: ↓ ↑ → ←
? Linguist detected Java, are you using maven or gradle?:
gradle
> maven
Mention what platform you want to support the new feature
OSS draft
Describe the solution you'd like
Draft should detect that maven is being used by seeing the pom.xml file in the repository.
Describe alternatives you've considered
There may be a better way to detect maven.
Additional context
(none)
- Dominant language
- Go
- Stars
- 644
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/draft
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100