pom.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0"?>
  2. <project
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.uas.search</groupId>
  8. <artifactId>search-parent</artifactId>
  9. <version>0.1.9-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>search-api-b2b</artifactId>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. </properties>
  15. <build>
  16. <plugins>
  17. <!-- 生成javadoc文档包的插件 -->
  18. <plugin>
  19. <groupId>org.apache.maven.plugins</groupId>
  20. <artifactId>maven-javadoc-plugin</artifactId>
  21. <configuration>
  22. <aggregate>true</aggregate>
  23. </configuration>
  24. <executions>
  25. <execution>
  26. <id>attach-javadocs</id>
  27. <goals>
  28. <goal>jar</goal>
  29. </goals>
  30. </execution>
  31. </executions>
  32. </plugin>
  33. <!-- 生成sources源码包的插件 -->
  34. <plugin>
  35. <artifactId>maven-source-plugin</artifactId>
  36. <configuration>
  37. <attach>true</attach>
  38. </configuration>
  39. <executions>
  40. <execution>
  41. <phase>package</phase>
  42. <goals>
  43. <goal>jar-no-fork</goal>
  44. </goals>
  45. </execution>
  46. </executions>
  47. </plugin>
  48. </plugins>
  49. </build>
  50. </project>