Commit a9d8f9c7 by carrieyzzhang

npm

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