Hi All

Is there a way to not execute a maven ant run without being changeing pom.xml.

I have following setup:

<plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <id>Findbugs_Run</id>
            <phase>verify</phase>
            <configuration>
              <tasks>
                <property name="project.name" value="${project.name}" />
                <property name="findbugs.home" value="${findbugs.home}" />
                <property name="compile_classpath"
refid="maven.compile.classpath"/>
                <property name="test_classpath" refid="maven.test.classpath"/>
                <ant antfile="${findbugs.build.file}" />
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>

Can I pass a parameter to maven execution to skip this ant run in phase verify??

Many thanks
Maruf

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to