jack
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.devspan.vendor.jack</groupId>
<artifactId>jack</artifactId>
<version>1.0.0</version>
</dependency><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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.devspan.vendor.jack</groupId>
<artifactId>jack</artifactId>
<packaging>javascript</packaging>
<version>1.0.0</version>
<parent>
<groupId>com.devspan.vendor</groupId>
<artifactId>vendor-js</artifactId>
<version>1.0.3</version>
</parent>
<name>Jack</name>
<description>Jack</description>
<url>http://github.com/keronsen/jack</url>
<licenses>
<license>
<name>MIT</name>
<url>MIT-LICENSE.txt</url>
</license>
</licenses>
<properties>
<download.url>http://github.com/keronsen/jack/raw/master/src/jack.js</download.url>
</properties>
<dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>get-vendor-code</id>
<phase>initialize</phase>
<configuration>
<tasks>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.compile.classpath"/>
<available file="vendor" type="dir" property="vendor.initialized"/>
<if><not><isset property="vendor.initialized"/></not><then>
<mkdir dir="vendor"/>
<get src="${download.url}" dest="vendor/jack.js"/>
</then></if>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>build-vendor-code</id>
<phase>generate-sources</phase>
<configuration>
<tasks>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.compile.classpath"/>
<available file="src" type="dir" property="src.initialized"/>
<if><not><isset property="src.initialized"/></not><then>
<mkdir dir="src/main/javascript"/>
<copy todir="src/main/javascript">
<fileset dir="vendor">
<include name="*.js"/>
</fileset>
</copy>
</then></if>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>clean-src</id>
<phase>clean</phase>
<configuration>
<tasks>
<delete dir="src"/>
<delete dir="vendor"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>