由于作者未使用maven管理warp项目,给我们习惯用maven的带来不便。[img]../../../images/smiles/icon_cry.gif" alt="[/img]
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.
:twisted:
[url=http://code.google.com/p/warp-core/wiki/WarpWithMaven2]WarpWithMaven2[/url]上有一些相关步骤设置使用maven。
1、使用svn下载warp-core的源代码:[url=http://warp-core.googlecode.com/svn/trunk/]http://warp-core.googlecode.com/svn/trunk/[/url];
2、在warp-core源目录新增pom.xml文件,将上面链接中的对应内容拷贝其中;
3、
之前需要手工deploy包,使用:
如果你有自己的artifactory,deploy它们。
4、新建project, 使用[url=http://code.google.com/p/warp-core/wiki/WarpWithMaven2]WarpWithMaven2[/url]的例子pom.xml,不过缺几个包。
xpp3/mvel使用源文件中带的包,deploy它们。。。
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.
:twisted:
[url=http://code.google.com/p/warp-core/wiki/WarpWithMaven2]WarpWithMaven2[/url]上有一些相关步骤设置使用maven。
1、使用svn下载warp-core的源代码:[url=http://warp-core.googlecode.com/svn/trunk/]http://warp-core.googlecode.com/svn/trunk/[/url];
2、在warp-core源目录新增pom.xml文件,将上面链接中的对应内容拷贝其中;
3、
mvn install -Dtest=false -DfailIfNoTests=false
(测试没法通过~~~)
之前需要手工deploy包,使用:
mvn deploy:deploy-file -DgroupId=com.google.code.guice -DartifactId=guice-servlet -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
如果你有自己的artifactory,deploy它们。
4、新建project, 使用[url=http://code.google.com/p/warp-core/wiki/WarpWithMaven2]WarpWithMaven2[/url]的例子pom.xml,不过缺几个包。
<dependency>
<groupId>org.directwebremoting</groupId>
<artifactId>dwr</artifactId>
<version>2.0.1</version>
</dependency>
<dependency>
<groupId>xpp3</groupId>
<artifactId>xpp3</artifactId>
<version>1.1.4</version>
</dependency>
<dependency>
<groupId>org.mvel</groupId>
<artifactId>mvel</artifactId>
<version>1.2.0RC3</version>
</dependency>
xpp3/mvel使用源文件中带的包,deploy它们。。。