opendj-server-legacy/pom.xml
@@ -206,14 +206,6 @@ <version>1.5.1</version> </dependency> <!-- We need to override testNG version to make test works (see OPENDJ-2389) --> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.0.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.freemarker</groupId> <artifactId>freemarker</artifactId> @@ -237,7 +229,6 @@ <dependency> <groupId>com.github.stephenc.jcip</groupId> <artifactId>jcip-annotations</artifactId> <version>1.0-1</version> </dependency> <dependency> @@ -1223,6 +1214,11 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <classpathDependencyExcludes> <classpathDependencyExcludes>org.slf4j:slf4j-jdk14</classpathDependencyExcludes> </classpathDependencyExcludes> </configuration> <executions> <execution> <goals> @@ -1261,6 +1257,7 @@ <name>configfailurepolicy</name> <value>skip</value> </property> </properties> <systemPropertyVariables> <org.opends.server.BuildRoot>${basedir}</org.opends.server.BuildRoot> @@ -1273,6 +1270,8 @@ <org.opends.test.copyClassesToTestPackage>false</org.opends.test.copyClassesToTestPackage> </systemPropertyVariables> <argLine>-server -Xmx2048M -XX:MaxPermSize=256m</argLine> <parallel>methods</parallel> <threadCount>1</threadCount> </configuration> </execution> </executions> opendj-server-legacy/src/test/java/org/opends/quicksetup/TestUtilities.java
@@ -103,11 +103,11 @@ ServerController controller = new ServerController(getInstallation()); controller.stopServer(); } //-Dorg.opends.server.ServerRoot=/Users/vharseko/git/OpenIdentityPlatform/OpenAM/OpenDJ/opendj-server-legacy/target/unit-tests/package-instance -Dorg.opends.quicksetup.Root=/Users/vharseko/git/OpenIdentityPlatform/OpenAM/OpenDJ/opendj-server-legacy/target/package/opendj public static File getInstallPackageFile() throws FileNotFoundException { File installPackageFile = null; String buildRoot = System.getProperty(PROPERTY_BUILD_ROOT); File buildDir = new File(buildRoot, "build"); String buildRoot = System.getProperty(PROPERTY_BUILD_ROOT,System.getProperty("user.dir")); File buildDir = new File(buildRoot, "target"); File packageDir = new File(buildDir, "package"); if (!packageDir.exists()) { throw new FileNotFoundException("Package directory " + packageDir + opendj-server-legacy/src/test/java/org/opends/server/TestCaseUtils.java
@@ -654,7 +654,7 @@ public static File getBuildRoot() { String buildRoot = System.getProperty(PROPERTY_BUILD_ROOT); String buildRoot = System.getProperty(PROPERTY_BUILD_ROOT,System.getProperty("user.dir")); return new File(buildRoot); }