File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 45
45
46
46
<compiler .plugin.version>3.5.1</compiler .plugin.version>
47
47
<resources .plugin.version>2.7</resources .plugin.version>
48
+ <clean .plugin.version>3.0.0</clean .plugin.version>
48
49
<war .plugin.version>2.6</war .plugin.version>
49
50
<native2ascii .plugin.version>1.0-beta-1</native2ascii .plugin.version>
50
51
<surefire .plugin.version>2.19.1</surefire .plugin.version>
541
542
<version >${resources.plugin.version} </version >
542
543
</plugin >
543
544
545
+ <plugin >
546
+ <groupId >org.apache.maven.plugins</groupId >
547
+ <artifactId >maven-clean-plugin</artifactId >
548
+ <version >${clean.plugin.version} </version >
549
+ <configuration >
550
+ <!-- Remove minified resources -->
551
+ <filesets >
552
+ <fileset >
553
+ <directory >src/main/webapp/WEB-INF/static/styles</directory >
554
+ <includes >
555
+ <include >*.min.css</include >
556
+ </includes >
557
+ </fileset >
558
+ <fileset >
559
+ <directory >src/main/javascript</directory >
560
+ <includes >
561
+ <include >**/*.min.js</include >
562
+ </includes >
563
+ </fileset >
564
+ </filesets >
565
+ </configuration >
566
+ </plugin >
567
+
544
568
<plugin >
545
569
<groupId >org.apache.maven.plugins</groupId >
546
570
<artifactId >maven-war-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments