hello, I'm trying to run the embedded template following the documentation from http://pedestal.io/pedestal/0.7/guides/embedded-template.html.
getting error Execution error (ExceptionInfo) at clojure.tools.deps.extensions.maven/get-artifact (maven.clj:167). Could not find artifact io.pedestal:pedestal.jetty:jar:0.8.0-SNAPSHOT in central (https://repo1.maven.org/maven2/). Does anybody know where jetty:jar:0.8.0-SNAPSHOT was published?
Publishing the 0.8.0-snapshot seems to have confused deps-new. There's probably a way to shoe-horn version number into the template's "address".
Thanks a lot for quick response. I tried 0.7.2 but get a number of testing errors. Seems like 0.8.0 required for template to work. Is there a workaround?
> clojure -Tnew create :template io.github.pedestal/pedestal%embedded%io.pedestal/embedded#0.7.2 :name com.blueant/peripheral
Checking out: at 96e1a675ed82b405c273ec2cd13cda285788ca3e
Resolving io.github.pedestal/pedestal as a git dependency at 0.7.2
Creating project from io.pedestal/embedded in peripheral
> tree peripheral
peripheral
├── CHANGELOG.md
├── LICENSE
├── README.md
├── build.clj
├── deps.edn
├── dev
│ ├── com
│ │ └── blueant
│ │ └── peripheral
│ │ └── telemetry_test_init.clj
│ ├── dev.clj
│ └── user.clj
├── doc
│ └── intro.md
├── resources
│ ├── logback.xml
│ ├── pedestal-config.edn
│ └── public
│ └── index.html
├── src
│ └── com
│ └── blueant
│ └── peripheral
│ ├── main.clj
│ ├── routes.clj
│ ├── service.clj
│ └── telemetry_init.clj
├── start-jaeger.sh
├── test
│ └── com
│ └── blueant
│ └── peripheral
│ └── service_test.clj
└── test-resources
├── logback-test.xml
└── pedestal-test-config.edn
17 directories, 20 files
> Got it
That template is getting complicated; would be nice (if verbose) perhaps if we could specify a map in single quotes instead.
Agree, overall pedestal is fantastic. I dint have any problems at all with what I do. Template is the only thing that was giving me problems. Thank you very much for your help, greatly appreciated!
You welcome, and Pedestal is (and may ever be) a work in progress!
I'll update the docs to reference the version number in the deps-new command line.
Again, I remember being new to Pedestal and just lost in it; my efforts since 2022 have been to both pare down the available APIs to a managable number, and to add all the documentation I could have desperately used circa 2016.