Skip to content

Commit 4da1e61

Browse files
committed
plugin management, removed less files from .war
1 parent eb1ec09 commit 4da1e61

File tree

2 files changed

+19
-10
lines changed

2 files changed

+19
-10
lines changed

openid-connect-server-webapp/pom.xml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
</excludes>
5959
</resource>
6060
</webResources>
61+
<packagingExcludes>less/**</packagingExcludes>
6162
</configuration>
6263
</plugin>
6364
<plugin>
@@ -86,15 +87,6 @@
8687
<plugin>
8788
<groupId>ro.isdc.wro4j</groupId>
8889
<artifactId>wro4j-maven-plugin</artifactId>
89-
<version>1.8.0</version>
90-
<executions>
91-
<execution>
92-
<phase>compile</phase>
93-
<goals>
94-
<goal>run</goal>
95-
</goals>
96-
</execution>
97-
</executions>
9890
<configuration>
9991
<targetGroups>bootstrap,bootstrap-responsive</targetGroups>
10092
<destinationFolder>${project.build.directory}/${project.build.finalName}</destinationFolder>
@@ -110,7 +102,6 @@
110102
<dependency>
111103
<groupId>ro.isdc.wro4j</groupId>
112104
<artifactId>wro4j-extensions</artifactId>
113-
<version>1.8.0</version>
114105
</dependency>
115106
<dependency>
116107
<groupId>org.mitre</groupId>

pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,19 @@
150150
</execution>
151151
</executions>
152152
</plugin>
153+
<plugin>
154+
<groupId>ro.isdc.wro4j</groupId>
155+
<artifactId>wro4j-maven-plugin</artifactId>
156+
<version>1.8.0</version>
157+
<executions>
158+
<execution>
159+
<phase>compile</phase>
160+
<goals>
161+
<goal>run</goal>
162+
</goals>
163+
</execution>
164+
</executions>
165+
</plugin>
153166
</plugins>
154167
</pluginManagement>
155168
<plugins>
@@ -568,6 +581,11 @@
568581
<artifactId>commons-io</artifactId>
569582
<version>1.3.2</version>
570583
</dependency>
584+
<dependency>
585+
<groupId>ro.isdc.wro4j</groupId>
586+
<artifactId>wro4j-extensions</artifactId>
587+
<version>1.8.0</version>
588+
</dependency>
571589
</dependencies>
572590
</dependencyManagement>
573591

0 commit comments

Comments
 (0)