| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <?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">
- <parent>
- <artifactId>device</artifactId>
- <groupId>com.usoftchina.smartschool</groupId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <description>device client for school</description>
- <artifactId>device-client</artifactId>
- <dependencies>
- <dependency>
- <groupId>com.usoftchina.smartschool</groupId>
- <artifactId>device-sdk-dahua</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-security</artifactId>
- </dependency>
- <dependency>
- <groupId>com.microsoft.sqlserver</groupId>
- <artifactId>mssql-jdbc</artifactId>
- <version>4.2.0</version>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-jdbc</artifactId>
- </dependency>
- <!-- JSON -->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- </dependency>
- <!-- httpClient -->
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>com.akathist.maven.plugins.launch4j</groupId>
- <artifactId>launch4j-maven-plugin</artifactId>
- <version>1.7.25</version>
- <executions>
- <execution>
- <id>l4j</id>
- <phase>package</phase>
- <goals>
- <goal>launch4j</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <jar>${project.build.directory}/${artifactId}-${version}.jar</jar>
- <headerType>console</headerType>
- <outfile>${project.build.directory}/device-client.exe</outfile>
- <downloadUrl>http://java.com/download</downloadUrl>
- <classPath>
- <mainClass>org.springframework.boot.loader.JarLauncher</mainClass>
- </classPath>
- <icon>src/main/resources/icon.ico</icon>
- <stayAlive>true</stayAlive>
- <restartOnCrash>true</restartOnCrash>
- <jre>
- <minVersion>1.8.0</minVersion>
- <jdkPreference>preferJre</jdkPreference>
- </jre>
- <versionInfo>
- <fileVersion>1.0.0.0</fileVersion>
- <txtFileVersion>${project.version}</txtFileVersion>
- <fileDescription>${project.name}</fileDescription>
- <copyright>2018 usoftchina.com</copyright>
- <productVersion>1.0.0.0</productVersion>
- <txtProductVersion>1.0.0.0</txtProductVersion>
- <productName>${project.name}</productName>
- <companyName>usoftchina.com</companyName>
- <internalName>device-client</internalName>
- <originalFilename>device-client.exe</originalFilename>
- </versionInfo>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|