Skip to content

Commit 4f97c2c

Browse files
author
eugenp
committed
introducing cargo
1 parent 2e7f18b commit 4f97c2c

File tree

1 file changed

+29
-2
lines changed
  • spring-security-login-and-registration

1 file changed

+29
-2
lines changed

spring-security-login-and-registration/pom.xml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
<?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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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>
4+
45
<groupId>org.baeldung</groupId>
56
<artifactId>spring-security-login-and-registration</artifactId>
7+
<version>1.0.1-SNAPSHOT</version>
8+
69
<name>spring-security-login-and-registration</name>
710
<packaging>war</packaging>
8-
<version>1.0.1-SNAPSHOT</version>
911

1012
<parent>
1113
<groupId>org.springframework.boot</groupId>
@@ -188,6 +190,27 @@
188190
<artifactId>maven-war-plugin</artifactId>
189191
</plugin>
190192

193+
<plugin>
194+
<groupId>org.codehaus.cargo</groupId>
195+
<artifactId>cargo-maven2-plugin</artifactId>
196+
<version>${cargo-maven2-plugin.version}</version>
197+
<configuration>
198+
<wait>true</wait>
199+
<container>
200+
<containerId>tomcat8x</containerId>
201+
<type>embedded</type>
202+
<systemProperties>
203+
<!-- <provPersistenceTarget>cargo</provPersistenceTarget> -->
204+
</systemProperties>
205+
</container>
206+
<configuration>
207+
<properties>
208+
<cargo.servlet.port>8081</cargo.servlet.port>
209+
</properties>
210+
</configuration>
211+
</configuration>
212+
</plugin>
213+
191214
</plugins>
192215
</build>
193216

@@ -212,5 +235,9 @@
212235
<!-- guava -->
213236
<guava.version>18.0</guava.version>
214237

238+
<!-- maven -->
239+
<cargo-maven2-plugin.version>1.4.15</cargo-maven2-plugin.version>
240+
215241
</properties>
242+
216243
</project>

0 commit comments

Comments
 (0)