|
@@ -17,6 +17,7 @@
|
|
|
|
|
|
|
|
<properties>
|
|
<properties>
|
|
|
<java.version>1.8</java.version>
|
|
<java.version>1.8</java.version>
|
|
|
|
|
+
|
|
|
<jasmine.version>2.4.1</jasmine.version>
|
|
<jasmine.version>2.4.1</jasmine.version>
|
|
|
<jasmine-ajax.version>3.2.0</jasmine-ajax.version>
|
|
<jasmine-ajax.version>3.2.0</jasmine-ajax.version>
|
|
|
|
|
|
|
@@ -38,7 +39,37 @@
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
</dependency>
|
|
</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>
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
@@ -118,7 +149,17 @@
|
|
|
<configuration>
|
|
<configuration>
|
|
|
<watches>
|
|
<watches>
|
|
|
<watch>
|
|
<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>
|
|
|
<watch>
|
|
<watch>
|
|
|
<directory>src/main/wro</directory>
|
|
<directory>src/main/wro</directory>
|
|
@@ -141,7 +182,9 @@
|
|
|
</goals>
|
|
</goals>
|
|
|
<configuration>
|
|
<configuration>
|
|
|
<target>
|
|
<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" />
|
|
<delete dir="${project.basedir}/src/test/resources/static/js/compiled" />
|
|
|
</target>
|
|
</target>
|
|
|
</configuration>
|
|
</configuration>
|
|
@@ -185,10 +228,10 @@
|
|
|
<configuration>
|
|
<configuration>
|
|
|
<extension>jsx</extension>
|
|
<extension>jsx</extension>
|
|
|
<sourcePath>
|
|
<sourcePath>
|
|
|
- ${project.basedir}/src/main/webapp/js
|
|
|
|
|
|
|
+ ${project.basedir}/src/main/resources/static/js
|
|
|
</sourcePath>
|
|
</sourcePath>
|
|
|
<targetPath>
|
|
<targetPath>
|
|
|
- ${project.basedir}/src/main/resources/static/js
|
|
|
|
|
|
|
+ ${project.basedir}/src/main/resources/static/js/jsx
|
|
|
</targetPath>
|
|
</targetPath>
|
|
|
</configuration>
|
|
</configuration>
|
|
|
</execution>
|
|
</execution>
|
|
@@ -224,8 +267,8 @@
|
|
|
</executions>
|
|
</executions>
|
|
|
<configuration>
|
|
<configuration>
|
|
|
<wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
|
|
<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>
|
|
<wroFile>${project.build.directory}/wro/wro.xml</wroFile>
|
|
|
<extraConfigFile>${project.basedir}/src/main/wro/wro.properties</extraConfigFile>
|
|
<extraConfigFile>${project.basedir}/src/main/wro/wro.properties</extraConfigFile>
|
|
|
</configuration>
|
|
</configuration>
|