0 0

should not point at files within the project directory0


原来是web项目,想通过hudson自动部署插件把web项目打成war放到tomcat下
在项目根部加了一个pom文件
但打包的时候却报错
should not point at files within the project directory

<dependency> 
        <groupId>antlr</groupId> 
        <artifactId>antlr</artifactId> 
        <version>2.7.7</version>
        <scope>system</scope> 
        <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/antlr-2.7.7.jar</systemPath> 
    </dependency>


还要在pom中添加什么吗?
2013年3月05日 13:39

1个答案 按时间排序 按投票排序

0 0

systemPath的使用有问题,看看这个提问:http://stackoverflow.com/questions/10935135/maven-and-adding-jars-to-system-scope.国际友人给你解决方案了,我就不翻譯了。

2013年3月05日 14:22

相关推荐

    drupal 6.12

    Move the contents of that directory into a directory within your web server's document root or your public HTML directory: mv drupal-x.x/* drupal-x.x/.htaccess /var/www/html If you would like to...

    VclZip pro v3.10.1

    - If a file does not extend beyond any of the original limitations (filesizes of 4 gig or 65535 files) then no Zip64 format information is included in the archive. - property isZip64 - tells you when ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    All of a project's header files should be listed as descentants of the project's source directory without use of UNIX directory shortcuts . (the current directory) or .. (the parent directory). For...

    ICS delphixe10源码版

    option to restore this directory tree or you will have problems because the files would not be in their proper subdirectories. Please note most of these directories are differently named to ICS V7 ...

    Turbo C++ 3.0[DISK]

    - If you get a "floating point formats not linked" message at runtime, put the following somewhere in your source files: extern void _floatconvert(); #pragma extref _floatconvert This will ...

    Turbo C++ 3.00[DISK]

    - If you get a "floating point formats not linked" message at runtime, put the following somewhere in your source files: extern void _floatconvert(); #pragma extref _floatconvert This will ...

    VB编程资源大全(英文源码 其它)

    array.zip A simple program that shows how a two-dimensional array works within a VB program.&lt;END&gt;&lt;br&gt;70,Bubblesort.zip A simple Bubble Sort code that shows how the program works within a VB ...

    Raize3.0.10.rar

    products, point your web browser to the Raize Software web site at: http://www.raize.com Or, send email to: sales@raize.com Raize Software, Inc. 2843 Windsor Drive, Suite 102 Lisle, ...

    Manning.Git.in.Practice.2014.9.pdf

    Commits represent a snapshot of the repository at a certain point in time. Branches allow developers to work on separate lines of development. Merges combine changes from one branch into another. - *...

Global site tag (gtag.js) - Google Analytics