diff options
| author | Szymon Szukalski <szymon@skas.io> | 2024-07-25 11:56:13 +1000 |
|---|---|---|
| committer | Szymon Szukalski <szymon@skas.io> | 2024-07-25 11:56:13 +1000 |
| commit | 1df19fd955eb951f5d31fb205963b2f4e794c039 (patch) | |
| tree | 8de7fe9f20c069d4e9907a669e792d4e6c0f75ea /pom.xml | |
| parent | bac742fe816a349d75db28fc44e5cca22776bb1a (diff) | |
Separate Docker Compose services for build, test, run
Refactor Docker Compose setup to include distinct services for building, testing,
and running the application.
Use separate Dockerfiles and configurations for each phase to isolate concerns and
improve workflow.
Quiet down the maven logs and set log levels to WARN so there is less noise in the
logs.
Update README file with information on running the project.
Diffstat (limited to 'pom.xml')
| -rw-r--r-- | pom.xml | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -65,6 +65,11 @@ </dependency> <dependency> + <groupId>org.postgresql</groupId> + <artifactId>postgresql</artifactId> + </dependency> + + <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-math3</artifactId> <version>3.6.1</version> @@ -73,7 +78,7 @@ <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> - <scope>runtime</scope> + <scope>test</scope> </dependency> </dependencies> @@ -83,7 +88,22 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <showWarnings>false</showWarnings> + </configuration> + </plugin> </plugins> </build> -</project> + <profiles> + <profile> + <id>test</id> + <properties> + <spring.profiles.active>test</spring.profiles.active> + </properties> + </profile> + </profiles> +</project>
\ No newline at end of file |
