pom.xml 1.9 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. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.uas.search</groupId>
  7. <artifactId>search-parent</artifactId>
  8. <version>0.1.9-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>search-common</artifactId>
  11. <packaging>jar</packaging>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. </properties>
  16. <build>
  17. <plugins>
  18. <!-- 生成javadoc文档包的插件 -->
  19. <plugin>
  20. <groupId>org.apache.maven.plugins</groupId>
  21. <artifactId>maven-javadoc-plugin</artifactId>
  22. <configuration>
  23. <aggregate>true</aggregate>
  24. </configuration>
  25. <executions>
  26. <execution>
  27. <id>attach-javadocs</id>
  28. <goals>
  29. <goal>jar</goal>
  30. </goals>
  31. </execution>
  32. </executions>
  33. </plugin>
  34. <!-- 生成sources源码包的插件 -->
  35. <plugin>
  36. <artifactId>maven-source-plugin</artifactId>
  37. <configuration>
  38. <attach>true</attach>
  39. </configuration>
  40. <executions>
  41. <execution>
  42. <phase>package</phase>
  43. <goals>
  44. <goal>jar-no-fork</goal>
  45. </goals>
  46. </execution>
  47. </executions>
  48. </plugin>
  49. </plugins>
  50. </build>
  51. </project>