pom.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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>cn.seecoder</groupId>
  7. <artifactId>seecoder-frontend-webjars</artifactId>
  8. <version>0.1.6</version>
  9. <packaging>jar</packaging>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <java.version>1.8</java.version>
  13. <frontend.name>SEEC-I-Frontend</frontend.name>
  14. <frontend.dir>../${frontend.name}</frontend.dir>
  15. <webjars.source>${frontend.dir}/dist/${version}</webjars.source>
  16. <webjars.target>${project.build.outputDirectory}/META-INF/resources/webjars/${frontend.name}/${version}</webjars.target>
  17. </properties>
  18. <build>
  19. <plugins>
  20. <plugin>
  21. <artifactId>maven-antrun-plugin</artifactId>
  22. <version>1.8</version>
  23. <executions>
  24. <execution>
  25. <phase>process-resources</phase>
  26. <goals>
  27. <goal>run</goal>
  28. </goals>
  29. <configuration>
  30. <target>
  31. <copy todir="${webjars.target}">
  32. <fileset dir="${webjars.source}">
  33. <exclude name="**/*.map"/>
  34. </fileset>
  35. </copy>
  36. </target>
  37. </configuration>
  38. </execution>
  39. </executions>
  40. </plugin>
  41. </plugins>
  42. </build>
  43. </project>