{"action":"created","issue":{"url":"https://api.github.com/repos/tbroyer/gwt-maven-plugin/issues/50","labels_url":"https://api.github.com/repos/tbroyer/gwt-maven-plugin/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/tbroyer/gwt-maven-plugin/issues/50/comments","events_url":"https://api.github.com/repos/tbroyer/gwt-maven-plugin/issues/50/events","html_url":"https://github.com/tbroyer/gwt-maven-plugin/issues/50","id":124305505,"number":50,"title":"Missing test super source exception","user":{"login":"branflake2267","id":1326504,"avatar_url":"https://avatars.githubusercontent.com/u/1326504?v=3","gravatar_id":"","url":"https://api.github.com/users/branflake2267","html_url":"https://github.com/branflake2267","followers_url":"https://api.github.com/users/branflake2267/followers","following_url":"https://api.github.com/users/branflake2267/following{/other_user}","gists_url":"https://api.github.com/users/branflake2267/gists{/gist_id}","starred_url":"https://api.github.com/users/branflake2267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/branflake2267/subscriptions","organizations_url":"https://api.github.com/users/branflake2267/orgs","repos_url":"https://api.github.com/users/branflake2267/repos","events_url":"https://api.github.com/users/branflake2267/events{/privacy}","received_events_url":"https://api.github.com/users/branflake2267/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-30T05:21:31Z","updated_at":"2016-01-01T00:30:28Z","closed_at":null,"body":"An exception occurs when I enable super source for test. \r\n\r\nI'm not sure why it occurs yet. Sometimes it throws on configuration and sometimes it doesn't. \r\n\r\n```\r\n<packaging>war</packaging>\r\n\r\n<plugin>\r\n  <groupId>net.ltgt.gwt.maven</groupId>\r\n  <artifactId>gwt-maven-plugin</artifactId>\r\n  <version>${gwt.maven.plugin.version}</version>\r\n  <extensions>true</extensions>\r\n  <configuration>\r\n    <!-- Eclipse will work with module naming in the gwt-app config only -->\r\n    <moduleName>com.wrightwayeconomy.module</moduleName>\r\n    <moduleShortName>module</moduleShortName>\r\n    <webappDirectory>${webappDirectory}</webappDirectory>\r\n    <launcherDir>${webappDirectory}</launcherDir>\r\n    <startupUrls>\r\n      <startupUrl>Project.html</startupUrl>\r\n    </startupUrls>\r\n  </configuration>\r\n  <executions>\r\n    <!-- Generate the module and add it to the webappDirectory/classes/... -->\r\n    <execution>\r\n      <id>generate-module</id>\r\n      <phase>generate-resources</phase>\r\n      <goals>\r\n        <goal>generate-module</goal>\r\n        <goal>add-super-sources</goal>\r\n        <goal>add-test-super-sources</goal>\r\n      </goals>\r\n    </execution>\r\n  </executions>\r\n</plugin>\r\n```\r\n\r\n```\r\nExecution generate-module of goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-5:add-test-super-sources failed: Unable to load the mojo 'add-test-super-sources' (or one of its required components) from the plugin 'net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-5' (net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-5:add-test-super-sources:generate-module:generate-resources)\r\n\r\norg.apache.maven.plugin.PluginExecutionException: Execution generate-module of goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-5:add-test-super-sources failed: Unable to load the mojo 'add-test-super-sources' (or one of its required components) from the plugin 'net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-5'\r\n\tat org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:153)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:331)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1362)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1360)\r\n\tat org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant.build(MojoExecutionBuildParticipant.java:52)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.build(MavenBuilderImpl.java:137)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:172)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:1)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod$1$1.call(MavenBuilder.java:115)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod$1.call(MavenBuilder.java:105)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)\r\n\tat org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.execute(MavenBuilder.java:86)\r\n\tat org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:200)\r\n\tat org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)\r\n\tat org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)\r\n\tat org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)\r\n\tat org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:359)\r\n\tat org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:382)\r\n\tat org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)\r\n\tat org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)\r\nCaused by: org.apache.maven.plugin.PluginContainerException: Unable to load the mojo 'add-test-super-sources' (or one of its required components) from the plugin 'net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-5'\r\n\tat org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:579)\r\n\tat org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)\r\n\t... 31 more\r\nCaused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException\r\n      role: org.apache.maven.plugin.Mojo\r\n  roleHint: net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-5:add-test-super-sources\r\n\tat org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267)\r\n\tat org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)\r\n\tat org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:546)\r\n\t... 32 more\r\nCaused by: java.util.NoSuchElementException\r\n\tat org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:118)\r\n\tat org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:1)\r\n\tat org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)\r\n\tat org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)\r\n\tat org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)\r\n\t... 34 more\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/tbroyer/gwt-maven-plugin/issues/comments/168268583","html_url":"https://github.com/tbroyer/gwt-maven-plugin/issues/50#issuecomment-168268583","issue_url":"https://api.github.com/repos/tbroyer/gwt-maven-plugin/issues/50","id":168268583,"user":{"login":"branflake2267","id":1326504,"avatar_url":"https://avatars.githubusercontent.com/u/1326504?v=3","gravatar_id":"","url":"https://api.github.com/users/branflake2267","html_url":"https://github.com/branflake2267","followers_url":"https://api.github.com/users/branflake2267/followers","following_url":"https://api.github.com/users/branflake2267/following{/other_user}","gists_url":"https://api.github.com/users/branflake2267/gists{/gist_id}","starred_url":"https://api.github.com/users/branflake2267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/branflake2267/subscriptions","organizations_url":"https://api.github.com/users/branflake2267/orgs","repos_url":"https://api.github.com/users/branflake2267/repos","events_url":"https://api.github.com/users/branflake2267/events{/privacy}","received_events_url":"https://api.github.com/users/branflake2267/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T00:30:28Z","updated_at":"2016-01-01T00:30:28Z","body":"Hm, just as I say that, seems this is working at the moment. \r\n```\r\n <execution>\r\n            <id>gwt-generate</id>\r\n            <phase>intialize</phase>\r\n            <goals>\r\n              <goal>generate-module</goal>\r\n              <goal>add-super-sources</goal>\r\n            </goals>\r\n          </execution>\r\n```"}}