pom.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 1999-2019 Seata.io Group.
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  18. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  19. <parent>
  20. <groupId>io.seata</groupId>
  21. <artifactId>seata-sqlparser</artifactId>
  22. <version>${revision}</version>
  23. </parent>
  24. <modelVersion>4.0.0</modelVersion>
  25. <artifactId>seata-sqlparser-druid</artifactId>
  26. <name>seata-sqlparser-druid ${project.version}</name>
  27. <description>sqlparser-druid for Seata built with Maven</description>
  28. <dependencies>
  29. <dependency>
  30. <groupId>${project.groupId}</groupId>
  31. <artifactId>seata-sqlparser-core</artifactId>
  32. <version>${project.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.alibaba</groupId>
  36. <artifactId>druid</artifactId>
  37. <scope>provided</scope>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-dependency-plugin</artifactId>
  45. <executions>
  46. <execution>
  47. <id>copy-druid</id>
  48. <phase>compile</phase>
  49. <goals>
  50. <goal>copy-dependencies</goal>
  51. </goals>
  52. <configuration>
  53. <includeGroupIds>com.alibaba</includeGroupIds>
  54. <includeArtifactIds>druid</includeArtifactIds>
  55. <stripVersion>true</stripVersion>
  56. <outputDirectory>
  57. ${project.build.outputDirectory}/lib/sqlparser
  58. </outputDirectory>
  59. </configuration>
  60. </execution>
  61. </executions>
  62. </plugin>
  63. </plugins>
  64. </build>
  65. </project>