mirror of
https://github.com/Febbweiss/springboot-react-webpack.git
synced 2026-03-04 22:25:34 +00:00
Adds Bootstrap and ThymeLeaf managment
This commit is contained in:
57
pom.xml
57
pom.xml
@@ -17,6 +17,7 @@
|
||||
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
|
||||
<jasmine.version>2.4.1</jasmine.version>
|
||||
<jasmine-ajax.version>3.2.0</jasmine-ajax.version>
|
||||
|
||||
@@ -38,7 +39,37 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||||
</dependency>
|
||||
<!-- Testing -->
|
||||
<!-- Security -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.thymeleaf.extras</groupId>
|
||||
<artifactId>thymeleaf-extras-springsecurity4</artifactId>
|
||||
</dependency>
|
||||
<!-- Persistence -->
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-jdbc</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-tx</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-orm</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-entitymanager</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hsqldb</groupId>
|
||||
<artifactId>hsqldb</artifactId>
|
||||
</dependency>
|
||||
<!-- Testing -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
@@ -118,7 +149,17 @@
|
||||
<configuration>
|
||||
<watches>
|
||||
<watch>
|
||||
<directory>src/main/webapp/js</directory>
|
||||
<excludes>
|
||||
<exclude>src/main/resources/static/js/bundle</exclude>
|
||||
<exclude>src/main/resources/static/js/jsx</exclude>
|
||||
</excludes>
|
||||
<recursive>false</recursive>
|
||||
<directory>src/main/resources/static/js</directory>
|
||||
</watch>
|
||||
<watch>
|
||||
<exclude>src/main/resources/static/css/bundle</exclude>
|
||||
<recursive>false</recursive>
|
||||
<directory>src/main/resources/static/css</directory>
|
||||
</watch>
|
||||
<watch>
|
||||
<directory>src/main/wro</directory>
|
||||
@@ -141,7 +182,9 @@
|
||||
</goals>
|
||||
<configuration>
|
||||
<target>
|
||||
<delete dir="${project.basedir}/src/main/resources/static" />
|
||||
<delete dir="${project.basedir}/src/main/resources/static/js/bundle" />
|
||||
<delete dir="${project.basedir}/src/main/resources/static/js/jsx" />
|
||||
<delete dir="${project.basedir}/src/main/resources/static/css/bundle" />
|
||||
<delete dir="${project.basedir}/src/test/resources/static/js/compiled" />
|
||||
</target>
|
||||
</configuration>
|
||||
@@ -185,10 +228,10 @@
|
||||
<configuration>
|
||||
<extension>jsx</extension>
|
||||
<sourcePath>
|
||||
${project.basedir}/src/main/webapp/js
|
||||
${project.basedir}/src/main/resources/static/js
|
||||
</sourcePath>
|
||||
<targetPath>
|
||||
${project.basedir}/src/main/resources/static/js
|
||||
${project.basedir}/src/main/resources/static/js/jsx
|
||||
</targetPath>
|
||||
</configuration>
|
||||
</execution>
|
||||
@@ -224,8 +267,8 @@
|
||||
</executions>
|
||||
<configuration>
|
||||
<wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
|
||||
<cssDestinationFolder>${project.basedir}/src/main/resources/static/css</cssDestinationFolder>
|
||||
<jsDestinationFolder>${project.basedir}/src/main/resources/static/js</jsDestinationFolder>
|
||||
<cssDestinationFolder>${project.basedir}/src/main/resources/static/css/bundle</cssDestinationFolder>
|
||||
<jsDestinationFolder>${project.basedir}/src/main/resources/static/js/bundle</jsDestinationFolder>
|
||||
<wroFile>${project.build.directory}/wro/wro.xml</wroFile>
|
||||
<extraConfigFile>${project.basedir}/src/main/wro/wro.properties</extraConfigFile>
|
||||
</configuration>
|
||||
|
||||
Reference in New Issue
Block a user