-
Notifications
You must be signed in to change notification settings - Fork 13
Running Boost ITs
They can take minutes to run, so are disabled by default.
mvn install
mvn install -Pit
Use -DboostRuntime=ol
for io.openliberty:openliberty runtime
or -DboostRuntime=wlp
for com.ibm.websphere.appserver.runtime:wlp-javaee7
or -DboostRuntime=tomee
for Apache TomEE
.
mvn install -Pit -DboostRuntime=ol
mvn install -Pit -Dinvoker.test=test-jaxrs* -DboostRuntime=ol
export DOCKER_HOST=tcp://myhost.com:2375; mvn install -Pit ...
mvn install -DboostRuntime=ol -Dboost_http_port=9000
You may need to substitute in pom.xml for <version>@pom.version@</version>
eg : <version>0.1.2</version>
mvn install -DruntimeVersion=18.0.0.3 -DruntimeGroupId=io.openliberty -DruntimeArtifactId=openliberty-runtime -Ddockerizer=liberty
mvn install -Dmaven.failsafe.debug -DruntimeVersion=18.0.0.3 -DruntimeGroupId=io.openliberty -DruntimeArtifactId=openliberty-runtime -Ddockerizer=liberty
mvn install -Dmaven.failsafe.debug -DruntimeVersion=18.0.0.3 -DruntimeGroupId=io.openliberty -DruntimeArtifactId=openliberty-runtime -Ddockerizer=liberty -Dit.test=DockerBuildIT
mvnDebug install -DruntimeVersion=18.0.0.3 -DruntimeGroupId=io.openliberty -DruntimeArtifactId=openliberty-runtime -Ddockerizer=liberty
When importing the code into Eclipse, do it in two steps:
- Import the top-level project
Import -> Maven (Existing Maven Projects)
"Root Directory" => repo home (project.basedir)
- Import the parent of the individual integration test projects
Import -> Maven (Existing Maven Projects)
"Root Directory" => IT parent module home (project.basedir/src/it)
Windows Defender can greatly slow down the unzip of a Liberty runtime performed in the package goal, currently from about 10s -> 80s.
Solution: Follow steps like these to take a subdirectory and remove it from scanning.