2025-02-22 10:48:31 +08:00
|
|
|
|
<?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>
|
|
|
|
|
|
|
|
|
|
|
|
<groupId>ink.numberone</groupId>
|
|
|
|
|
|
<artifactId>examples</artifactId>
|
|
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
|
|
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
<smartjavaai.version>1.0.0-SNAPSHOT</smartjavaai.version>
|
2025-02-26 11:23:39 +08:00
|
|
|
|
<exec.mainClass>smartai.examples.face.FaceDemo</exec.mainClass>
|
2025-02-22 10:48:31 +08:00
|
|
|
|
</properties>
|
|
|
|
|
|
|
2025-02-23 12:56:50 +08:00
|
|
|
|
|
2025-02-22 10:48:31 +08:00
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
|
|
|
<version>1.9.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
|
|
<version>2.17.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
|
<artifactId>log4j-slf4j2-impl</artifactId>
|
|
|
|
|
|
<version>2.24.1</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
|
|
<artifactId>testng</artifactId>
|
|
|
|
|
|
<version>7.10.2</version>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>ink.numberone</groupId>
|
|
|
|
|
|
<artifactId>smartjavaai-face</artifactId>
|
2025-04-01 16:57:01 +08:00
|
|
|
|
<version>1.0.6</version>
|
2025-02-22 10:48:31 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
|
|
<version>1.2.3</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
|
<version>1.7.30</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
|
<version>1.2.83</version>
|
|
|
|
|
|
</dependency>
|
2025-03-26 17:09:22 +08:00
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>ai.djl.onnxruntime</groupId>
|
|
|
|
|
|
<artifactId>onnxruntime-engine</artifactId>
|
|
|
|
|
|
<version>0.20.0</version>
|
|
|
|
|
|
</dependency>
|
2025-02-22 10:48:31 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
2025-03-26 17:09:22 +08:00
|
|
|
|
<build>
|
|
|
|
|
|
<finalName>example</finalName>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
|
|
<version>2.3</version>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<!--如果不想在打包的后缀加上assembly.xml中设置的id,可以加上下面的配置-->
|
|
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
|
|
<descriptorRefs>
|
|
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
|
|
</descriptorRefs>
|
|
|
|
|
|
<archive>
|
|
|
|
|
|
<manifest>
|
|
|
|
|
|
<!-- 是否绑定依赖,将外部jar包依赖加入到classPath中 -->
|
|
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
|
|
<!-- 依赖前缀,与之前设置的文件夹路径要匹配 -->
|
|
|
|
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
|
|
|
|
<!-- 执行的主程序入口 -->
|
|
|
|
|
|
<mainClass>smartai.examples.face.FaceDemo</mainClass>
|
|
|
|
|
|
</manifest>
|
|
|
|
|
|
</archive>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<id>make-assembly</id>
|
|
|
|
|
|
<!--绑定的maven操作-->
|
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>assembly</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-02-22 10:48:31 +08:00
|
|
|
|
</project>
|