Permalink
Browse files

Use var for the alfresco version

  • Loading branch information...
1 parent 7eb3709 commit 36f2e5ea5f51099ba25548bef23f36fae9ae90ce @skuro skuro committed Jul 7, 2014
Showing with 15 additions and 11 deletions.
  1. +15 −11 project.clj
View
@@ -4,19 +4,21 @@
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
-;
+;
; http://www.apache.org/licenses/LICENSE-2.0
-;
+;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
-;
+;
; Contributors:
; Carlo Sciolla - initial implementation
; Peter Monks - contributor
+(def alfresco-version "4.2.f")
+
(defproject org.clojars.lambdalf/lambdalf "2.0.0-SNAPSHOT"
:title "lambdalf"
:description "Lambdalf -- Clojure support for Alfresco"
@@ -30,18 +32,20 @@
:dependencies [
[org.clojure/clojure "1.6.0"]
[org.clojure/tools.nrepl "0.2.3"]
+
+ [clj-http "0.9.2" :scope "test"]
]
:profiles {:dev { :plugins [[lein-amp "0.1.0"]] }
:uberjar { :aot :all }
:provided { :dependencies [
- [org.alfresco/alfresco-core "4.2.f" :scope "runtime"]
- [org.alfresco/alfresco-data-model "4.2.f" :scope "runtime"]
- [org.alfresco/alfresco-mbeans "4.2.f" :scope "runtime"]
- [org.alfresco/alfresco-remote-api "4.2.f" :scope "runtime"]
- [org.alfresco/alfresco-repository "4.2.f" :scope "runtime"]
- [org.springframework/spring-context "3.0.5.RELEASE" :scope "runtime"]
- [org.springframework/spring-beans "3.0.5.RELEASE" :scope "runtime"]
- [org.springframework.extensions.surf/spring-webscripts "1.2.0" :scope "runtime"]
+ [org.alfresco/alfresco-core ~alfresco-version :scope "runtime"]
+ [org.alfresco/alfresco-data-model ~alfresco-version :scope "runtime"]
+ [org.alfresco/alfresco-mbeans ~alfresco-version :scope "runtime"]
+ [org.alfresco/alfresco-remote-api ~alfresco-version :scope "runtime"]
+ [org.alfresco/alfresco-repository ~alfresco-version :scope "runtime"]
+ [org.springframework/spring-context "3.0.5.RELEASE" :scope "runtime"]
+ [org.springframework/spring-beans "3.0.5.RELEASE" :scope "runtime"]
+ [org.springframework.extensions.surf/spring-webscripts "1.2.0" :scope "runtime"]
] }
}
:source-paths ["src/clojure"]

0 comments on commit 36f2e5e

Please sign in to comment.