apache / apache/maven-compiler-plugin

[MCOMPILER-443] Removing all sourcefolders doesn't remove outputDirectory

Open
#661 1 comment 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
261
Forks
191
Avg merge
1d 5h
Merged PRs (30d)
8

Description

**[Marc Philipp](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=marcphilipp)** opened **[MCOMPILER-443](https://issues.apache.org/jira/browse/MCOMPILER-443?redirect=false)** and commented

Current code exits too early and forgets to remove results from previous build.

```java
if ( compileSourceRoots.isEmpty() )
{
getLog().info( "No sources to compile" );

return;
}
```

---

**Affects:** 3.8.1

**Attachments:**
- [mvn-reproducer-main.zip](https://issues.apache.org/jira/secure/attachment/13016183/mvn-reproducer-main.zip) (_2.83 kB_)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.