{"action":"created","issue":{"url":"https://api.github.com/repos/dstl/baleen/issues/87","repository_url":"https://api.github.com/repos/dstl/baleen","labels_url":"https://api.github.com/repos/dstl/baleen/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/dstl/baleen/issues/87/comments","events_url":"https://api.github.com/repos/dstl/baleen/issues/87/events","html_url":"https://github.com/dstl/baleen/issues/87","id":362781089,"node_id":"MDU6SXNzdWUzNjI3ODEwODk=","number":87,"title":"Clean git-clone gives build error","user":{"login":"arthurvb","id":13233381,"node_id":"MDQ6VXNlcjEzMjMzMzgx","avatar_url":"https://avatars1.githubusercontent.com/u/13233381?v=4","gravatar_id":"","url":"https://api.github.com/users/arthurvb","html_url":"https://github.com/arthurvb","followers_url":"https://api.github.com/users/arthurvb/followers","following_url":"https://api.github.com/users/arthurvb/following{/other_user}","gists_url":"https://api.github.com/users/arthurvb/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurvb/subscriptions","organizations_url":"https://api.github.com/users/arthurvb/orgs","repos_url":"https://api.github.com/users/arthurvb/repos","events_url":"https://api.github.com/users/arthurvb/events{/privacy}","received_events_url":"https://api.github.com/users/arthurvb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-21T21:32:10Z","updated_at":"2018-09-24T12:17:06Z","closed_at":null,"author_association":"NONE","body":"Just did a clone of the repo after installing the latest JDK and Maven on OSX.\r\nAfter using the command `mvn package -Dmaven.test.skip=true` it fails with the following message: \r\n\r\n``` \r\nFailed to execute goal on project baleen-resources: Could not resolve dependencies for project uk.gov.dstl.baleen:baleen-resources:jar:2.6.1-SNAPSHOT: Could not find artifact uk.gov.dstl.baleen:baleen-uima:jar:tests:2.6.1-SNAPSHOT \r\n```\r\n\r\nAlso without the test option, it won't compile. Hopefully you can tell me what went wrong.\r\n\r\nBest regards"},"comment":{"url":"https://api.github.com/repos/dstl/baleen/issues/comments/423954849","html_url":"https://github.com/dstl/baleen/issues/87#issuecomment-423954849","issue_url":"https://api.github.com/repos/dstl/baleen/issues/87","id":423954849,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzk1NDg0OQ==","user":{"login":"JohnDaws","id":30177243,"node_id":"MDQ6VXNlcjMwMTc3MjQz","avatar_url":"https://avatars1.githubusercontent.com/u/30177243?v=4","gravatar_id":"","url":"https://api.github.com/users/JohnDaws","html_url":"https://github.com/JohnDaws","followers_url":"https://api.github.com/users/JohnDaws/followers","following_url":"https://api.github.com/users/JohnDaws/following{/other_user}","gists_url":"https://api.github.com/users/JohnDaws/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnDaws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnDaws/subscriptions","organizations_url":"https://api.github.com/users/JohnDaws/orgs","repos_url":"https://api.github.com/users/JohnDaws/repos","events_url":"https://api.github.com/users/JohnDaws/events{/privacy}","received_events_url":"https://api.github.com/users/JohnDaws/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T12:17:06Z","updated_at":"2018-09-24T12:17:06Z","author_association":"CONTRIBUTOR","body":"Please try building with `mvn package -DskipTests` rather than using the `-Dmaven.test.skip=true` flag.\r\n\r\nAccording to [this answer](https://stackoverflow.com/questions/25639336/whats-the-difference-between-dskiptests-and-dmaven-test-skip-true), `-Dmaven.test.skip=true` will not compile or run the tests whereas `-DskipTests` will compile but not run the tests. \r\n\r\nThe error message that you are seeing (which I have replicated) sounds like it requires a test from `baleen-uima` to have been compiled in order to resolve the dependencies for `baleen-resources`.\r\n\r\nFor me `mvn package -DskipTests` fixed that. Let me know if that works for you and I will close this issue."}}
{"actor":{"display_login":"JohnDaws"}}