Skip to content

Commit c47418d

Browse files
committed
s/import/include/ (C) whatthecommit.com
1 parent 8e7cecc commit c47418d

File tree

9 files changed

+145
-9
lines changed

9 files changed

+145
-9
lines changed

jboss-testcontainers-selenide-remote-e2e-tests/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
<relativePath>..</relativePath>
1111
</parent>
1212

13-
<name>${project.parent.artifactId} => ${project.artifactId}</name>
13+
<packaging>jar</packaging>
1414
<modelVersion>4.0.0</modelVersion>
15+
<name>${project.parent.artifactId} => ${project.artifactId}</name>
1516
<artifactId>jboss-testcontainers-selenide-remote-e2e-tests</artifactId>
16-
<packaging>jar</packaging>
1717

1818
<dependencies>
1919
<dependency>

pom.xml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<module>jboss-testcontainers-selenide-local-e2e-tests</module>
1616
<module>jboss-testcontainers-selenide-remote-e2e-tests</module>
1717
<module>jboss-testcontainers-selenide-dockerfile-e2e-tests</module>
18+
<module>testcontainers-spring-boot-jpa-pg-example</module>
1819
</modules>
1920

2021
<properties>
@@ -27,6 +28,7 @@
2728
<junit-jupiter.version>5.6.0</junit-jupiter.version>
2829
<junit-platform.version>1.6.0</junit-platform.version>
2930
<testcontainers.version>1.13.0</testcontainers.version>
31+
<spring-cloud.version>Hoxton.SR3</spring-cloud.version>
3032
<spring-boot.version>2.2.5.RELEASE</spring-boot.version>
3133
<maven-war-plugin.version>3.2.3</maven-war-plugin.version>
3234
<maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
@@ -78,13 +80,6 @@
7880
<scope>provided</scope>
7981
<type>jar</type>
8082
</dependency>
81-
<!--<dependency>
82-
<groupId>org.springframework.boot</groupId>
83-
<artifactId>spring-boot-dependencies</artifactId>
84-
<version>${spring-boot.version}</version>
85-
<type>pom</type>
86-
<scope>import</scope>
87-
</dependency>-->
8883
<dependency>
8984
<groupId>org.testcontainers</groupId>
9085
<artifactId>testcontainers-bom</artifactId>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## links
2+
3+
* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)
4+
* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.2.5.RELEASE/maven-plugin/)
5+
* [Spring Web](https://docs.spring.io/spring-boot/docs/2.2.5.RELEASE/reference/htmlsingle/#boot-features-developing-web-applications)
6+
* [Spring Data JPA](https://docs.spring.io/spring-boot/docs/2.2.5.RELEASE/reference/htmlsingle/#boot-features-jpa-and-spring-data)
7+
* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/)
8+
* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)
9+
* [Building REST services with Spring](https://spring.io/guides/tutorials/bookmarks/)
10+
* [Accessing Data with JPA](https://spring.io/guides/gs/accessing-data-jpa/)
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
6+
<parent>
7+
<groupId>org.example</groupId>
8+
<artifactId>testcontainers-examples</artifactId>
9+
<version>1.0.0-SNAPSHOT</version>
10+
<relativePath>..</relativePath>
11+
</parent>
12+
13+
<packaging>jar</packaging>
14+
<modelVersion>4.0.0</modelVersion>
15+
<name>${project.parent.artifactId} => ${project.artifactId}</name>
16+
<artifactId>testcontainers-spring-boot-jpa-pg-example</artifactId>
17+
18+
<dependencyManagement>
19+
<dependencies>
20+
<dependency>
21+
<groupId>org.springframework.cloud</groupId>
22+
<artifactId>spring-cloud-dependencies</artifactId>
23+
<version>${spring-cloud.version}</version>
24+
<type>pom</type>
25+
<scope>import</scope>
26+
</dependency>
27+
<dependency>
28+
<groupId>org.springframework.boot</groupId>
29+
<artifactId>spring-boot-dependencies</artifactId>
30+
<version>${spring-boot.version}</version>
31+
<type>pom</type>
32+
<scope>import</scope>
33+
</dependency>
34+
</dependencies>
35+
</dependencyManagement>
36+
37+
<dependencies>
38+
<dependency>
39+
<groupId>org.springframework.boot</groupId>
40+
<artifactId>spring-boot-starter-data-jpa</artifactId>
41+
</dependency>
42+
<dependency>
43+
<groupId>org.springframework.boot</groupId>
44+
<artifactId>spring-boot-starter-web</artifactId>
45+
</dependency>
46+
47+
<dependency>
48+
<groupId>org.postgresql</groupId>
49+
<artifactId>postgresql</artifactId>
50+
<scope>runtime</scope>
51+
</dependency>
52+
<dependency>
53+
<groupId>org.springframework.boot</groupId>
54+
<artifactId>spring-boot-starter-test</artifactId>
55+
<scope>test</scope>
56+
</dependency>
57+
<dependency>
58+
<groupId>org.springframework.cloud</groupId>
59+
<artifactId>spring-cloud-starter</artifactId>
60+
<scope>test</scope>
61+
</dependency>
62+
<dependency>
63+
<groupId>com.playtika.testcontainers</groupId>
64+
<artifactId>embedded-postgresql</artifactId>
65+
<version>1.40</version>
66+
<scope>test</scope>
67+
</dependency>
68+
</dependencies>
69+
70+
<build>
71+
<plugins>
72+
<plugin>
73+
<groupId>org.springframework.boot</groupId>
74+
<artifactId>spring-boot-maven-plugin</artifactId>
75+
</plugin>
76+
</plugins>
77+
</build>
78+
79+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.example.testcontainersspringbootjpapgexample;
2+
3+
import org.springframework.boot.SpringApplication;
4+
import org.springframework.boot.autoconfigure.SpringBootApplication;
5+
6+
@SpringBootApplication
7+
public class TestcontainersSpringBootJpaPgExampleApplication {
8+
9+
public static void main(String[] args) {
10+
SpringApplication.run(TestcontainersSpringBootJpaPgExampleApplication.class, args);
11+
}
12+
13+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.example.testcontainersspringbootjpapgexample;
2+
3+
import org.junit.jupiter.api.Test;
4+
import org.springframework.boot.test.context.SpringBootTest;
5+
6+
@SpringBootTest
7+
class TestcontainersSpringBootJpaPgExampleApplicationTests {
8+
9+
@Test
10+
void contextLoads() {
11+
}
12+
13+
}

ui/pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,29 @@
7575
</plugins>
7676
</build>
7777

78+
<!--<repositories>
79+
<repository>
80+
<id>jboss-ga-repository</id>
81+
<url>http://maven.repository.redhat.com/techpreview/all</url>
82+
<releases>
83+
<enabled>true</enabled>
84+
</releases>
85+
<snapshots>
86+
<enabled>false</enabled>
87+
</snapshots>
88+
</repository>
89+
</repositories>
90+
<pluginRepositories>
91+
<pluginRepository>
92+
<id>jboss-ga-plugin-repository</id>
93+
<url>http://maven.repository.redhat.com/techpreview/all</url>
94+
<releases>
95+
<enabled>true</enabled>
96+
</releases>
97+
<snapshots>
98+
<enabled>false</enabled>
99+
</snapshots>
100+
</pluginRepository>
101+
</pluginRepositories>-->
102+
78103
</project>
File renamed without changes.

0 commit comments

Comments
 (0)