How to build testcontainers-java on Windows and Ubuntu #8817
-
| I wanted to try some custom builds, adding methods in GenericContainer. But I can not build with success. 
 I solved a list of problems with docker images but still, I can not build it. | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
| Found. and for creating maven artifact  | 
Beta Was this translation helpful? Give feedback.
Found.
Because of the inability to run with tests successfully.
Build:
./gradlew build -x testand for creating maven artifact
./gradlew -Pversion=xxxx publishToMavenLocal.creating local maven artifact:
mvn install:install-file -Dfile=testcontainers/testcontainers.jar -DpomFile=pom-default.xml