I am trying to create a web project that has a mixture of both groovy code
and java code.

I am using the following for my pom.

When running maven jetty:run it can't see my groovy scripts.

running mvn package I do see the compiled classes in the war file. Any ideas
what I am doing wrong?

build>
        <finalName>web</finalName>
        <plugins>
        <plugin>
                <groupId>org.codehaus.groovy.maven</groupId>
                <artifactId>gmaven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>maven-jetty-plugin</artifactId>
                <version>6.1.9</version>
                <configuration>
                    <scanIntervalSeconds>2</scanIntervalSeconds>
                    <requestLog
implementation="org.mortbay.jetty.NCSARequestLog">
                        <filename>target/yyyy_mm_dd.request.log</filename>
                        <retainDays>2</retainDays>
                        <append>true</append>
                        <extended>false</extended>
                        <logTimeZone>GMT</logTimeZone>
                    </requestLog>
                </configuration>
            </plugin>
        </plugins>
    </build>

Reply via email to