mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
29.07.2011 552749ce3901ad772747e1abc86a247791b4af4d
Add profile so that unit tests can be run in isolation using "mvn compile -Ptests-only"
1 files modified
28 ■■■■■ changed files
opends/pom.xml 28 ●●●●● patch | view | raw | blame | history
opends/pom.xml
@@ -170,4 +170,32 @@
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>tests-only</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
              <execution>
                <id>compile</id>
                <phase>compile</phase>
                <goals>
                  <goal>run</goal>
                </goals>
                <configuration>
                  <target>
                <!-- We need to significantly refactor build.xml in order
                     to split this up any more -->
                    <ant target="test" />
                  </target>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>