Some Useful Maven Configurations
程序员文章站
2022-03-02 22:47:19
...
1, Maven添加本地文件夹
<dependency>
<groupId>commons-api</groupId>
<artifactId>commons</artifactId>
<version>v0.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/commons-codec-1.9.jar</systemPath>
</dependency>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<compilerArguments>
<!-- 打包本地jar包 -->
<extdirs>${project.basedir}/lib</extdirs>
</compilerArguments>
</configuration>
</plugin>
</plugins>
</build>
推荐阅读
-
There have some useful link to cvs.
-
【DataStructure】Some useful methods for arrays
-
Some useful tips about sox rec
-
【DataStructure】Some useful methods about linkedList(二)
-
【DataStructure】Some useful methods about linkedList.
-
some useful
-
some useful php function 2
-
Some Useful DQL Tips
-
Some useful python code
-
Some useful python function