Package com.soebes.itf.jupiter.maven
Class MavenProjectResult
java.lang.Object
com.soebes.itf.jupiter.maven.MavenProjectResult
- Author:
- Karl Heinz Marbaise
- Implementation Note:
- The return types of the methods:
getTargetProjectDirectory()
,getTargetBaseDirectory()
andgetTargetCacheDirectory()
has been changed fromFile
intoPath
in release 0.12.0.
-
Constructor Summary
ConstructorDescriptionMavenProjectResult
(Path targetBaseDirectory, Path targetProjectDirectory, Path targetCacheDirectory, org.apache.maven.model.Model model) The source structure looks usually like this: -
Method Summary
-
Constructor Details
-
MavenProjectResult
public MavenProjectResult(Path targetBaseDirectory, Path targetProjectDirectory, Path targetCacheDirectory, org.apache.maven.model.Model model) The source structure looks usually like this:src/test/java/../ +--- FirstIT.java +--- test_case_one src/test/resources-its/.../ +--- FirstIT/ +--- test_case_one +--- src/... +--- pom.xml
during the execution of the integration tests the following will be generated:target/maven-it/ .../FirstIT +--- test_case_one <-- targetBaseDirectory +--- .m2/ <-- targetCacheDirectory +--- project <-- targetProjectDirectory +--- src/ +--- pom.xml <-- model +--- mvn-stdout.log +--- mvn-stderr.log
- Parameters:
targetBaseDirectory
- This represents the root directory of test case intarget
directory.targetProjectDirectory
- This represents the root directory in thetarget
structure.targetCacheDirectory
- This represents the root directory in thecache
structure.model
- The model read frompom.xml
file in thetarget
structure.- Implementation Note:
- Currently we only read the single
pom.xml
file. An existing multimodul structure with it'spom.xml
files will not being read.
-
-
Method Details
-
getTargetBaseDirectory
-
getTargetProjectDirectory
-
getTargetCacheDirectory
-
getModel
public org.apache.maven.model.Model getModel()
-