Skip to content

Commit

Permalink
CMR-2078: Added internal mvn/clj repo profile placeholder.
Browse files Browse the repository at this point in the history
Note that this was done as a means of documenting something that does not occur
in the code, but rather something that is used in CI/CD builds for CMR (using
private, internal resources).
  • Loading branch information
oubiwann committed Jan 18, 2018
1 parent 9ecb80c commit 8edcb34
Show file tree
Hide file tree
Showing 27 changed files with 124 additions and 43 deletions.
7 changes: 5 additions & 2 deletions access-control-app/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
:repl-options {:init-ns user}
:jvm-opts ^:replace ["-server"
"-Dclojure.compiler.direct-linking=true"]
:test-paths ["test" "int_test"]
:profiles {
:dev {
:exclusions [
Expand Down Expand Up @@ -93,8 +94,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
:test-paths ["test" "int_test"]
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {"generate-static" ["with-profile" "static"
"run" "-m" "cmr.access-control.site.static" "all"]
;; Prints out documentation on configuration environment variables.
Expand Down
5 changes: 4 additions & 1 deletion acl-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
;; Linting aliases
Expand Down
5 changes: 4 additions & 1 deletion bootstrap-app/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
;; Database migrations run by executing "lein migrate"
:aliases {"create-user" ["exec" "-p" "./support/create_user.clj"]
"drop-user" ["exec" "-p" "./support/drop_user.clj"]
Expand Down
5 changes: 4 additions & 1 deletion collection-renderer-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {"install-gems" ["shell"
"support/install_gems.sh"
~jruby-version
Expand Down
5 changes: 4 additions & 1 deletion common-app-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
;; Linting aliases
Expand Down
5 changes: 4 additions & 1 deletion common-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
;; Linting aliases
Expand Down
7 changes: 5 additions & 2 deletions cubby-app/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
:repl-options {:init-ns user}
:jvm-opts ^:replace ["-server"
"-Dclojure.compiler.direct-linking=true"]
:test-paths ["int_test"]
:profiles {
:dev {
:exclusions [
Expand Down Expand Up @@ -54,8 +55,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
:test-paths ["int_test"]
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Prints out documentation on configuration environment variables.
"env-config-docs" ["exec" "-ep" "(do (use 'cmr.common.config) (print-all-configs-docs) (shutdown-agents))"]
;; Alias to test2junit for consistency with lein-test-out
Expand Down
27 changes: 15 additions & 12 deletions dev-system/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,18 @@
(pjstadig.humane-test-output/activate!)]}
;; This is to separate the dependencies from the dev-config specified in profiles.clj
:dev [:dev-dependencies :dev-config]
;; The following run-* profiles are used in conjunction with other lein
;; profiles to set the default CMR run mode and may be used in the
;; following manner:
;;
;; $ lein with-profile +run-external repl
;;
;; which will use dev and the other default profiles in addition to
;; run-external (or whichever run mode profile is given).
:run-in-memory {
:jvm-opts ["-Dcmr.runmode=in-memory"]}
:run-external {
:jvm-opts ["-Dcmr.runmode=external"]}
:uberjar {:main cmr.dev-system.runner
;; See http://stephen.genoprime.com/2013/11/14/uberjar-with-titan-dependency.html
:uberjar-merge-with {#"org\.apache\.lucene\.codecs\.*" [slurp str spit]}
Expand All @@ -123,18 +135,9 @@
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}
;; The following run-* profiles are used in conjunction with other lein
;; profiles to set the default CMR run mode and may be used in the
;; following manner:
;;
;; $ lein with-profile +run-external repl
;;
;; which will use dev and the other default profiles in addition to
;; run-external (or whichever run mode profile is given).
:run-in-memory {
:jvm-opts ["-Dcmr.runmode=in-memory"]}
:run-external {
:jvm-opts ["-Dcmr.runmode=external"]}}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {
;; Creates the checkouts directory to the local projects
"create-checkouts" ~create-checkouts-commands
Expand Down
5 changes: 4 additions & 1 deletion elastic-utils-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
;; Linting aliases
Expand Down
5 changes: 4 additions & 1 deletion es-spatial-plugin/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Packages the spatial search plugin
"package" ["do"
"clean,"
Expand Down
7 changes: 5 additions & 2 deletions index-set-app/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
:repl-options {:init-ns user}
:jvm-opts ^:replace ["-server"
"-Dclojure.compiler.direct-linking=true"]
:test-paths ["test" "int_test"]
:profiles {
:dev {
:dependencies [
Expand Down Expand Up @@ -65,8 +66,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
:test-paths ["test" "int_test"]
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Prints out documentation on configuration environment variables.
"env-config-docs" ["exec" "-ep" "(do (use 'cmr.common.config) (print-all-configs-docs) (shutdown-agents))"]
;; Alias to test2junit for consistency with lein-test-out
Expand Down
5 changes: 4 additions & 1 deletion indexer-app/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Prints out documentation on configuration environment variables.
"env-config-docs" ["exec" "-ep" "(do (use 'cmr.common.config) (print-all-configs-docs) (shutdown-agents))"]
;; Alias to test2junit for consistency with lein-test-out
Expand Down
5 changes: 4 additions & 1 deletion ingest-app/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[lein-shell "0.5.0"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {"generate-static" ["with-profile" "static"
"run" "-m" "cmr.ingest.site.static" "all"]
;; Database migrations run by executing "lein migrate"
Expand Down
5 changes: 4 additions & 1 deletion message-queue-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {
;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
Expand Down
7 changes: 5 additions & 2 deletions metadata-db-app/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
:repl-options {:init-ns user}
:jvm-opts ^:replace ["-server"
"-Dclojure.compiler.direct-linking=true"]
:test-paths ["test" "int_test"]
:profiles {
:dev {
:dependencies [
Expand Down Expand Up @@ -70,8 +71,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
:test-paths ["test" "int_test"]
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
;; Database migrations run by executing "lein migrate"
:aliases {"create-user" ["exec" "-p" "./support/create_user.clj"]
"drop-user" ["exec" "-p" "./support/drop_user.clj"]
Expand Down
5 changes: 4 additions & 1 deletion mock-echo-app/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
;; Linting aliases
Expand Down
5 changes: 4 additions & 1 deletion oracle-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
;; Linting aliases
Expand Down
5 changes: 4 additions & 1 deletion orbits-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {"install-gems" ["shell"
"support/install_gems.sh"
~jruby-version
Expand Down
5 changes: 4 additions & 1 deletion search-app/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[lein-shell "0.5.0"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {"generate-static" ["with-profile" "static"
"run" "-m" "cmr.search.site.static" "all"]
;; Prints out documentation on configuration environment variables.
Expand Down
5 changes: 4 additions & 1 deletion search-relevancy-test/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
;; Linting aliases
Expand Down
5 changes: 4 additions & 1 deletion spatial-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
;; Linting aliases
Expand Down
5 changes: 4 additions & 1 deletion system-int-test/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
;; Linting aliases
Expand Down
5 changes: 4 additions & 1 deletion transmit-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
;; Linting aliases
Expand Down
5 changes: 4 additions & 1 deletion umm-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
;; Linting aliases
Expand Down
5 changes: 4 additions & 1 deletion umm-spec-lib/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {"generate-umm-records" ["exec" "-ep" "(do (use 'cmr.umm-spec.record-generator) (generate-umm-records))"]
;; Alias to test2junit for consistency with lein-test-out
"test-out" ["test2junit"]
Expand Down
5 changes: 4 additions & 1 deletion vdd-spatial-viz/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
;; Must be manually run before running lein install
:aliases {"compile-coffeescript" ["exec" "-ep" "(common-viz.util/compile-coffeescript (vdd-core.core/config))"]
;; Alias to test2junit for consistency with lein-test-out
Expand Down
7 changes: 5 additions & 2 deletions virtual-product-app/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
:jvm-opts ^:replace ["-server"
"-Dclojure.compiler.direct-linking=true"]
:repl-options {:init-ns user}
:test-paths ["test" "int_test"]
:profiles {
:dev {
:dependencies [
Expand All @@ -47,8 +48,10 @@
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.0"]
[lein-kibit "0.1.6"]
[venantius/yagni "0.1.4"]]}}
:test-paths ["test" "int_test"]
[venantius/yagni "0.1.4"]]}
;; The following profile is overriden on the build server or in the user's
;; ~/.lein/profiles.clj file.
:internal-repos {}}
:aliases {;; Prints out documentation on configuration environment variables.
"env-config-docs" ["exec" "-ep" "(do (use 'cmr.common.config) (print-all-configs-docs) (shutdown-agents))"]
;; Alias to test2junit for consistency with lein-test-out
Expand Down

0 comments on commit 8edcb34

Please sign in to comment.