2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-05-17 10:52:27 -04:00
|
|
|
<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">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2020-08-16 07:03:28 -04:00
|
|
|
<artifactId>spring-security-web-react</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>0.1-SNAPSHOT</version>
|
2020-08-16 07:03:28 -04:00
|
|
|
<name>spring-security-web-react</name>
|
2019-10-31 21:43:47 -04:00
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
<parent>
|
2019-12-05 09:56:52 -05:00
|
|
|
<groupId>com.baeldung</groupId>
|
2020-09-10 11:25:13 -04:00
|
|
|
<artifactId>parent-spring-5</artifactId>
|
2019-12-05 09:56:52 -05:00
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2020-09-10 11:25:13 -04:00
|
|
|
<relativePath>../../parent-spring-5</relativePath>
|
2019-12-05 09:56:52 -05:00
|
|
|
</parent>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- Spring Security -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-web</artifactId>
|
2020-09-10 11:25:13 -04:00
|
|
|
<version>${spring-security.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-config</artifactId>
|
2020-09-10 11:25:13 -04:00
|
|
|
<version>${spring-security.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-taglibs</artifactId>
|
2020-09-10 11:25:13 -04:00
|
|
|
<version>${spring-security.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<!-- Spring -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-core</artifactId>
|
2020-09-10 11:25:13 -04:00
|
|
|
<version>${spring.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
2020-09-10 11:25:13 -04:00
|
|
|
<version>${spring.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-beans</artifactId>
|
2020-09-10 11:25:13 -04:00
|
|
|
<version>${spring.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aop</artifactId>
|
2020-09-10 11:25:13 -04:00
|
|
|
<version>${spring.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
2020-09-10 11:25:13 -04:00
|
|
|
<version>${spring.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
2020-09-10 11:25:13 -04:00
|
|
|
<version>${spring.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
|
|
|
<!-- web -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>${javax.servlet-api.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<version>${jstl.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Test -->
|
|
|
|
<dependency>
|
2019-12-05 09:56:52 -05:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
2021-06-11 10:55:37 -04:00
|
|
|
<version>${spring-boot-starter-test.version}</version>
|
2019-12-05 09:56:52 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2021-05-17 10:52:27 -04:00
|
|
|
<finalName>spring-security-web-react</finalName>
|
2019-10-31 21:43:47 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>${maven-war-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<warSourceExcludes>
|
|
|
|
WEB-INF/view/react/node/**,
|
|
|
|
WEB-INF/view/react/node_modules/**,
|
|
|
|
WEB-INF/view/react/public/**,
|
|
|
|
WEB-INF/view/react/src/**,
|
|
|
|
WEB-INF/view/react/*
|
|
|
|
</warSourceExcludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-09-13 11:52:49 -04:00
|
|
|
<!-- NPM build is disabled from profile specific configurations because in a multi-threaded -->
|
|
|
|
<!-- run environment like Jenkins this build was not succeeding due to issues totally unrelated -->
|
|
|
|
<!-- to this module. This can be enabled manually while running this module on local, or -->
|
|
|
|
<!-- directly npm can be run inside the webapp folder -->
|
|
|
|
<!-- <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> -->
|
|
|
|
<!-- <version>${frontend-maven-plugin.version}</version> <configuration> <nodeVersion>${node.version}</nodeVersion> -->
|
|
|
|
<!-- <workingDirectory>src/main/webapp/WEB-INF/view/react</workingDirectory> </configuration> -->
|
|
|
|
<!-- <executions> <execution> <id>install node and npm</id> <goals> <goal>install-node-and-npm</goal> -->
|
|
|
|
<!-- </goals> </execution><execution> -->
|
|
|
|
<!-- <id>npm install</id> <goals> <goal>npm</goal> </goals> </execution> <execution> -->
|
|
|
|
<!-- <id>npm run build</id> <goals> <goal>npm</goal> </goals> -->
|
|
|
|
<!-- <configuration> <arguments>run build</arguments> </configuration> -->
|
|
|
|
<!-- </execution> </executions> </plugin> -->
|
2019-10-31 21:43:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
|
|
<version>9.4.11.v20180605</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2021-08-19 11:00:23 -04:00
|
|
|
|
2022-09-13 11:52:49 -04:00
|
|
|
<!-- NPM build is disabled from profile specific configurations because in a multi-threaded run environment -->
|
|
|
|
<!-- like Jenkins this build was not succeeding due to issues totally unrelated to this module This -->
|
|
|
|
<!-- can be enabled manually while running this module on local, or directly npm can be run inside -->
|
|
|
|
<!-- the webapp folder -->
|
|
|
|
<!-- <profiles> <profile> <id>default-first</id> <build> <plugins> <plugin> <groupId>com.github.eirslett</groupId> -->
|
|
|
|
<!-- <artifactId>frontend-maven-plugin</artifactId> <executions> <execution> -->
|
|
|
|
<!-- <id>install node and npm</id> -->
|
|
|
|
<!--<phase>none</phase> </execution> <execution> <id>npm install</id> <phase>none</phase> </execution> -->
|
|
|
|
<!-- <execution> <id>npm run build</id> <phase>none</phase> </execution> </executions> </plugin> -->
|
|
|
|
<!--</plugins> </build> </profile> -->
|
|
|
|
<!--<profile> <id>default-second</id> <build> <plugins> <plugin> <groupId>com.github.eirslett</groupId> -->
|
|
|
|
<!-- <artifactId>frontend-maven-plugin</artifactId> -->
|
|
|
|
<!--<executions> <execution> <id>install node and npm</id> <phase>none</phase> </execution> <execution> -->
|
|
|
|
<!-- <id>npm install</id> <phase>none</phase> </execution> <execution> <id>npm run build</id> <phase>none</phase> -->
|
|
|
|
<!--</execution> </executions> </plugin> </plugins> </build> </profile> </profiles> -->
|
2020-09-08 05:26:57 -04:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<properties>
|
|
|
|
<!-- Maven plugins -->
|
|
|
|
<maven-resources-plugin.version>2.7</maven-resources-plugin.version>
|
2021-08-19 01:43:36 -04:00
|
|
|
<frontend-maven-plugin.version>1.12.0</frontend-maven-plugin.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<jetty.version>9.4.11.v20180605</jetty.version>
|
|
|
|
<!-- frontend -->
|
|
|
|
<node.version>v8.11.3</node.version>
|
|
|
|
<npm.version>6.1.0</npm.version>
|
|
|
|
</properties>
|
2021-05-17 10:52:27 -04:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
</project>
|