|
@@ -77,10 +77,26 @@
|
|
|
<artifactId>ruoyi-system</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
+ <!--外部jar坐标,用于maven编译打包-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.gbase</groupId>
|
|
|
+ <artifactId>gbase</artifactId>
|
|
|
+ <scope>system</scope>
|
|
|
+ <version>14.7.0</version>
|
|
|
+ <!-- ${pom.basedir}:此pom.xml文件所在的项目模块路径 -->
|
|
|
+ <systemPath>${pom.basedir}/lib/gbase.1.0.1.jar</systemPath>
|
|
|
+ </dependency>
|
|
|
</dependencies>
|
|
|
<build>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
+ <directory>${project.basedir}/libs</directory>
|
|
|
+ <targetPath>BOOT-INF/lib/</targetPath>
|
|
|
+ <includes>
|
|
|
+ <include>**/*.jar</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+ <resource>
|
|
|
<directory>${project.basedir}/license</directory>
|
|
|
<targetPath>BOOT-INF/license/</targetPath>
|
|
|
<includes>
|
|
@@ -88,5 +104,27 @@
|
|
|
</includes>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
+ <plugins>
|
|
|
+ <!--用于maven编译打包-->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <source>1.8</source>
|
|
|
+ <target>1.8</target>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ <compilerArguments>
|
|
|
+ <extdirs>${project.basedir}/lib</extdirs>
|
|
|
+ </compilerArguments>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <includeSystemScope>true</includeSystemScope>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
</build>
|
|
|
</project>
|