switched to using wro4j, main file works but responsive file doesn’t
parent
fd8f628a4f
commit
9b2177a422
|
@ -84,30 +84,35 @@
|
|||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.lesscss</groupId>
|
||||
<artifactId>lesscss-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<sourceDirectory>${project.basedir}/src/main/less</sourceDirectory>
|
||||
<outputDirectory>${project.basedir}/src/main/webapp/resources/bootstrap2/css</outputDirectory>
|
||||
<compress>false</compress>
|
||||
<includes>
|
||||
<include>bootstrap.less</include>
|
||||
<include>bootstrap-responsive.less</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
<groupId>ro.isdc.wro4j</groupId>
|
||||
<artifactId>wro4j-maven-plugin</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>compile</goal>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<phase>process-sources</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<targetGroups>bootstrap</targetGroups>
|
||||
<destinationFolder>${project.build.directory}/${project.build.finalName}</destinationFolder>
|
||||
<cssDestinationFolder>${project.build.directory}/${project.build.finalName}/resources/bootstrap2/css/</cssDestinationFolder>
|
||||
<jsDestinationFolder>${project.build.directory}/${project.build.finalName}/js/</jsDestinationFolder>
|
||||
<wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<dependency>
|
||||
<groupId>ro.isdc.wro4j</groupId>
|
||||
<artifactId>wro4j-extensions</artifactId>
|
||||
<version>1.8.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mitre</groupId>
|
||||
<artifactId>openid-connect-server</artifactId>
|
||||
</dependency>
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
preProcessors=cssImport
|
||||
postProcessors=lessCss
|
|
@ -0,0 +1,6 @@
|
|||
<groups xmlns="http://www.isdc.ro/wro">
|
||||
<group name="bootstrap">
|
||||
<css>/less/bootstrap.less</css>
|
||||
<css>/less/bootstrap-responsive.less</css>
|
||||
</group>
|
||||
</groups>
|
Loading…
Reference in New Issue