61 lines
2.4 KiB
XML
61 lines
2.4 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<groupId>io.renren</groupId>
|
|
<artifactId>security-enterprise</artifactId>
|
|
<version>2.9.0</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>renren-api</artifactId>
|
|
<packaging>jar</packaging>
|
|
<description>renren-api</description>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.renren</groupId>
|
|
<artifactId>renren-common</artifactId>
|
|
<version>2.9.0</version>
|
|
</dependency>
|
|
<!-- oracle驱动 -->
|
|
<dependency>
|
|
<groupId>com.oracle</groupId>
|
|
<artifactId>ojdbc6</artifactId>
|
|
<scope>system</scope>
|
|
<systemPath>${project.basedir}/lib/ojdbc6-11.2.0.3.jar</systemPath>
|
|
<version>${oracle.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.spotify</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
<version>${docker.plugin.version}</version>
|
|
<configuration>
|
|
<imageName>renren/${project.artifactId}</imageName>
|
|
<dockerDirectory>${project.basedir}/</dockerDirectory>
|
|
<resources>
|
|
<resource>
|
|
<targetPath>/</targetPath>
|
|
<directory>${project.build.directory}</directory>
|
|
<include>${project.build.finalName}.jar</include>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |