{"action":"created","issue":{"url":"https://api.github.com/repos/DiUS/pact-jvm/issues/210","repository_url":"https://api.github.com/repos/DiUS/pact-jvm","labels_url":"https://api.github.com/repos/DiUS/pact-jvm/issues/210/labels{/name}","comments_url":"https://api.github.com/repos/DiUS/pact-jvm/issues/210/comments","events_url":"https://api.github.com/repos/DiUS/pact-jvm/issues/210/events","html_url":"https://github.com/DiUS/pact-jvm/issues/210","id":131404050,"number":210,"title":"pact-jvm-consumer-specs2: missing groovy classes","user":{"login":"rachelwilson","id":6087190,"avatar_url":"https://avatars.githubusercontent.com/u/6087190?v=3","gravatar_id":"","url":"https://api.github.com/users/rachelwilson","html_url":"https://github.com/rachelwilson","followers_url":"https://api.github.com/users/rachelwilson/followers","following_url":"https://api.github.com/users/rachelwilson/following{/other_user}","gists_url":"https://api.github.com/users/rachelwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/rachelwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rachelwilson/subscriptions","organizations_url":"https://api.github.com/users/rachelwilson/orgs","repos_url":"https://api.github.com/users/rachelwilson/repos","events_url":"https://api.github.com/users/rachelwilson/events{/privacy}","received_events_url":"https://api.github.com/users/rachelwilson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-04T16:39:54Z","updated_at":"2016-02-04T22:29:05Z","closed_at":null,"body":"We're a Scala team and evaluating PACT hoping to introduce it to our project.  However we're having difficulties getting the example up and running because of missing class dependencies that look like Groovy classes. \r\n\r\nWe're already using specs2 and so we've been looking at the ExampleTestSpec in the https://github.com/DiUS/pact-jvm/tree/master/pact-jvm-consumer-specs2 module.\r\n\r\nWe've copied the three classes: ExampleTestSpec, Fixtures and ConsumerContract locally to our porject, added the dependency \"au.com.dius \"%% \"pact-jvm-consumer-specs2\" % \"3.0.4\" to build.sbt and then we can see the following jar files in the projects dependencies\r\n\r\npact-jvm-consumer-specs2_2.11:3.0.4.jar\r\npact-jvm-consumer_2.11:3.0.4.jar\r\npact-jvm-matchers_2.11:3.0.4.jar\r\npact_jvm.model_2.11:3.0.4.jar\r\n\r\nThe Fixtures.scala class however does not compile because it can't find RequestResponseInteraction or PactReader.  Those two classes seem to be groovy classes found in https://github.com/DiUS/pact-jvm/tree/master/pact-jvm-model/src/main/groovy/au/com/dius/pact/model, and are not found as classes in the pact_jvm.model_2.11:3.0.4.jar dependency.\r\n\r\nAre we missing a step?  Are these groovy classes in another dependency that we need to import separately?\r\n\r\nAlso (a more minor point but thought it was worth mentioning) the ConsumerService didnt initially compile because the HttpClient actually seems to be in the au.com.dius.pact.model.dispatch package rather than the import au.com.dius.pact.consumer.dispatch in the Fixtures.scala file we copied\r\n\r\nI confess I dont know Groovy at all other than by name, so you might need to be gentle with me.  Oh and I'm using IntelliJ 14 with all the scala and groovy plugins turned on."},"comment":{"url":"https://api.github.com/repos/DiUS/pact-jvm/issues/comments/180080170","html_url":"https://github.com/DiUS/pact-jvm/issues/210#issuecomment-180080170","issue_url":"https://api.github.com/repos/DiUS/pact-jvm/issues/210","id":180080170,"user":{"login":"uglyog","id":863666,"avatar_url":"https://avatars.githubusercontent.com/u/863666?v=3","gravatar_id":"","url":"https://api.github.com/users/uglyog","html_url":"https://github.com/uglyog","followers_url":"https://api.github.com/users/uglyog/followers","following_url":"https://api.github.com/users/uglyog/following{/other_user}","gists_url":"https://api.github.com/users/uglyog/gists{/gist_id}","starred_url":"https://api.github.com/users/uglyog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uglyog/subscriptions","organizations_url":"https://api.github.com/users/uglyog/orgs","repos_url":"https://api.github.com/users/uglyog/repos","events_url":"https://api.github.com/users/uglyog/events{/privacy}","received_events_url":"https://api.github.com/users/uglyog/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T22:29:05Z","updated_at":"2016-02-04T22:29:05Z","body":"The latest version is 3.2.2, you may as well use that.\r\n\r\nYou have listed the model jar as \r\n\r\n```\r\npact_jvm.model_2.11:3.0.4.jar\r\n    ^   ^\r\n```\r\n\r\nIt should be pact-jvm-model_2.11 (with hyphens)"}}