Open kuwv opened 7 years ago
Hello,
Bower can be built with maven. Please add this to your "api-gateway/monitor-dashboard" poms:
<!-- deploy bower --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.5.0</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> <executions> <execution> <id>exec-bower-install</id> <phase>generate-sources</phase> <configuration> <executable>bower</executable> <arguments> <argument>install</argument> </arguments> <workingDirectory>${basedir}/src/main/resources/webroot</workingDirectory> </configuration> <goals> <goal>exec</goal> </goals> </execution> </executions> </plugin> <!-- cleanup bower components --> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.0.0</version> <configuration> <filesets> <fileset> <directory>${basedir}/src/main/resources/webroot/bower_components</directory> </fileset> </filesets> </configuration> </plugin>
This project has helped me a lot. Thanks, -J
Thanks for your advice! I'll add it in next version~
hi i have created a pull request concerning this issue ;)
Hello,
Bower can be built with maven. Please add this to your "api-gateway/monitor-dashboard" poms:
This project has helped me a lot. Thanks, -J