1、创建struts2项目:
reference
mvn archetype:create -DgroupId=tutorial \
-DartifactId=tutorial \
-DarchetypeGroupId=org.apache.struts \
-DarchetypeArtifactId=struts2-archetype-starter \
-DarchetypeVersion=2.0.9-SNAPSHOT \
-DremoteRepositories=http://peo ...
Maven设置,当前的版本是2.0.0-RC1:
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>2.0.0-RC1</version>
</dependency>
<repository>
<id>spring-milestone</id>
&l ...
1、生成标准布局的webapp项目,在控制台执行下面命令(groupId后面是包名,artifactId后面是项目名称):
mvn archetype:create -DgroupId=org.example -DartifactId=example-webapp -DarchetypeArtifactId=maven-archetype-webapp
2、设置project facets:
<build>
<finalName>sample-webapp</finalName>
<plugins>
<plugin>
<g ...
由于作者未使用maven管理warp项目,给我们习惯用maven的带来不便。
Neither Josh nor I are fans of Maven; but I don't mind if you or
someone wants to manage the effort?
Though if I ever get buildr working on mac I may end up maintaining a
script for it and publishing to maven2's ibiblio.org.
Dhanji.
WarpWithMaven2上有一些相关 ...
google-guice
guice-examples
warp 主页
warp-core
warp-persis
warp-persist-sample: warp-persit的Dynamic Finders/Queries等使用的例子程序。
Dhanji's Blog (Tutorials) 有个Blog的例子,简单示范了warp-core/warp-persist的使用。







评论排行榜