Commit 671e83b0 authored by Liang Ding's avatar Liang Ding

加入 maven-jetty-plugin

parent 1fdc5f0b
...@@ -57,6 +57,21 @@ ...@@ -57,6 +57,21 @@
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.22</version>
<configuration>
<stopKey>stop</stopKey>
<stopPort>4500</stopPort>
<webAppSourceDirectory>../src/main/webapp</webAppSourceDirectory>
<classesDirectory>${basedir}/target/${project.build.finalName}/WEB-INF/classes</classesDirectory>
<contextPath>/</contextPath>
<reload>manual</reload>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.b3log.latke</groupId> <groupId>org.b3log.latke</groupId>
<artifactId>maven-min-plugin</artifactId> <artifactId>maven-min-plugin</artifactId>
...@@ -64,7 +79,8 @@ ...@@ -64,7 +79,8 @@
<inherited>false</inherited> <inherited>false</inherited>
<configuration> <configuration>
<suffix>.min</suffix> <!-- Common#MINI_POSTFIX_VALUE --> <suffix>.min</suffix>
<!-- Common#MINI_POSTFIX_VALUE -->
<adminJSs> <adminJSs>
<param>admin.js</param> <param>admin.js</param>
<param>editor.js</param> <param>editor.js</param>
......
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