Thanks for your answer @alexmiller
To reproduce what I described in the first and second point, run `clj -Spom` in a directory with only a `pom.xml` file without `<project>/<build>/<sourceDirectory>`, e.g.:
```
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="
http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>foo</groupId>
<artifactId>foo</artifactId>
<version>0.1.0</version>
<name>foo</name>
</project>
```
I have only the `pom.xml` file in the directory, there are no other files.
Now every time you run `clj -Spom`, a new `<project>/<sourceDirectory>` tag is added.
I tested it with the latest clj version:
clj -Sdescribe:
```
{:version "1.10.1.536"
:config-files ["/nix/store/9fqcvxrqayhhn1b87ys7lwnlqdv2ja5x-clojure-1.10.1.536/deps.edn" "/home/jlle/.clojure/deps.edn" ]
:config-user "/home/jlle/.clojure/deps.edn"
:config-project "deps.edn"
:install-dir "/nix/store/9fqcvxrqayhhn1b87ys7lwnlqdv2ja5x-clojure-1.10.1.536"
:config-dir "/home/jlle/.clojure"
:cache-dir "/home/jlle/.clojure/.cpcache"
:force false
:repro false
:resolve-aliases ""
:classpath-aliases ""
:jvm-aliases ""
:main-aliases ""
:all-aliases ""}
```
java -version:
```
openjdk version "11.0.6-internal" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6-internal+0-adhoc..jdk11u-jdk-11.0.6-ga)
OpenJDK 64-Bit Server VM (build 11.0.6-internal+0-adhoc..jdk11u-jdk-11.0.6-ga, mixed mode)
```
I'm not providing a `deps.edn` file because I can reproduce it without any.