maven 引用自己的jar

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
                <source>1.6</source>
                <target>1.6</target>
                <encoding>UTF-8</encoding>
                <compilerArguments>
                   <extdirs>src\main\webapp\WEB-INF\lib</extdirs>
              </compilerArguments>
            </configuration>
        </plugin>
        无关配置省略...
    </plugins>
</build>
posted on 2015-07-08 14:43  Eleven_Niu  阅读(351)  评论(0编辑  收藏  举报