Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the phenotype database code locally #195

Open
jjkoehorst opened this issue Nov 1, 2019 · 3 comments
Open

Running the phenotype database code locally #195

jjkoehorst opened this issue Nov 1, 2019 · 3 comments

Comments

@jjkoehorst
Copy link

I am exploring the possibilities of using the phenotype database code base for project and study metadata registration. I am currently looking a bit into the code base and was trying to build it. I noticed that some excel packages have disappeared from the grails repository? Probably since they moved on to version 3+ and this system as it seems does not allow this.

It is related to the matrix-importer which seems to handle the excel file import settings. There are other packages available but this probably would require a significant amount of rewriting.

Is there another way to get the dependencies?

/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/bin/java -Dgrails.home=/Users/jasperkoehorst/.sdkman/candidates/grails/2.5.6 -Dtools.jar=/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/lib/tools.jar -Dgroovy.starter.conf=/Users/jasperkoehorst/.sdkman/candidates/grails/2.5.6/conf/groovy-starter.conf -Dbase.dir=/Users/jasperkoehorst/GitLab/PhenotypeDatabase -Dfile.encoding=UTF-8 -classpath /Users/jasperkoehorst/.sdkman/candidates/grails/2.5.6/lib/org.codehaus.groovy/groovy-all/jars/groovy-all-2.4.10.jar:/Users/jasperkoehorst/.sdkman/candidates/grails/2.5.6/dist/grails-bootstrap-2.5.6.jar org.codehaus.groovy.grails.cli.support.GrailsStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner --conf /Users/jasperkoehorst/.sdkman/candidates/grails/2.5.6/conf/groovy-starter.conf "idea-print-project-settings -plain-output"
|Loading Grails 2.5.6
|Configuring classpath
Error |
Resolve error obtaining dependencies: The following artifacts could not be resolved: org.grails.plugins:matrix-importer:zip:0.2.5.0, org.grails.plugins:dbxp-module-base:zip:0.6.2.0: Could not find artifact org.grails.plugins:matrix-importer:zip:0.2.5.0 in grailsCentral (https://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: The following artifacts could not be resolved: org.grails.plugins:matrix-importer:zip:0.2.5.0, org.grails.plugins:dbxp-module-base:zip:0.6.2.0: Could not find artifact org.grails.plugins:matrix-importer:zip:0.2.5.0 in grailsCentral (https://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: The following artifacts could not be resolved: org.grails.plugins:matrix-importer:zip:0.2.5.0, org.grails.plugins:dbxp-module-base:zip:0.6.2.0: Could not find artifact org.grails.plugins:matrix-importer:zip:0.2.5.0 in grailsCentral (https://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
Error |
The following artifacts could not be resolved: org.grails.plugins:matrix-importer:zip:0.2.5.0, org.grails.plugins:dbxp-module-base:zip:0.6.2.0: Could not find artifact org.grails.plugins:matrix-importer:zip:0.2.5.0 in grailsCentral (https://repo.grails.org/grails/plugins)
|Run 'grails dependency-report' for further information.```
@ferryjagers
Copy link
Member

I forgot to merge my latest commits to this repo (PR#196: github.com//pull/196), 'matrix-importer' is a local-plugin from now on.
Please pull it into your local repo or download the updated production and ci build.
I'm sorry for the inconvenience, hope it did not take a lot of your time.

@jjkoehorst
Copy link
Author

Thanks, indeed I already cloned the repo's locally but this seems to bring it a bit further. Now running into

		::::::::::::::::::::::::::::::::::::::::::::::
		::          UNRESOLVED DEPENDENCIES         ::
		::::::::::::::::::::::::::::::::::::::::::::::
		:: org.grails#grails-datastore-rest-client;3.1.4.RELEASE: not found
		::::::::::::::::::::::::::::::::::::::::::::::

@ferryjagers
Copy link
Member

I'm unable to reproduce this problem (even after deleting all my grails-related cache):

Downloading: org/grails/grails-datastore-rest-client/3.1.4.RELEASE/grails-datastore-rest-client-3.1.4.RELEASE.pom

Could you please try again? Perhaps the repo was just down for a brief moment..

@ferryjagers ferryjagers reopened this Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants