Azure / Azure/draft

Draft Create Auto Detect pom.xml file during Java detection

Open
#223 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
644
Forks
74
PR merge metrics
No merged PRs in 30d

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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.