You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 2.0 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.mindspore.lite.demo</groupId>
  7. <artifactId>quick_start_java</artifactId>
  8. <version>1.0</version>
  9. <properties>
  10. <maven.compiler.source>8</maven.compiler.source>
  11. <maven.compiler.target>8</maven.compiler.target>
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.mindspore.lite</groupId>
  16. <artifactId>mindspore-lite-java</artifactId>
  17. <version>1.0</version>
  18. <scope>system</scope>
  19. <systemPath>${project.basedir}/lib/mindspore-lite-java.jar</systemPath>
  20. </dependency>
  21. </dependencies>
  22. <build>
  23. <finalName>${project.name}</finalName>
  24. <plugins>
  25. <plugin>
  26. <groupId>org.apache.maven.plugins</groupId>
  27. <artifactId>maven-assembly-plugin</artifactId>
  28. <configuration>
  29. <archive>
  30. <manifest>
  31. <mainClass>com.mindspore.lite.demo.Main</mainClass>
  32. </manifest>
  33. </archive>
  34. <descriptorRefs>
  35. <descriptorRef>jar-with-dependencies</descriptorRef>
  36. </descriptorRefs>
  37. </configuration>
  38. <executions>
  39. <execution>
  40. <id>make-assemble</id>
  41. <phase>package</phase>
  42. <goals>
  43. <goal>single</goal>
  44. </goals>
  45. </execution>
  46. </executions>
  47. </plugin>
  48. </plugins>
  49. </build>
  50. </project>