Skip to content

Commit 7a7aa22

Browse files
committed
project init
1 parent da98bb5 commit 7a7aa22

File tree

5 files changed

+154
-0
lines changed

5 files changed

+154
-0
lines changed

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
target/
2+
!.mvn/wrapper/maven-wrapper.jar
3+
4+
### STS ###
5+
.apt_generated
6+
.classpath
7+
.factorypath
8+
.project
9+
.settings
10+
.springBeans
11+
12+
### IntelliJ IDEA ###
13+
.idea
14+
*.iws
15+
*.iml
16+
*.ipr
17+
18+
### NetBeans ###
19+
nbproject/private/
20+
build/
21+
nbbuild/
22+
dist/
23+
nbdist/
24+
.nb-gradle/

pom.xml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>id.web.ard</groupId>
7+
<artifactId>spring-boot-webflux-mongodb-reactive</artifactId>
8+
<version>0.0.1-SNAPSHOT</version>
9+
<packaging>jar</packaging>
10+
11+
<name>spring-boot-webflux-mongodb-reactive</name>
12+
<description>Reactive Example Spring and MongoDB</description>
13+
14+
<parent>
15+
<groupId>org.springframework.boot</groupId>
16+
<artifactId>spring-boot-starter-parent</artifactId>
17+
<version>2.0.0.RC1</version>
18+
<relativePath/> <!-- lookup parent from repository -->
19+
</parent>
20+
21+
<properties>
22+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24+
<java.version>1.8</java.version>
25+
</properties>
26+
27+
<dependencies>
28+
<dependency>
29+
<groupId>org.springframework.boot</groupId>
30+
<artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
31+
</dependency>
32+
<dependency>
33+
<groupId>org.springframework.boot</groupId>
34+
<artifactId>spring-boot-starter-webflux</artifactId>
35+
</dependency>
36+
37+
<dependency>
38+
<groupId>org.projectlombok</groupId>
39+
<artifactId>lombok</artifactId>
40+
<optional>true</optional>
41+
</dependency>
42+
<dependency>
43+
<groupId>org.springframework.boot</groupId>
44+
<artifactId>spring-boot-starter-test</artifactId>
45+
<scope>test</scope>
46+
</dependency>
47+
<dependency>
48+
<groupId>io.projectreactor</groupId>
49+
<artifactId>reactor-test</artifactId>
50+
<scope>test</scope>
51+
</dependency>
52+
</dependencies>
53+
54+
<build>
55+
<plugins>
56+
<plugin>
57+
<groupId>org.springframework.boot</groupId>
58+
<artifactId>spring-boot-maven-plugin</artifactId>
59+
</plugin>
60+
</plugins>
61+
</build>
62+
63+
<repositories>
64+
<repository>
65+
<id>spring-snapshots</id>
66+
<name>Spring Snapshots</name>
67+
<url>https://repo.spring.io/snapshot</url>
68+
<snapshots>
69+
<enabled>true</enabled>
70+
</snapshots>
71+
</repository>
72+
<repository>
73+
<id>spring-milestones</id>
74+
<name>Spring Milestones</name>
75+
<url>https://repo.spring.io/milestone</url>
76+
<snapshots>
77+
<enabled>false</enabled>
78+
</snapshots>
79+
</repository>
80+
</repositories>
81+
82+
<pluginRepositories>
83+
<pluginRepository>
84+
<id>spring-snapshots</id>
85+
<name>Spring Snapshots</name>
86+
<url>https://repo.spring.io/snapshot</url>
87+
<snapshots>
88+
<enabled>true</enabled>
89+
</snapshots>
90+
</pluginRepository>
91+
<pluginRepository>
92+
<id>spring-milestones</id>
93+
<name>Spring Milestones</name>
94+
<url>https://repo.spring.io/milestone</url>
95+
<snapshots>
96+
<enabled>false</enabled>
97+
</snapshots>
98+
</pluginRepository>
99+
</pluginRepositories>
100+
101+
102+
</project>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package id.web.ard.springbootwebfluxmongodbreactive;
2+
3+
import org.springframework.boot.SpringApplication;
4+
import org.springframework.boot.autoconfigure.SpringBootApplication;
5+
6+
@SpringBootApplication
7+
public class SpringBootWebfluxMongodbReactiveApplication {
8+
9+
public static void main(String[] args) {
10+
SpringApplication.run(SpringBootWebfluxMongodbReactiveApplication.class, args);
11+
}
12+
}

src/main/resources/application.properties

Whitespace-only changes.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package id.web.ard.springbootwebfluxmongodbreactive;
2+
3+
import org.junit.Test;
4+
import org.junit.runner.RunWith;
5+
import org.springframework.boot.test.context.SpringBootTest;
6+
import org.springframework.test.context.junit4.SpringRunner;
7+
8+
@RunWith(SpringRunner.class)
9+
@SpringBootTest
10+
public class SpringBootWebfluxMongodbReactiveApplicationTests {
11+
12+
@Test
13+
public void contextLoads() {
14+
}
15+
16+
}

0 commit comments

Comments
 (0)