mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-08-20 12:30:44 +02:00
85 lines
3.8 KiB
XML
85 lines
3.8 KiB
XML
<project>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>core-js</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>Core JavaScript Utils Libraries</name>
|
|
|
|
<parent>
|
|
<groupId>org.wisemapping</groupId>
|
|
<artifactId>wisemapping</artifactId>
|
|
<relativePath>../pom.xml</relativePath>
|
|
<version>3.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>merge-js-resources</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<tasks>
|
|
<mkdir dir="${basedir}/target/classes"/>
|
|
</tasks>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>net.sf.alchim</groupId>
|
|
<artifactId>yuicompressor-maven-plugin</artifactId>
|
|
<version>0.7.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>compress</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirectory>src/main/javascript/</sourceDirectory>
|
|
<outputDirectory>target/tmp/</outputDirectory>
|
|
<aggregations>
|
|
<aggregation>
|
|
<output>${basedir}/target/classes/core.js</output>
|
|
<includes>
|
|
<include>${basedir}/target/tmp/header-min.js</include>
|
|
<include>${basedir}/target/tmp/Functions-min.js</include>
|
|
<include>${basedir}/target/tmp/Monitor-min.js</include>
|
|
<include>${basedir}/target/tmp/Point-min.js</include>
|
|
<include>${basedir}/target/tmp/Utils-min.js</include>
|
|
<!-- @Todo:Review this -->
|
|
<include>
|
|
${basedir}/../mindplot/src/main/javascript/libraries/moodialog/Overlay.js
|
|
</include>
|
|
<include>
|
|
${basedir}/../mindplot/src/main/javascript/libraries/moodialog/MooDialog.js
|
|
</include>
|
|
<include>
|
|
${basedir}/../mindplot/src/main/javascript/libraries/moodialog/MooDialog.Request.js
|
|
</include>
|
|
<include>
|
|
${basedir}/../mindplot/src/main/javascript/libraries/moodialog/MooDialog.Fx.js
|
|
</include>
|
|
<include>${basedir}/target/tmp/footer-min.js</include>
|
|
|
|
</includes>
|
|
</aggregation>
|
|
</aggregations>
|
|
<nomunge>true</nomunge>
|
|
<jswarn>false</jswarn>
|
|
<force>true</force>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|