Skip to content

Commit 400e13d

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 34bb168 + 5515220 commit 400e13d

10 files changed

Lines changed: 263 additions & 16 deletions

File tree

‎algorithms/src/main/java/com/baeldung/algorithms/mcts/montecarlo/MonteCarloTreeSearch.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class MonteCarloTreeSearch {
1010

1111
private static final int WIN_SCORE = 10;
1212
private int level;
13-
private int oponent;
13+
private int opponent;
1414

1515
public MonteCarloTreeSearch() {
1616
this.level = 3;
@@ -32,11 +32,11 @@ public Board findNextMove(Board board, int playerNo) {
3232
long start = System.currentTimeMillis();
3333
long end = start + 60 * getMillisForCurrentLevel();
3434

35-
oponent = 3 - playerNo;
35+
opponent = 3 - playerNo;
3636
Tree tree = new Tree();
3737
Node rootNode = tree.getRoot();
3838
rootNode.getState().setBoard(board);
39-
rootNode.getState().setPlayerNo(oponent);
39+
rootNode.getState().setPlayerNo(opponent);
4040

4141
while (System.currentTimeMillis() < end) {
4242
// Phase 1 - Selection
@@ -93,7 +93,7 @@ private int simulateRandomPlayout(Node node) {
9393
State tempState = tempNode.getState();
9494
int boardStatus = tempState.getBoard().checkStatus();
9595

96-
if (boardStatus == oponent) {
96+
if (boardStatus == opponent) {
9797
tempNode.getParent().getState().setWinScore(Integer.MIN_VALUE);
9898
return boardStatus;
9999
}

‎spring-boot/.factorypath‎

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
<factorypath>
2+
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-data-mongodb/2.0.1.RELEASE/spring-boot-starter-data-mongodb-2.0.1.RELEASE.jar" enabled="true" runInBatchMode="false"/>
3+
<factorypathentry kind="VARJAR" id="M2_REPO/org/mongodb/mongodb-driver/3.6.3/mongodb-driver-3.6.3.jar" enabled="true" runInBatchMode="false"/>
4+
<factorypathentry kind="VARJAR" id="M2_REPO/org/mongodb/bson/3.6.3/bson-3.6.3.jar" enabled="true" runInBatchMode="false"/>
5+
<factorypathentry kind="VARJAR" id="M2_REPO/org/mongodb/mongodb-driver-core/3.6.3/mongodb-driver-core-3.6.3.jar" enabled="true" runInBatchMode="false"/>
6+
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/data/spring-data-mongodb/2.0.6.RELEASE/spring-data-mongodb-2.0.6.RELEASE.jar" enabled="true" runInBatchMode="false"/>
7+
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-tx/5.0.5.RELEASE/spring-tx-5.0.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
8+
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-expression/5.0.5.RELEASE/spring-expression-5.0.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
9+
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/data/spring-data-commons/2.0.6.RELEASE/spring-data-commons-2.0.6.RELEASE.jar" enabled="true" runInBatchMode="false"/>
10+
<factorypathentry kind="VARJAR" id="M2_REPO/de/flapdoodle/embed/de.flapdoodle.embed.mongo/2.0.3/de.flapdoodle.embed.mongo-2.0.3.jar" enabled="true" runInBatchMode="false"/>
11+
<factorypathentry kind="VARJAR" id="M2_REPO/de/flapdoodle/embed/de.flapdoodle.embed.process/2.0.2/de.flapdoodle.embed.process-2.0.2.jar" enabled="true" runInBatchMode="false"/>
12+
<factorypathentry kind="VARJAR" id="M2_REPO/commons-io/commons-io/2.4/commons-io-2.4.jar" enabled="true" runInBatchMode="false"/>
13+
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar" enabled="true" runInBatchMode="false"/>
14+
<factorypathentry kind="VARJAR" id="M2_REPO/net/java/dev/jna/jna/4.5.1/jna-4.5.1.jar" enabled="true" runInBatchMode="false"/>
15+
<factorypathentry kind="VARJAR" id="M2_REPO/net/java/dev/jna/jna-platform/4.5.1/jna-platform-4.5.1.jar" enabled="true" runInBatchMode="false"/>
16+
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-compress/1.10/commons-compress-1.10.jar" enabled="true" runInBatchMode="false"/>
17+
<factorypathentry kind="VARJAR" id="M2_REPO/org/junit/jupiter/junit-jupiter-api/5.1.0/junit-jupiter-api-5.1.0.jar" enabled="true" runInBatchMode="false"/>
18+
<factorypathentry kind="VARJAR" id="M2_REPO/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0.jar" enabled="true" runInBatchMode="false"/>
19+
<factorypathentry kind="VARJAR" id="M2_REPO/org/opentest4j/opentest4j/1.0.0/opentest4j-1.0.0.jar" enabled="true" runInBatchMode="false"/>
20+
<factorypathentry kind="VARJAR" id="M2_REPO/org/junit/platform/junit-platform-commons/1.1.0/junit-platform-commons-1.1.0.jar" enabled="true" runInBatchMode="false"/>
21+
<factorypathentry kind="VARJAR" id="M2_REPO/org/junit/jupiter/junit-jupiter-engine/5.1.0/junit-jupiter-engine-5.1.0.jar" enabled="true" runInBatchMode="false"/>
22+
<factorypathentry kind="VARJAR" id="M2_REPO/org/junit/platform/junit-platform-engine/1.1.0/junit-platform-engine-1.1.0.jar" enabled="true" runInBatchMode="false"/>
23+
<factorypathentry kind="VARJAR" id="M2_REPO/org/junit/platform/junit-platform-launcher/1.1.0/junit-platform-launcher-1.1.0.jar" enabled="true" runInBatchMode="false"/>
224
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-thymeleaf/2.0.1.RELEASE/spring-boot-starter-thymeleaf-2.0.1.RELEASE.jar" enabled="true" runInBatchMode="false"/>
325
<factorypathentry kind="VARJAR" id="M2_REPO/org/thymeleaf/thymeleaf-spring5/3.0.9.RELEASE/thymeleaf-spring5-3.0.9.RELEASE.jar" enabled="true" runInBatchMode="false"/>
426
<factorypathentry kind="VARJAR" id="M2_REPO/org/thymeleaf/thymeleaf/3.0.9.RELEASE/thymeleaf-3.0.9.RELEASE.jar" enabled="true" runInBatchMode="false"/>
@@ -16,7 +38,6 @@
1638
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-web/5.0.5.RELEASE/spring-web-5.0.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
1739
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-webmvc/5.0.5.RELEASE/spring-webmvc-5.0.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
1840
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-aop/5.0.5.RELEASE/spring-aop-5.0.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
19-
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-expression/5.0.5.RELEASE/spring-expression-5.0.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
2041
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-data-jpa/2.0.1.RELEASE/spring-boot-starter-data-jpa-2.0.1.RELEASE.jar" enabled="true" runInBatchMode="false"/>
2142
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-aop/2.0.1.RELEASE/spring-boot-starter-aop-2.0.1.RELEASE.jar" enabled="true" runInBatchMode="false"/>
2243
<factorypathentry kind="VARJAR" id="M2_REPO/org/aspectj/aspectjweaver/1.8.13/aspectjweaver-1.8.13.jar" enabled="true" runInBatchMode="false"/>
@@ -32,9 +53,7 @@
3253
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/common/hibernate-commons-annotations/5.0.1.Final/hibernate-commons-annotations-5.0.1.Final.jar" enabled="true" runInBatchMode="false"/>
3354
<factorypathentry kind="VARJAR" id="M2_REPO/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar" enabled="true" runInBatchMode="false"/>
3455
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/data/spring-data-jpa/2.0.6.RELEASE/spring-data-jpa-2.0.6.RELEASE.jar" enabled="true" runInBatchMode="false"/>
35-
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/data/spring-data-commons/2.0.6.RELEASE/spring-data-commons-2.0.6.RELEASE.jar" enabled="true" runInBatchMode="false"/>
3656
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-orm/5.0.5.RELEASE/spring-orm-5.0.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
37-
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-tx/5.0.5.RELEASE/spring-tx-5.0.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
3857
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-aspects/5.0.5.RELEASE/spring-aspects-5.0.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
3958
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-actuator/2.0.1.RELEASE/spring-boot-starter-actuator-2.0.1.RELEASE.jar" enabled="true" runInBatchMode="false"/>
4059
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-actuator-autoconfigure/2.0.1.RELEASE/spring-boot-actuator-autoconfigure-2.0.1.RELEASE.jar" enabled="true" runInBatchMode="false"/>
@@ -48,7 +67,6 @@
4867
<factorypathentry kind="VARJAR" id="M2_REPO/com/graphql-java/graphql-java-servlet/4.2.0/graphql-java-servlet-4.2.0.jar" enabled="true" runInBatchMode="false"/>
4968
<factorypathentry kind="VARJAR" id="M2_REPO/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar" enabled="true" runInBatchMode="false"/>
5069
<factorypathentry kind="VARJAR" id="M2_REPO/commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.jar" enabled="true" runInBatchMode="false"/>
51-
<factorypathentry kind="VARJAR" id="M2_REPO/commons-io/commons-io/2.2/commons-io-2.2.jar" enabled="true" runInBatchMode="false"/>
5270
<factorypathentry kind="VARJAR" id="M2_REPO/com/graphql-java/graphql-java-tools/3.2.0/graphql-java-tools-3.2.0.jar" enabled="true" runInBatchMode="false"/>
5371
<factorypathentry kind="VARJAR" id="M2_REPO/org/jetbrains/kotlin/kotlin-stdlib/1.2.31/kotlin-stdlib-1.2.31.jar" enabled="true" runInBatchMode="false"/>
5472
<factorypathentry kind="VARJAR" id="M2_REPO/org/jetbrains/annotations/13.0/annotations-13.0.jar" enabled="true" runInBatchMode="false"/>
@@ -85,6 +103,9 @@
85103
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/logging/log4j/log4j-api/2.10.0/log4j-api-2.10.0.jar" enabled="true" runInBatchMode="false"/>
86104
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar" enabled="true" runInBatchMode="false"/>
87105
<factorypathentry kind="VARJAR" id="M2_REPO/org/yaml/snakeyaml/1.19/snakeyaml-1.19.jar" enabled="true" runInBatchMode="false"/>
106+
<factorypathentry kind="VARJAR" id="M2_REPO/com/jayway/jsonpath/json-path/2.4.0/json-path-2.4.0.jar" enabled="true" runInBatchMode="false"/>
107+
<factorypathentry kind="VARJAR" id="M2_REPO/net/minidev/json-smart/2.3/json-smart-2.3.jar" enabled="true" runInBatchMode="false"/>
108+
<factorypathentry kind="VARJAR" id="M2_REPO/net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar" enabled="true" runInBatchMode="false"/>
88109
<factorypathentry kind="VARJAR" id="M2_REPO/com/google/guava/guava/18.0/guava-18.0.jar" enabled="true" runInBatchMode="false"/>
89110
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/tomcat-servlet-api/8.5.11/tomcat-servlet-api-8.5.11.jar" enabled="true" runInBatchMode="false"/>
90111
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-websocket/5.0.5.RELEASE/spring-websocket-5.0.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
@@ -136,7 +157,6 @@
136157
<factorypathentry kind="VARJAR" id="M2_REPO/org/codehaus/groovy/groovy-json/2.4.15/groovy-json-2.4.15.jar" enabled="true" runInBatchMode="false"/>
137158
<factorypathentry kind="VARJAR" id="M2_REPO/io/rest-assured/rest-assured-common/3.1.0/rest-assured-common-3.1.0.jar" enabled="true" runInBatchMode="false"/>
138159
<factorypathentry kind="VARJAR" id="M2_REPO/io/rest-assured/xml-path/3.1.0/xml-path-3.1.0.jar" enabled="true" runInBatchMode="false"/>
139-
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar" enabled="true" runInBatchMode="false"/>
140160
<factorypathentry kind="VARJAR" id="M2_REPO/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.jar" enabled="true" runInBatchMode="false"/>
141161
<factorypathentry kind="PLUGIN" id="org.eclipse.jst.ws.annotations.core" enabled="true" runInBatchMode="false"/>
142162
</factorypath>

‎spring-boot/pom.xml‎

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.baeldung</groupId>
55
<artifactId>spring-boot</artifactId>
@@ -16,6 +16,35 @@
1616
</parent>
1717

1818
<dependencies>
19+
<!-- MongoDB -->
20+
<dependency>
21+
<groupId>org.springframework.boot</groupId>
22+
<artifactId>spring-boot-starter-data-mongodb</artifactId>
23+
</dependency>
24+
<dependency>
25+
<groupId>de.flapdoodle.embed</groupId>
26+
<artifactId>de.flapdoodle.embed.mongo</artifactId>
27+
<scope>test</scope>
28+
</dependency>
29+
<!-- JUnit Jupiter dependencies -->
30+
<dependency>
31+
<groupId>org.junit.jupiter</groupId>
32+
<artifactId>junit-jupiter-api</artifactId>
33+
<scope>test</scope>
34+
</dependency>
35+
<dependency>
36+
<groupId>org.junit.jupiter</groupId>
37+
<artifactId>junit-jupiter-engine</artifactId>
38+
<scope>test</scope>
39+
</dependency>
40+
<!-- JUnit platform launcher -->
41+
<!-- To be able to run tests from IDE directly -->
42+
<dependency>
43+
<groupId>org.junit.platform</groupId>
44+
<artifactId>junit-platform-launcher</artifactId>
45+
<version>${junit-platform.version}</version>
46+
<scope>test</scope>
47+
</dependency>
1948
<dependency>
2049
<groupId>org.springframework.boot</groupId>
2150
<artifactId>spring-boot-starter-thymeleaf</artifactId>
@@ -55,11 +84,6 @@
5584
<scope>test</scope>
5685
</dependency>
5786

58-
<!-- <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-core</artifactId>
59-
<version>${tomcat.version}</version> </dependency> <dependency> <groupId>org.apache.tomcat.embed</groupId>
60-
<artifactId>tomcat-embed-jasper</artifactId> <version>${tomcat.version}</version>
61-
</dependency> -->
62-
6387
<dependency>
6488
<groupId>io.dropwizard.metrics</groupId>
6589
<artifactId>metrics-core</artifactId>
@@ -170,7 +194,7 @@
170194
<excludes>
171195
<exclude>**/*LiveTest.java</exclude>
172196
<exclude>**/*IntegrationTest.java</exclude>
173-
<exclude>**/*IntTest.java</exclude>
197+
<exclude>**/*IntTest.java</exclude>
174198
</excludes>
175199
<includes>
176200
<include>**/AutoconfigurationTest.java</include>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package com.baeldung.mongodb;
2+
3+
import org.springframework.boot.SpringApplication;
4+
import org.springframework.boot.autoconfigure.SpringBootApplication;
5+
6+
@SpringBootApplication
7+
public class Application {
8+
public static void main(String[] args) {
9+
SpringApplication.run(Application.class, args);
10+
}
11+
}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
package com.baeldung.mongodb;
2+
3+
import static org.assertj.core.api.Assertions.assertThat;
4+
5+
import org.junit.jupiter.api.AfterEach;
6+
import org.junit.jupiter.api.BeforeEach;
7+
import org.junit.jupiter.api.DisplayName;
8+
import org.junit.jupiter.api.Test;
9+
import org.springframework.data.mongodb.core.MongoTemplate;
10+
11+
import com.mongodb.BasicDBObjectBuilder;
12+
import com.mongodb.DBObject;
13+
import com.mongodb.MongoClient;
14+
15+
import de.flapdoodle.embed.mongo.MongodExecutable;
16+
import de.flapdoodle.embed.mongo.MongodStarter;
17+
import de.flapdoodle.embed.mongo.config.IMongodConfig;
18+
import de.flapdoodle.embed.mongo.config.MongodConfigBuilder;
19+
import de.flapdoodle.embed.mongo.config.Net;
20+
import de.flapdoodle.embed.mongo.distribution.Version;
21+
import de.flapdoodle.embed.process.runtime.Network;
22+
23+
class ManualEmbeddedMongoDbIntegrationTest {
24+
private MongodExecutable mongodExecutable;
25+
private MongoTemplate mongoTemplate;
26+
27+
@AfterEach
28+
void clean() {
29+
mongodExecutable.stop();
30+
}
31+
32+
@BeforeEach
33+
void setup() throws Exception {
34+
String ip = "localhost";
35+
int port = 27017;
36+
37+
IMongodConfig mongodConfig = new MongodConfigBuilder().version(Version.Main.PRODUCTION)
38+
.net(new Net(ip, port, Network.localhostIsIPv6()))
39+
.build();
40+
41+
MongodStarter starter = MongodStarter.getDefaultInstance();
42+
mongodExecutable = starter.prepare(mongodConfig);
43+
mongodExecutable.start();
44+
mongoTemplate = new MongoTemplate(new MongoClient(ip, port), "test");
45+
}
46+
47+
@DisplayName("Given object When save object using MongoDB template Then object can be found")
48+
@Test
49+
void test() throws Exception {
50+
// given
51+
DBObject objectToSave = BasicDBObjectBuilder.start()
52+
.add("key", "value")
53+
.get();
54+
55+
// when
56+
mongoTemplate.save(objectToSave, "collection");
57+
58+
// then
59+
assertThat(mongoTemplate.findAll(DBObject.class, "collection")).extracting("key")
60+
.containsOnly("value");
61+
}
62+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
package com.baeldung.mongodb;
2+
3+
import static org.assertj.core.api.Assertions.assertThat;
4+
5+
import org.junit.jupiter.api.DisplayName;
6+
import org.junit.jupiter.api.Test;
7+
import org.junit.jupiter.api.extension.ExtendWith;
8+
import org.springframework.beans.factory.annotation.Autowired;
9+
import org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTest;
10+
import org.springframework.data.mongodb.core.MongoTemplate;
11+
import org.springframework.test.context.ContextConfiguration;
12+
import org.springframework.test.context.junit.jupiter.SpringExtension;
13+
14+
import com.mongodb.BasicDBObjectBuilder;
15+
import com.mongodb.DBObject;
16+
17+
@ContextConfiguration(classes = Application.class)
18+
@DataMongoTest
19+
@ExtendWith(SpringExtension.class)
20+
public class MongoDbSpringIntegrationTest {
21+
@DisplayName("Given object When save object using MongoDB template Then object can be found")
22+
@Test
23+
public void test(@Autowired MongoTemplate mongoTemplate) {
24+
// given
25+
DBObject objectToSave = BasicDBObjectBuilder.start()
26+
.add("key", "value")
27+
.get();
28+
29+
// when
30+
mongoTemplate.save(objectToSave, "collection");
31+
32+
// then
33+
assertThat(mongoTemplate.findAll(DBObject.class, "collection")).extracting("key")
34+
.containsOnly("value");
35+
}
36+
}

‎spring-thymeleaf/pom.xml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,27 @@
9898
<version>${springframework-security.version}</version>
9999
<scope>test</scope>
100100
</dependency>
101+
102+
<!-- <dependency>
103+
<groupId>org.springframework.boot</groupId>
104+
<artifactId>spring-boot-autoconfigure</artifactId>
105+
<version>2.0.1.RELEASE</version>
106+
<type>jar</type>
107+
</dependency>
108+
109+
<dependency>
110+
<groupId>org.springframework.boot</groupId>
111+
<artifactId>spring-boot-starter-test</artifactId>
112+
<scope>test</scope>
113+
</dependency> -->
101114

102115
<!-- Spring data -->
103116
<dependency>
104117
<groupId>org.springframework.data</groupId>
105118
<artifactId>spring-data-commons</artifactId>
106119
<version>${springFramework-data.version}</version>
107120
</dependency>
121+
108122
</dependencies>
109123

110124
<build>
@@ -117,6 +131,7 @@
117131
<failOnMissingWebXml>false</failOnMissingWebXml>
118132
</configuration>
119133
</plugin>
134+
120135
<plugin>
121136
<groupId>org.codehaus.cargo</groupId>
122137
<artifactId>cargo-maven2-plugin</artifactId>
@@ -136,6 +151,7 @@
136151
</configuration>
137152
</configuration>
138153
</plugin>
154+
139155
<plugin>
140156
<groupId>org.apache.tomcat.maven</groupId>
141157
<artifactId>tomcat7-maven-plugin</artifactId>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// package com.baeldung.thymeleaf;
2+
3+
// import org.springframework.boot.SpringApplication;
4+
// import org.springframework.boot.autoconfigure.SpringBootApplication;
5+
6+
// @SpringBootApplication
7+
// public class WorkingWithArraysInThymeleafApplication {
8+
9+
// public static void main(String[] args) {
10+
// SpringApplication.run(WorkingWithArraysInThymeleafApplication.class, args);
11+
// }
12+
// }

0 commit comments

Comments
 (0)