pom.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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.6</version>
  10. </parent>
  11. <artifactId>search-api-b2b</artifactId>
  12. <name>search-api-b2b</name>
  13. <url>http://maven.apache.org</url>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <build>
  18. <finalName>search-api</finalName>
  19. <plugins>
  20. <!-- 生成javadoc文档包的插件 -->
  21. <plugin>
  22. <groupId>org.apache.maven.plugins</groupId>
  23. <artifactId>maven-javadoc-plugin</artifactId>
  24. <configuration>
  25. <aggregate>true</aggregate>
  26. </configuration>
  27. <executions>
  28. <execution>
  29. <id>attach-javadocs</id>
  30. <goals>
  31. <goal>jar</goal>
  32. </goals>
  33. </execution>
  34. </executions>
  35. </plugin>
  36. <!-- 生成sources源码包的插件 -->
  37. <plugin>
  38. <artifactId>maven-source-plugin</artifactId>
  39. <configuration>
  40. <attach>true</attach>
  41. </configuration>
  42. <executions>
  43. <execution>
  44. <phase>package</phase>
  45. <goals>
  46. <goal>jar-no-fork</goal>
  47. </goals>
  48. </execution>
  49. </executions>
  50. </plugin>
  51. </plugins>
  52. </build>
  53. </project>