Skip to content
Browse files

Lein pom throws exception when :parent is set; Fixes #362

The updated maven-ant-tasks uses maven-model 2.2.1.
This has removed the setModelEncoding method.
  • Loading branch information...
1 parent d3272b4 commit 203d9e0d7a5d3602507c2e5c4e3686381c2343fd @xeqi xeqi committed Jan 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/leiningen/util/maven.clj
3 src/leiningen/util/maven.clj
@@ -132,8 +132,7 @@
(.setArtifactId (name parent))
(.setGroupId (or (namespace parent) (name parent)))
(.setVersion version)
- (.setRelativePath (:relative-path opts))
- (.setModelEncoding (:model-encoding opts))))
+ (.setRelativePath (:relative-path opts))))
(defn make-exclusion [excl]
(doto (Exclusion.)

0 comments on commit 203d9e0

Please sign in to comment.
Something went wrong with that request. Please try again.