maven依赖本地jar包

2021-03-15 04:28

阅读:316

标签:bsp   ati   com   pen   rect   snapshot   pre   jar包   maven   

     dependency>
            groupId>com.demogroupId>
            artifactId>demoartifactId>
            version>1.0.1-SNAPSHOTversion>
            scope>systemscope>
            systemPath>${basedir}/src/main/resources/lib/core-1.0.1-SNAPSHOT.jarsystemPath>
        dependency>
plugins>   
        plugin>
                groupId>org.apache.maven.pluginsgroupId>
                artifactId>maven-war-pluginartifactId>
                configuration>
                    webResources>
                        resource>
                            directory>${basedir}/src/main/resources/libdirectory>
                            targetPath>WEB-INF/libtargetPath>
                            includes>
                                include>**/*.jarinclude>
                            includes>
                        resource>
                    webResources>
                configuration>
            plugin>
        plugins>

 

maven依赖本地jar包

标签:bsp   ati   com   pen   rect   snapshot   pre   jar包   maven   

原文地址:https://www.cnblogs.com/hsiaochinchin/p/14013218.html


评论


亲,登录后才可以留言!