{"action":"created","issue":{"url":"https://api.github.com/repos/TGAC/miso-lims/issues/1669","repository_url":"https://api.github.com/repos/TGAC/miso-lims","labels_url":"https://api.github.com/repos/TGAC/miso-lims/issues/1669/labels{/name}","comments_url":"https://api.github.com/repos/TGAC/miso-lims/issues/1669/comments","events_url":"https://api.github.com/repos/TGAC/miso-lims/issues/1669/events","html_url":"https://github.com/TGAC/miso-lims/issues/1669","id":361707249,"node_id":"MDU6SXNzdWUzNjE3MDcyNDk=","number":1669,"title":"mvn flyway:clean fails on develop branch","user":{"login":"tolot27","id":1370732,"node_id":"MDQ6VXNlcjEzNzA3MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1370732?v=4","gravatar_id":"","url":"https://api.github.com/users/tolot27","html_url":"https://github.com/tolot27","followers_url":"https://api.github.com/users/tolot27/followers","following_url":"https://api.github.com/users/tolot27/following{/other_user}","gists_url":"https://api.github.com/users/tolot27/gists{/gist_id}","starred_url":"https://api.github.com/users/tolot27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tolot27/subscriptions","organizations_url":"https://api.github.com/users/tolot27/orgs","repos_url":"https://api.github.com/users/tolot27/repos","events_url":"https://api.github.com/users/tolot27/events{/privacy}","received_events_url":"https://api.github.com/users/tolot27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-19T11:41:10Z","updated_at":"2018-09-19T16:45:14Z","closed_at":null,"author_association":"NONE","body":"I've checkout the develop branch (HEAD defaults to it) and build miso. That worked great. Unfortunately, I was not able to initialize a new database using flyway command line. Then I found `mvn flyway:clean flyway:migrate`, which is not mentioned by the docs BTW. This maven build also fails, but on fetching the SNAPSHOT from the tgac-repo. Probably, it is not there because it is the current build. The error is:\r\n\r\n```\r\n/mnt/soft/miso-lims/sqlstore$ mvn flyway:clean\r\n[INFO] Scanning for projects...\r\n[INFO] \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building MISO SQL Store 0.2.143-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\nDownloading from tgac-repo: http://repos.tgac.ac.uk/maven/repo/uk/ac/bbsrc/tgac/miso/core/0.2.143-SNAPSHOT/maven-metadata.xml\r\nDownloading from tgac-repo: http://repos.tgac.ac.uk/maven/repo/uk/ac/bbsrc/tgac/miso/core/0.2.143-SNAPSHOT/core-0.2.143-SNAPSHOT.pom\r\n[WARNING] The POM for uk.ac.bbsrc.tgac.miso:core:jar:0.2.143-SNAPSHOT is missing, no dependency information available\r\nDownloading from tgac-repo: http://repos.tgac.ac.uk/maven/repo/uk/ac/bbsrc/tgac/miso/core/0.2.143-SNAPSHOT/core-0.2.143-SNAPSHOT.jar\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 1.616 s\r\n[INFO] Finished at: 2018-09-19T13:37:22+02:00\r\n[INFO] Final Memory: 15M/180M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal on project sqlstore: Could not resolve dependencies for project uk.ac.bbsrc.tgac.miso:sqlstore:jar:0.2.143-SNAPSHOT: Could not find artifact uk.ac.bbsrc.tgac.miso:core:jar:0.2.143-SNAPSHOT in tgac-repo (http://repos.tgac.ac.uk/maven/repo) -> [Help 1]\r\n[ERROR] \r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException\r\n```\r\nHow to use it with dev branch?"},"comment":{"url":"https://api.github.com/repos/TGAC/miso-lims/issues/comments/422874608","html_url":"https://github.com/TGAC/miso-lims/issues/1669#issuecomment-422874608","issue_url":"https://api.github.com/repos/TGAC/miso-lims/issues/1669","id":422874608,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjg3NDYwOA==","user":{"login":"callunity","id":8324996,"node_id":"MDQ6VXNlcjgzMjQ5OTY=","avatar_url":"https://avatars2.githubusercontent.com/u/8324996?v=4","gravatar_id":"","url":"https://api.github.com/users/callunity","html_url":"https://github.com/callunity","followers_url":"https://api.github.com/users/callunity/followers","following_url":"https://api.github.com/users/callunity/following{/other_user}","gists_url":"https://api.github.com/users/callunity/gists{/gist_id}","starred_url":"https://api.github.com/users/callunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callunity/subscriptions","organizations_url":"https://api.github.com/users/callunity/orgs","repos_url":"https://api.github.com/users/callunity/repos","events_url":"https://api.github.com/users/callunity/events{/privacy}","received_events_url":"https://api.github.com/users/callunity/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T16:45:14Z","updated_at":"2018-09-19T16:45:14Z","author_association":"COLLABORATOR","body":"Running `mvn clean package -P external` means it isn't being installed locally, which is why Maven is then trying to find it in `tgac-repo`. Can you try @djcooke 's suggestion and run `mvn clean install -P external` instead? That should install the project to your local Maven folder, so Maven will find that first and won't have to go searching in `tgac-repo`."}}
{"actor":{"display_login":"callunity"}}