Alex Sokoloff
Alex Sokoloff

Reputation: 71

Installing deadbolt dependency in legacy play framework 1.2 application

I am trying to get a legacy play framework application running that depends on deadbolt.

The dependency in question is listed as follows in dependencies.yml:

- play -> deadbolt 1.5.4

When I run:

play dependencies --sync

It is not able to locate the dependency.

It's listed at a different location in Maven:

https://mvnrepository.com/artifact/com.google.code.maven-play-plugin.org.playframework.modules.deadbolt/play-deadbolt/1.5.4

However I wasn't able to resolve the dependency by editing dependencies.yml to point to what seems to be the current location.

Upvotes: 0

Views: 84

Answers (2)

Steve Chaloner
Steve Chaloner

Reputation: 8202

Dependency management in Play 1 changed during its lifetime from reading local libraries to having declared dependencies. Local libraries were placed in the modules directory. These dependencies were available via the Play website at the [module site] (https://www.playframework.com/modules/deadbolt).

The version you downloaded is the mavenized library, packaged by Grzegorz Slowikowski - see, for example, this pretty old post on the [user group](Grzegorz Slowikowski).

Upvotes: 0

Alex Sokoloff
Alex Sokoloff

Reputation: 71

I have since figured this out:

The dependency loads.

Upvotes: 0

Related Questions