Skip to content

Commit

Permalink
remove unused maven docker plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tokarls committed Jan 14, 2025
1 parent 8a54f9a commit bcd4fac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 96 deletions.
87 changes: 0 additions & 87 deletions oppijanumerorekisteri-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -325,93 +325,6 @@
</schemaIncludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>reserve-db-port</id>
<goals>
<goal>reserve-network-port</goal>
</goals>
<phase>pre-integration-test</phase>
<configuration>
<portNames>
<portName>database.port</portName>
</portNames>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.43.0</version>
<configuration>
<images>
<image>
<alias>database</alias>
<name>postgres:12-alpine</name>
<run>
<env>
<POSTGRES_USER>${database.user}</POSTGRES_USER>
<POSTGRES_PASSWORD>${database.password}</POSTGRES_PASSWORD>
<POSTGRES_DB>${database.name}</POSTGRES_DB>
</env>
<ports>
<!--suppress UnresolvedMavenProperty -->
<port>${database.port}:5432</port>
</ports>
<wait>
<log>PostgreSQL init process complete; ready for start up.</log>
</wait>
</run>
</image>
</images>
</configuration>
<executions>
<execution>
<id>start-db</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>stop-db</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-maven-plugin</artifactId>
<version>6.4.2</version>
<executions>
<execution>
<id>test-migrations</id>
<phase>integration-test</phase>
<goals>
<goal>migrate</goal>
</goals>
<configuration>
<schemas>
<schema>public</schema>
</schemas>
<user>${database.user}</user>
<password>${database.password}</password>
<driver>org.postgresql.Driver</driver>
<!--suppress UnresolvedMavenProperty -->
<url>jdbc:postgresql://localhost:${database.port}/${database.name}</url>
<table>schema_table_onr</table>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
9 changes: 0 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,13 @@

<maven.compiler.release>21</maven.compiler.release>

<database.name>oppijanumerorekisteri</database.name>
<database.user>oph</database.user>
<database.password>oph</database.password>

<!-- library versions -->
<aws.java.sdk.version>2.21.37</aws.java.sdk.version>

<!-- querydsl metadata generation plugin -->
<querydsl.version>5.1.0</querydsl.version>
<apt-maven-plugin.version>1.1.3</apt-maven-plugin.version>

<!-- defaults for CI server -->
<buildNumber>Not provided</buildNumber>
<branch>Not provided</branch>
<revision>Not provided</revision>

<sonar.organization>opetushallitus</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.coverage.jacoco.xmlReportPaths>**/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
Expand Down

0 comments on commit bcd4fac

Please sign in to comment.