Skip to content

Commit 4eddf52

Browse files
committed
Add reflection warning to write-pom
1 parent 0c45b47 commit 4eddf52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/clojure/clojure/tools/build/tasks/write_pom.clj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
[java.time Instant ZoneId ZonedDateTime]
2525
[java.time.format DateTimeFormatter]))
2626

27+
(set! *warn-on-reflection* true)
28+
2729
(xml/alias-uri 'pom "http://maven.apache.org/POM/4.0.0")
2830
(def ^:private pom-ns (name (.-name ^clojure.lang.Namespace (get (ns-aliases *ns*) 'pom))))
2931

0 commit comments

Comments
 (0)