Hi,

  I have defined the following in my top pom.xml, how can I set the
value in <goal> element tag in order to ensure "mvn test" will not start
JSPC?  I only want JSPC to run during the install phase "mvn install",
but not in the test phase "mvn test".

Thanks in advance

KK

   :
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jspc-maven-plugin</artifactId>
                <executions>
                        <execution>
                                <id>jspc</id>
                                <goals>
                                        <goal>compile</goal>
                                </goals>
                        </execution>
                </executions>
          </plugin>
        <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                        <webXml>${basedir}/target/jspweb.xml</webXml>
                </configuration>
        </plugin>
    </plugins>
  </build>
  : 

Reply via email to