Commit a9d8f9c7 by carrieyzzhang

npm

parent fc956114
...@@ -944,49 +944,49 @@ ...@@ -944,49 +944,49 @@
</triggerfiles> </triggerfiles>
</configuration> </configuration>
<executions> <!--<executions>-->
<execution> <!--<execution>-->
<id>install node and npm</id> <!--<id>install node and npm</id>-->
<goals> <!--<goals>-->
<goal>install-node-and-npm</goal> <!--<goal>install-node-and-npm</goal>-->
</goals> <!--</goals>-->
<configuration> <!--<configuration>-->
<nodeVersion>v0.10.18</nodeVersion> <!--<nodeVersion>v0.10.18</nodeVersion>-->
<npmVersion>1.3.8</npmVersion> <!--<npmVersion>1.3.8</npmVersion>-->
</configuration> <!--</configuration>-->
</execution> <!--</execution>-->
<execution> <!--<execution>-->
<id>npm install</id> <!--<id>npm install</id>-->
<goals> <!--<goals>-->
<goal>npm</goal> <!--<goal>npm</goal>-->
</goals> <!--</goals>-->
<configuration> <!--<configuration>-->
<arguments>install</arguments> <!--<arguments>install</arguments>-->
</configuration> <!--</configuration>-->
</execution> <!--</execution>-->
<execution> <!--<execution>-->
<id>npm run build</id> <!--<id>npm run build</id>-->
<goals> <!--<goals>-->
<goal>npm</goal> <!--<goal>npm</goal>-->
</goals> <!--</goals>-->
<configuration> <!--<configuration>-->
<arguments>run build</arguments> <!--<arguments>run build</arguments>-->
</configuration> <!--</configuration>-->
</execution> <!--</execution>-->
<execution> <!--<execution>-->
<id>grunt build</id> <!--<id>grunt build</id>-->
<goals> <!--<goals>-->
<goal>grunt</goal> <!--<goal>grunt</goal>-->
</goals> <!--</goals>-->
<configuration> <!--<configuration>-->
<arguments>build --force</arguments> <!--<arguments>build &#45;&#45;force</arguments>-->
</configuration> <!--</configuration>-->
</execution> <!--</execution>-->
</executions> <!--</executions>-->
</plugin> </plugin>
<plugin> <plugin>
......
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
<description>调度配置</description> <description>调度配置</description>
<bean id="autoCalculateFlow" class="com.reyun.task.AutoCalculateFlow"></bean> <!--<bean id="autoCalculateFlow" class="com.reyun.task.AutoCalculateFlow"></bean>-->
<bean id="exportReportTask" class="com.reyun.task.ExportReportTask"></bean> <!--<bean id="exportReportTask" class="com.reyun.task.ExportReportTask"></bean>-->
<task:scheduled-tasks> <!--<task:scheduled-tasks>-->
<task:scheduled ref="autoCalculateFlow" method="run" cron="0 0 7 * * ?"/> <!--<task:scheduled ref="autoCalculateFlow" method="run" cron="0 0 7 * * ?"/>-->
<task:scheduled ref="exportReportTask" method="run" cron="0 */2 * * * ?"/> <!--<task:scheduled ref="exportReportTask" method="run" cron="0 */2 * * * ?"/>-->
</task:scheduled-tasks> <!--</task:scheduled-tasks>-->
</beans> </beans>
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