pom.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <parent>
  5. <groupId>com.ctrip.apollo</groupId>
  6. <artifactId>apollo</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <relativePath>../pom.xml</relativePath>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>apollo-portal</artifactId>
  12. <name>Apollo Portal</name>
  13. <properties>
  14. <github.path>${project.artifactId}</github.path>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.ctrip.apollo</groupId>
  19. <artifactId>apollo-common</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.ctrip.apollo</groupId>
  23. <artifactId>apollo-buildtools</artifactId>
  24. <scope>test</scope>
  25. </dependency>
  26. </dependencies>
  27. <build>
  28. <plugins>
  29. <plugin>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-maven-plugin</artifactId>
  32. </plugin>
  33. <plugin>
  34. <artifactId>maven-assembly-plugin</artifactId>
  35. <executions>
  36. <execution>
  37. <phase>package</phase>
  38. <goals>
  39. <goal>single</goal>
  40. </goals>
  41. <configuration>
  42. <finalName>${project.artifactId}-${project.version}-${package.environment}</finalName>
  43. <appendAssemblyId>false</appendAssemblyId>
  44. <descriptors>
  45. <descriptor>src/assembly/assembly-descriptor.xml</descriptor>
  46. </descriptors>
  47. </configuration>
  48. </execution>
  49. </executions>
  50. </plugin>
  51. </plugins>
  52. </build>
  53. </project>