{"action":"opened","issue":{"url":"https://api.github.com/repos/odavid/maven-plugins/issues/2","labels_url":"https://api.github.com/repos/odavid/maven-plugins/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/odavid/maven-plugins/issues/2/comments","events_url":"https://api.github.com/repos/odavid/maven-plugins/issues/2/events","html_url":"https://github.com/odavid/maven-plugins/issues/2","id":67904964,"number":2,"title":"Problem with dependencies","user":{"login":"tombensve","id":2557703,"avatar_url":"https://avatars.githubusercontent.com/u/2557703?v=3","gravatar_id":"","url":"https://api.github.com/users/tombensve","html_url":"https://github.com/tombensve","followers_url":"https://api.github.com/users/tombensve/followers","following_url":"https://api.github.com/users/tombensve/following{/other_user}","gists_url":"https://api.github.com/users/tombensve/gists{/gist_id}","starred_url":"https://api.github.com/users/tombensve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombensve/subscriptions","organizations_url":"https://api.github.com/users/tombensve/orgs","repos_url":"https://api.github.com/users/tombensve/repos","events_url":"https://api.github.com/users/tombensve/events{/privacy}","received_events_url":"https://api.github.com/users/tombensve/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-12T11:44:59Z","updated_at":"2015-04-12T11:44:59Z","closed_at":null,"body":"I decided to try the mixing-maven-plugin as an alternative to tiles-maven-plugin (which is causing me some strange problems). But unfortunately the mixing-maven-plugin fails on things that tiles handles fine.\r\n\r\nI have a tile/mixin for building groovy. In the top level of the pom it has the following:\r\n\r\n    <project ...>\r\n       ...\r\n        <dependencies>\r\n            <dependency>\r\n                <groupId>org.codehaus.groovy</groupId>\r\n                <artifactId>groovy-all</artifactId>\r\n                <version>2.3.11</version>\r\n                <scope>compile</scope>\r\n                <classifier>indy</classifier>\r\n            </dependency>\r\n        </dependencies>\r\n\r\nThen it uses maven-antrun-plugin to do compilation. The compilation however fails with the following message:\r\n\r\n    [ERROR] java.lang.NoClassDefFoundError: groovy/lang/GroovyObject\r\n\r\nThe first thing I tried was to also put the groovy dependency within the maven-antrun-plugin. This however gives the same result. I also tried only having the dependency in the maven-antrun-plugin but that did not help either.\r\n\r\nThe funny thing is that it is actually finding the groovyc ant task and starts it. It is the ant task that fails to find the basic groovy classes, which are all available in the groovy-all dependency.\r\n\r\nHowever adding the groovy dependency to the \"client\" pom does work. This however lessens the mixin. I want to put everything groovy related in the groovy pom and just include it. This works with tiles (which however gets confused when you include many tiles). \r\n\r\nI'm hoping this is an error and not a feature :-). \r\n\r\nAnd thanks for providing one more solution to a problem that should have been solved by maven itself a long time ago IMHO. "}}