Posts

Showing posts with the label maven

Love, finally!

It works! I had to remove the enum (GMaven dies telling just 'enum' as error message), tweak some dependencies, re-read the GMaven docs (those steps should be included in the archetype!), and now the trivial scenario gets run! Now, let's work on it! Maybe, I should prepare an easyb maven archetype out of all this: it doesn't seem to exist...

EasyB+Maven woes

EasyB may make it easier, but not if you're in the maven camp. First, hit a subtle issue with the story naming. Now, easyb doesn't found the main classes. It may be my fault, since I meddled with the Maven builder, and it seems that the classes get compiled in bin-groovy, but CLI maven dies with the same problem, so it doesn't seem Eclipse-related. Now I modified the Groovy project properties so that the classess go in target/classes, but still no love...

First commit

Everything almost set up. Up to now, two great problems: The official and working way to integrate Groovy with maven is gmaven , and not groovy-maven. The group and artifact id are similar, so it's easy to be confused. I have a pesky java.lang.ArrayIndexOutOfBoundsException: 0 at org.easyb.domain.BehaviorFactory.stripPattern (BehaviorFactory.java:114) when I try to run my test scenario. Still unresolved... The solution for point 1 is quite easy: WRONG : groupid : org.codehaus.mojo.groovy artifactid : groovy-maven-plugin version : 1.0-beta-3 CORRECT : groupid : org.codehaus.groovy.maven artifactid : gmaven-plugin version : 1.0-rc-5 I'm still working on 2. I'll commit for now, however.