123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <?xml version="1.0" encoding="UTF-8"?>
- <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">
- <modelVersion>4.0.0</modelVersion>
- <artifactId>examcloud-app-api</artifactId>
- <packaging>jar</packaging>
- <parent>
- <groupId>cn.com.qmth.examcloud</groupId>
- <artifactId>examcloud-parent</artifactId>
- <version>${revision}</version>
- <relativePath>../examcloud-parent/pom.xml</relativePath>
- </parent>
- <dependencies>
- <dependency>
- <groupId>cn.com.qmth.examcloud</groupId>
- <artifactId>examcloud-support</artifactId>
- <version>${project.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>cn.com.qmth.examcloud.rpc</groupId>
- <artifactId>examcloud-global-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>cn.com.qmth.examcloud.rpc</groupId>
- <artifactId>examcloud-core-basic-api-client</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-log4j2</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-freemarker</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-logging</artifactId>
- </exclusion>
- </exclusions>
- </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-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <mainClass>cn.com.qmth.examcloud.app.ApiApplication</mainClass>
- <addClasspath>true</addClasspath>
- <classpathPrefix>./</classpathPrefix>
- </manifest>
- <manifestEntries>
- <Class-Path>../config/</Class-Path>
- </manifestEntries>
- </archive>
- <excludes>
- <exclude>templates/*</exclude>
- <exclude>*.properties</exclude>
- <exclude>*.xml</exclude>
- <exclude>*.conf</exclude>
- <exclude>classpath.location</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>${maven-assembly-version}</version>
- <configuration>
- <finalName>examcloud-app-api</finalName>
- <skipAssembly>${skipAssembly}</skipAssembly>
- <descriptors>
- <descriptor>assembly.xml</descriptor>
- </descriptors>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>install</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|