Browse files

Move project.clj included in jar to path under group/artifact. Fixes #…

  • Loading branch information...
1 parent b99b57a commit d038306c975c2c2a98aab8930d3610f8ff0400ba @technomancy committed Apr 18, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/leiningen/jar.clj
@@ -160,7 +160,8 @@
:path (format "META-INF/maven/%s/%s/"
(:group project) (:name project))
:bytes (.getBytes (pom/make-pom-properties project))}
- {:type :bytes :path "project.clj"
+ {:type :bytes :path (format "META-INF/leiningen/%s/%s/project.clj"
+ (:group project) (:name project))
:bytes (.getBytes (slurp (str (:root project) "/project.clj")))}]
[{:type :path :path (:compile-path project)}
{:type :paths :paths (:resource-paths project)}]

0 comments on commit d038306

Please sign in to comment.