简体   繁体   中英

how to configure dependencies play framework 1.2.5?

i have a problem with my play application, my play can't detect module i've created. this is my application dependencies

# Application dependencies

require:
    - play
    - tesModule -> tesModule 1.0
     repositories:
    - My modules:
        type:       local
        artifact:   ${application.path}/../[module]-[revision]
        contains:
           - tesModule -> *

after i run command play dependencies the command prompt told me there was missing dependencies like this

~
~ *****************************************************************************
~ WARNING: These dependencies are missing, your application may not work properly 
(use --verbose for details),
~
~       tesModule->tesModule 1.0
~ *****************************************************************************
~
~ Some dependencies are still missing.
~

my application and my module in the same folder. What's wrong with this, my play cannot detect my module, iam using java language to develop my application. Help iam new in play framework, and sorry for my bad english.

Don't put the module revision in your local repo

Here is an example

        - localModules:
            type: local
            descriptor: "${application.path}/../[module]/conf/dependencies.yml"
            artifact: "${application.path}/../[module]"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM