|
@@ -0,0 +1,47 @@
|
|
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
+<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
|
|
+
|
|
|
|
|
+ <groupId>cn.seecoder</groupId>
|
|
|
|
|
+ <artifactId>seecoder-frontend-webjars</artifactId>
|
|
|
|
|
+ <version>0.1.6</version>
|
|
|
|
|
+
|
|
|
|
|
+ <packaging>jar</packaging>
|
|
|
|
|
+
|
|
|
|
|
+ <properties>
|
|
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
+ <java.version>1.8</java.version>
|
|
|
|
|
+ <frontend.name>SEEC-I-Frontend</frontend.name>
|
|
|
|
|
+ <frontend.dir>../${frontend.name}</frontend.dir>
|
|
|
|
|
+ <webjars.source>${frontend.dir}/dist/${version}</webjars.source>
|
|
|
|
|
+ <webjars.target>${project.build.outputDirectory}/META-INF/resources/webjars/${frontend.name}/${version}</webjars.target>
|
|
|
|
|
+ </properties>
|
|
|
|
|
+
|
|
|
|
|
+ <build>
|
|
|
|
|
+ <plugins>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
|
+ <version>1.8</version>
|
|
|
|
|
+ <executions>
|
|
|
|
|
+ <execution>
|
|
|
|
|
+ <phase>process-resources</phase>
|
|
|
|
|
+ <goals>
|
|
|
|
|
+ <goal>run</goal>
|
|
|
|
|
+ </goals>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <target>
|
|
|
|
|
+ <copy todir="${webjars.target}">
|
|
|
|
|
+ <fileset dir="${webjars.source}">
|
|
|
|
|
+ <exclude name="**/*.map"/>
|
|
|
|
|
+ </fileset>
|
|
|
|
|
+ </copy>
|
|
|
|
|
+ </target>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ </execution>
|
|
|
|
|
+ </executions>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ </plugins>
|
|
|
|
|
+ </build>
|
|
|
|
|
+</project>
|