pom.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.leeroa</groupId>
  7. <artifactId>project-dydb</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>war</packaging>
  10. <description>
  11. 大友数据库系统
  12. </description>
  13. <!-- 指定仓库地址 -->
  14. <repositories>
  15. <repository>
  16. <id>central</id>
  17. <name>central repo</name>
  18. <url>http://nexus.leeroa.com/content/groups/public</url>
  19. </repository>
  20. </repositories>
  21. <dependencies>
  22. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  23. <dependency>
  24. <groupId>org.projectlombok</groupId>
  25. <artifactId>lombok</artifactId>
  26. <version>1.18.24</version>
  27. <scope>provided</scope>
  28. </dependency>
  29. </dependencies>
  30. <build>
  31. <!--
  32. 排除资源文件,不打在jar包中
  33. 由于是war包,所以直接将资源文件拷贝到classes目录下
  34. -->
  35. <finalName>dydb</finalName>
  36. <resources>
  37. <resource>
  38. <directory>src/main/resources</directory>
  39. <excludes>
  40. <exclude>config-*.properties</exclude>
  41. </excludes>
  42. </resource>
  43. </resources>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-compiler-plugin</artifactId>
  48. <version>3.1</version>
  49. <configuration>
  50. <source>1.8</source>
  51. <target>1.8</target>
  52. <encoding>utf-8</encoding>
  53. <compilerArguments>
  54. <extdirs>${project.basedir}/src/main/webapp/WEB-INF/lib</extdirs>
  55. </compilerArguments>
  56. </configuration>
  57. </plugin>
  58. </plugins>
  59. </build>
  60. </project>