oas-templates
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.github.ansell.oas</groupId> <artifactId>oas-templates</artifactId> <version>1.2</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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.github.ansell.oas</groupId> <artifactId>oas-parent</artifactId> <version>1.2</version> </parent> <artifactId>oas-templates</artifactId> <name>OAS Test Templates</name> <description>Test templates for Ontology Annotation Services</description> <build> <plugins> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>yuicompressor-maven-plugin</artifactId> <executions> <execution> <goals> <goal>jslint</goal> </goals> </execution> </executions> <configuration> <sourceDirectory>src/main/resources/static/scripts/</sourceDirectory> <includes> <include>oas.js</include> <include>oas-debug-helper.js</include> </includes> <excludes> <exclude>**/external/*.js</exclude> </excludes> <!-- NOTE: Switch the following to true to check for compliance. The eclipse javascript formatter currently automatically formats string concatenations in a way that triggers the line-breaking warning, so it is not on by default --> <failOnWarning>false</failOnWarning> </configuration> </plugin> <plugin> <groupId>com.samaxes.maven</groupId> <artifactId>maven-minify-plugin</artifactId> <executions> <execution> <id>default-minify</id> <phase>process-resources</phase> <configuration> <webappSourceDir>${basedir}/src/main/resources</webappSourceDir> <webappTargetDir>${basedir}/target/classes</webappTargetDir> <cssSourceDir>static</cssSourceDir> <!-- Note: the order of the following is important to CSS cascading rules --> <cssSourceFiles> <cssSourceFile>stylesheets/jquery-ui-1.10.3.custom.css</cssSourceFile> <cssSourceFile>bootstrap/css/bootstrap.css</cssSourceFile> <cssSourceFile>scripts/external/jquery.dynatree-1.2.4/skin/ui.dynatree.css</cssSourceFile> <cssSourceFile>stylesheets/oas-styles.css</cssSourceFile> </cssSourceFiles> <cssTargetDir>static/stylesheets</cssTargetDir> <cssFinalFile>oas-styles-all.css</cssFinalFile> <jsSourceDir>static</jsSourceDir> <!-- Note: the order of the following is important to align dependencies --> <jsSourceFiles> <jsSourceFile>scripts/external/jquery-1.9.1/jquery-1.9.1.js</jsSourceFile> <jsSourceFile>scripts/external/jquery-ui-1.10.3/jquery-ui-1.10.3.custom.js</jsSourceFile> <jsSourceFile>scripts/external/jquery-cookie-1.3/jquery.cookie-1.3.js</jsSourceFile> <jsSourceFile>bootstrap/js/bootstrap.js</jsSourceFile> <jsSourceFile>scripts/external/bootbox-2.5.1/bootbox-2.5.1.js</jsSourceFile> <jsSourceFile>scripts/external/jquery.effects.core.js</jsSourceFile> <jsSourceFile>scripts/external/jquery.json.js</jsSourceFile> <jsSourceFile>scripts/external/jquery.rdfquery.rules-1.1-SNAPSHOT.js</jsSourceFile> <jsSourceFile>scripts/external/jquery.rdf.turtle.js</jsSourceFile> <jsSourceFile>scripts/external/jquery.effects.bounce.js</jsSourceFile> <jsSourceFile>scripts/external/jquery.dynatree-1.2.4/jquery.dynatree-1.2.4.js</jsSourceFile> <jsSourceFile>scripts/oas.js</jsSourceFile> <jsSourceFile>scripts/oas-debug-helper.js</jsSourceFile> </jsSourceFiles> <jsTargetDir>static/scripts</jsTargetDir> <jsFinalFile>oas-scripts-all.js</jsFinalFile> </configuration> <goals> <goal>minify</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>