| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309 |
- <?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>sgiipserver</artifactId>
- <groupId>com.shinsoft</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
- <groupId>com.shinsoft</groupId>
- <artifactId>ureport</artifactId>
- <version>1.0.0</version>
- <name>ureport</name>
- <description>Demo project for Spring Boot</description>
- <properties>
- <java.version>1.8</java.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
-
-
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
-
-
- <!-- 集成ureport2 -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>3.1.0</version>
- </dependency>
-
- <dependency>
- <groupId>com.bstek.ureport</groupId>
- <artifactId>ureport2-console</artifactId>
- <version>2.2.9</version>
- </dependency>
- <!-- 集成ureport2 -->
-
-
- <!--数据库相关-->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- </dependency>
-
- <!-- <dependency>-->
- <!-- <groupId>com.oracle</groupId>-->
- <!-- <artifactId>ojdbc6</artifactId>-->
- <!-- </dependency>-->
- <dependency>
- <groupId>com.oracle.database.jdbc</groupId>
- <artifactId>ojdbc8</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.oracle.database.nls</groupId>
- <artifactId>orai18n</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid</artifactId>
- </dependency>
-
- <!-- <dependency>-->
- <!-- <groupId>org.mybatis.spring.boot</groupId>-->
- <!-- <artifactId>mybatis-spring-boot-starter</artifactId>-->
- <!-- </dependency>-->
-
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-boot-starter</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-generator</artifactId>
- </dependency>
-
- <!-- <dependency>-->
- <!-- <groupId>com.github.pagehelper</groupId>-->
- <!-- <artifactId>pagehelper-spring-boot-starter</artifactId>-->
- <!-- </dependency>-->
- <!--数据库相关-->
-
-
- <!--JSON相关-->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-annotations</artifactId>
- </dependency>
- <!--JSON相关-->
-
-
-
- <!--common-->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-pool2</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- </dependency>
-
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
-
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- </dependency>
-
- <dependency>
- <groupId>commons-dbutils</groupId>
- <artifactId>commons-dbutils</artifactId>
- </dependency>
-
- <dependency>
- <groupId>com.auth0</groupId>
- <artifactId>java-jwt</artifactId>
- </dependency>
-
- <!--common-->
-
-
- </dependencies>
-
- <profiles>
-
- <profile> <!-- 服务器开发环境 -->
- <id>develop</id>
- <properties>
- <profiles.active>develop</profiles.active>
- </properties>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- </profile>
- <profile> <!-- 测试环境 -->
- <id>test</id>
- <properties>
- <profiles.active>test</profiles.active>
- </properties>
- </profile>
- <profile> <!-- 生产环境 -->
- <id>production</id>
- <properties>
- <profiles.active>production</profiles.active>
- </properties>
- </profile>
- </profiles>
-
-
- <build>
-
- <finalName>${project.artifactId}</finalName>
- <!-- <finalName>${project.artifactId}-${profiles.active}</finalName>-->
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <excludes>
- <exclude>test/**</exclude>
- <exclude>develop/**</exclude>
- <exclude>production/**</exclude>
- <exclude>classes/**</exclude>
- <exclude>lib/**</exclude>
- </excludes>
- </resource>
- <resource>
- <directory>src/main/resources/${profiles.active}</directory>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*.yml</include>
- <include>**/*.properties</include>
- <include>**/*.xml</include>
- </includes>
- <filtering>false</filtering>
- </resource>
- <resource>
- <directory>src/main/java</directory>
- <targetPath>${project.build.directory}/classes/mapper</targetPath>
- <includes>
- <include>**/*.xml</include>
- </includes>
- <filtering>false</filtering>
-
- </resource>
- </resources>
-
- <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>
- <addClasspath>true</addClasspath>
- <classpathPrefix>lib/</classpathPrefix>
- <mainClass>com.shinsoft.ureport.UreportApplication</mainClass>
- </manifest>
- <!-- <manifestEntries>-->
- <!-- <Class-Path>lib/tools-1.0-SNAPSHOT.jar</Class-Path>-->
- <!-- </manifestEntries>-->
- </archive>
- <outputDirectory>
- <!-- ${output.path}\${project.artifactId}-->
- ${project.build.directory}
- </outputDirectory>
- </configuration>
- </plugin>
-
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy</id>
- <phase>compile</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>
- <!-- ${output.path}\${project.artifactId}\lib-->
- ${project.build.directory}\lib
- </outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>sys</id>
- <phase>compile</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <includeScope>system</includeScope>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-resource</id>
- <phase>package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>
- <!-- ${output.path}\${project.artifactId}-->
- ${project.build.directory}
- </outputDirectory>
- <resources>
- <resource>
- <directory>${project.basedir}/src/main/resources</directory>
- <includes>
- <include>Dockerfile</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
-
- </plugins>
- </build>
-
- </project>
|