wheel-maven-plugin

码农软件 · 软件分类 · 其他开发相关 · 2019-10-23 13:26:51

软件介绍

MVC框架Wheel的maven插件

1.简介


使用这个插件,那么在用maven编译的时候将会自动的将生成的class打包到war包中去,这样就和我们正常使用一个class是一样的了,运行的时候也没有任何影响。

2.使用


pom文件中在标签下加入如下内容

<plugin>
     <groupId>cn.wensiqun</groupId>
     <artifactId>wheel-maven-plugin</artifactId>
     <version>0.1-SNAPSHOT</version>
     <executions>
         <execution>
             <phase>compile</phase>
             <goals>
                 <goal>create-proxy-class</goal>
             </goals>
         </execution>
     </executions>
 </plugin>

这样在maven编译的时候就会将生成的class放入target的classes文件夹下,然后在package的时候就能将生成的class加入到war包了。

注意:目前wheel-maven-plugin并没有release,当然大家可以通过下载地址用svn下载到本地。


本文地址:https://codercto.com/soft/d/17386.html

Concepts, Techniques, and Models of Computer Programming

Concepts, Techniques, and Models of Computer Programming

Peter Van Roy、Seif Haridi / The MIT Press / 2004-2-20 / USD 78.00

This innovative text presents computer programming as a unified discipline in a way that is both practical and scientifically sound. The book focuses on techniques of lasting value and explains them p......一起来看看 《Concepts, Techniques, and Models of Computer Programming》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具