pom.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <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">
  2. <parent>
  3. <groupId>com.eitc</groupId>
  4. <artifactId>eitc-erm-tenant</artifactId>
  5. <version>1.0.1</version>
  6. </parent>
  7. <modelVersion>4.0.0</modelVersion>
  8. <artifactId>eitc-api</artifactId>
  9. <packaging>jar</packaging>
  10. <description>eitc-api</description>
  11. <dependencies>
  12. <dependency>
  13. <groupId>com.eitc</groupId>
  14. <artifactId>eitc-common</artifactId>
  15. <version>1.0.1</version>
  16. </dependency>
  17. </dependencies>
  18. <build>
  19. <finalName>${project.artifactId}</finalName>
  20. <plugins>
  21. <plugin>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-maven-plugin</artifactId>
  24. </plugin>
  25. <plugin>
  26. <groupId>org.apache.maven.plugins</groupId>
  27. <artifactId>maven-surefire-plugin</artifactId>
  28. <configuration>
  29. <skipTests>true</skipTests>
  30. </configuration>
  31. </plugin>
  32. <plugin>
  33. <groupId>com.spotify</groupId>
  34. <artifactId>docker-maven-plugin</artifactId>
  35. <version>${docker.plugin.version}</version>
  36. <configuration>
  37. <imageName>eitc/${project.artifactId}</imageName>
  38. <dockerDirectory>${project.basedir}/</dockerDirectory>
  39. <resources>
  40. <resource>
  41. <targetPath>/</targetPath>
  42. <directory>${project.build.directory}</directory>
  43. <include>${project.build.finalName}.jar</include>
  44. </resource>
  45. </resources>
  46. </configuration>
  47. </plugin>
  48. </plugins>
  49. </build>
  50. </project>