pom.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.wtkj</groupId>
  6. <artifactId>blade-service</artifactId>
  7. <version>1.0.RELEASE</version>
  8. </parent>
  9. <artifactId>wt-okr</artifactId>
  10. <packaging>jar</packaging>
  11. <name>wt-okr</name>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.springblade</groupId>
  15. <artifactId>blade-core-boot</artifactId>
  16. </dependency>
  17. <dependency>
  18. <groupId>org.springblade</groupId>
  19. <artifactId>blade-starter-swagger</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.wtkj</groupId>
  23. <artifactId>wt-okr-api</artifactId>
  24. <version>1.0.RELEASE</version>
  25. </dependency>
  26. </dependencies>
  27. <build>
  28. <plugins>
  29. <plugin>
  30. <groupId>com.spotify</groupId>
  31. <artifactId>dockerfile-maven-plugin</artifactId>
  32. <configuration>
  33. <username>${docker.username}</username>
  34. <password>${docker.password}</password>
  35. <repository>${docker.registry.url}/${docker.namespace}/${project.artifactId}</repository>
  36. <tag>${project.version}</tag>
  37. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  38. <buildArgs>
  39. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  40. </buildArgs>
  41. <skip>false</skip>
  42. </configuration>
  43. </plugin>
  44. <plugin>
  45. <groupId>org.apache.maven.plugins</groupId>
  46. <artifactId>maven-antrun-plugin</artifactId>
  47. </plugin>
  48. <!--不打包test-->
  49. <!--<plugin>
  50. <groupId>org.apache.maven.plugins</groupId>
  51. <artifactId>maven-surefire-plugin</artifactId>
  52. <version>2.12.4</version>
  53. <configuration>
  54. <skipTests>true</skipTests>
  55. </configuration>
  56. </plugin>-->
  57. <!--不打包tes-->
  58. </plugins>
  59. </build>
  60. </project>