datagear/datagear-webapp/pom.xml

53 lines
1.4 KiB
XML

<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.datagear</groupId>
<artifactId>datagear</artifactId>
<version>1.6.0</version>
</parent>
<artifactId>datagear-webapp</artifactId>
<name>datagear-webapp</name>
<packaging>war</packaging>
<properties>
</properties>
<dependencies>
<dependency>
<groupId>org.datagear</groupId>
<artifactId>datagear-web</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin.version}</version>
<executions>
<!-- 拷贝LICENSE文件 -->
<execution>
<id>copyLICENSE</id>
<phase>prepare-package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy file="../LICENSE" todir="${project.build.directory}/${project.name}-${project.version}" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>