Maven Eclipse launch, Groovy version error?

43 views
Skip to first unread message

olddave

unread,
Jan 18, 2013, 10:24:16 AM1/18/13
to easyb...@googlegroups.com
Hi,
Just switched to usin gMaven, I can no longer run invividual stories via the right click on a story because there are so many dependencies now in my pom.xml that Eclipse doe snot knwo about. Inj setting up to run from a Maven luanch under debug I get error I cannot understand the source of, I am guessing a version issue with Groovy, the plugins installed in Eclipse are V 1.7.10 and 1.8.6

Here is the error

[INFO]
[INFO] --- maven-easyb-plugin:1.4:test (default) @ iticalc ---
Downloading: http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.pom (9 KB at 83.4 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/ant/ant-parent/1.8.1/ant-parent-1.8.1.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/ant/ant-parent/1.8.1/ant-parent-1.8.1.pom (5 KB at 31.2 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/ant/ant-launcher/1.8.1/ant-launcher-1.8.1.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/ant/ant-launcher/1.8.1/ant-launcher-1.8.1.pom (3 KB at 38.8 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
Downloading: http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.jar
Downloading: http://repo.maven.apache.org/maven2/org/apache/ant/ant-launcher/1.8.1/ant-launcher-1.8.1.jar
Downloading: http://repo.maven.apache.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar
Downloaded: http://repo.maven.apache.org/maven2/org/apache/ant/ant-launcher/1.8.1/ant-launcher-1.8.1.jar (13 KB at 104.6 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar (223 KB at 600.4 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar (50 KB at 114.9 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar (232 KB at 285.1 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1.8.1.jar (1479 KB at 1134.9 KB/sec)
[INFO] Using easyb dependency org.easyb:easyb-core:jar:1.5:compile
[INFO] Using easyb dependency org.codehaus.groovy:groovy-all:jar:1.7.10:compile
[INFO] Using easyb dependency commons-cli:commons-cli:jar:1.2:compile
[INFO] Using easyb dependency commons-lang:commons-lang:jar:2.5:compile
[INFO] Using easyb dependency ant:ant:jar:1.6.5:compile
     [java] Exception in thread "main" java.lang.NoSuchMethodError: org.codehaus.groovy.runtime.GroovyCategorySupport.getCategoryNameUsage(Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicInteger;
     [java]     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.<init>(AbstractCallSite.java:46)
     [java]     at org.codehaus.groovy.runtime.callsite.CallSiteArray.<init>(CallSiteArray.java:35)
     [java]     at org.easyb.report.TxtReportWriter.$createCallSiteArray(TxtReportWriter.groovy)
     [java]     at org.easyb.report.TxtReportWriter.$getCallSiteArray(TxtReportWriter.groovy)
     [java]     at org.easyb.report.TxtReportWriter.<init>(TxtReportWriter.groovy)
     [java]     at org.easyb.report.TxtStoryReportWriter.<init>(TxtStoryReportWriter.groovy)
     [java]     at org.easyb.ConsoleConfigurator.getConfiguredReports(ConsoleConfigurator.java:163)
     [java]     at org.easyb.ConsoleConfigurator.configure(ConsoleConfigurator.java:68)
     [java]     at org.easyb.BehaviorRunner.main(BehaviorRunner.java:54)
     [java] Java Result: 1
[Fatal Error] :1:1: Premature end of file.

Here is my pom.xml excerpt

            <plugin>
                <groupId>org.easyb</groupId>
                <artifactId>maven-easyb-plugin</artifactId>
                <version>1.4</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>test</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <easybTestDirectory>${basedir}/stories</easybTestDirectory>
                    <storyReport>${project.build.directory}/easyb-stories.txt</storyReport>
                    <xmlReport>${project.build.directory}/easyb/report.xml</xmlReport>
                </configuration>
            </plugin>         

Any ideas?

Thx.

David


Reply all
Reply to author
Forward
0 new messages