Commit 98548ba3 by Dave Syer

Fix generated resources for IDE

parent 9ec59899
...@@ -84,6 +84,9 @@ ...@@ -84,6 +84,9 @@
<build> <build>
<resources> <resources>
<resource> <resource>
<directory>${project.build.directory}/generated-resources</directory>
</resource>
<resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<excludes> <excludes>
<exclude>wro/**</exclude> <exclude>wro/**</exclude>
...@@ -118,7 +121,7 @@ ...@@ -118,7 +121,7 @@
<version>${wro4j.version}</version> <version>${wro4j.version}</version>
<executions> <executions>
<execution> <execution>
<phase>process-resources</phase> <phase>generate-resources</phase>
<goals> <goals>
<goal>run</goal> <goal>run</goal>
</goals> </goals>
...@@ -126,7 +129,7 @@ ...@@ -126,7 +129,7 @@
</executions> </executions>
<configuration> <configuration>
<wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory> <wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
<destinationFolder>${project.build.directory}/classes/static/eureka/</destinationFolder> <destinationFolder>${project.build.directory}/generated-resources/static/eureka/</destinationFolder>
<wroFile>${project.build.directory}/wro/eureka/wro.xml</wroFile> <wroFile>${project.build.directory}/wro/eureka/wro.xml</wroFile>
<extraConfigFile>${basedir}/src/main/resources/wro/eureka/wro.properties</extraConfigFile> <extraConfigFile>${basedir}/src/main/resources/wro/eureka/wro.properties</extraConfigFile>
</configuration> </configuration>
...@@ -137,7 +140,7 @@ ...@@ -137,7 +140,7 @@
<executions> <executions>
<execution> <execution>
<id>add-resource</id> <id>add-resource</id>
<phase>process-resources</phase> <phase>generate-resources</phase>
<goals> <goals>
<goal>add-resource</goal> <goal>add-resource</goal>
</goals> </goals>
......
...@@ -7,7 +7,6 @@ import java.util.Map; ...@@ -7,7 +7,6 @@ import java.util.Map;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.test.IntegrationTest; import org.springframework.boot.test.IntegrationTest;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment