Fork me on GitHub
#datomic
<
2023-04-16
>
mandudeman13:04:19

I have been setting up a LocalDev for the datomic. I encounter this reply whenever I run the installation script: user@user-X540UPR:~/Downloads/cognitect-dev-tools-0.9.72$ ./install Installing: com.cognitect/rebl {:mvn/version "0.9.245"} ./install: line 5: mvn: command not found Installing: com.datomic/dev-local {:mvn/version "1.0.243"} ./install: line 7: mvn: command not found

lassemaatta13:04:53

Looks like it expects that maven is installed

mandudeman13:04:40

I already made a directory for dev-local-storage and appended the path in the dev-local.edn

mandudeman13:04:46

I also edited the settings.xml in .m2 folder this entry:

mandudeman13:04:21

<settings>
  <servers>
    <server>
       <id>cognitect-dev-tools</id>
       <username>[email protected]</username>
       <password>*******</password>
    </server>
  </servers>
</settings>

mandudeman13:04:16

How do I go about installing the maven?

lassemaatta13:04:07

Either using your package manager or manually. Are you using a linux distro? Ubuntu?

mandudeman13:04:31

Yes, I am running on Ubuntu.

lassemaatta13:04:21

I would assume ”apt install maven” would do the trick

mandudeman14:04:45

$ sudo apt update $ sudo apt install maven $ mvn -version

mandudeman14:04:16

Got it, I have successfully run the installation script of datomic!

mandudeman14:04:35

Thank you very much.👍❤️

lassemaatta14:04:22

No problem :)

Betanzos23:04:17

To manage the JDK and Maven installations I prefer https://sdkman.io/, it's pretty easy to use.

mandudeman13:04:00

Can anyone point me to the direction where I can address this issue?