yuicompressor-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.sonatype.plugins</groupId> <artifactId>yuicompressor-maven-plugin</artifactId> <version>1.1.0</version> </dependency>
<!-- Copyright (c) 2007-2014 Sonatype, Inc. All rights reserved. This program is licensed to you under the Apache License Version 2.0, and you may not use this file except in compliance with the Apache License Version 2.0. You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writing, software distributed under the Apache License Version 2.0 is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License Version 2.0 for the specific language governing permissions and limitations there under. --> <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> <parent> <groupId>org.sonatype.buildsupport</groupId> <artifactId>public-parent</artifactId> <version>6</version> </parent> <groupId>org.sonatype.plugins</groupId> <artifactId>yuicompressor-maven-plugin</artifactId> <name>YUI Compressor Maven Plugin</name> <packaging>maven-plugin</packaging> <version>1.1.0</version> <licenses> <license> <name>ASLv2</name> <url>http://www.apache.org/licenses/LICENSE-2.0</url> </license> </licenses> <dependencies> <!-- NOTE: yuicompressor 2.4.7 shades rhino 1.6* NOTE: yuicompressor 2.4.8 shades rhino 1.7* and does not yet exist on central --> <dependency> <groupId>com.yahoo.platform.yui</groupId> <artifactId>yuicompressor</artifactId> <version>2.4.7</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>2.2.1</version> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.2</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>3.0.8</version> </dependency> <dependency> <groupId>org.sonatype.plexus</groupId> <artifactId>plexus-build-api</artifactId> <version>0.0.7</version> </dependency> <dependency> <groupId>org.sonatype.sisu.litmus</groupId> <artifactId>litmus-testsupport</artifactId> <version>1.9</version> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <configuration> <excludes combine.children="append"> <exclude>**/src/main/resources/jslint.js</exclude> </excludes> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <!-- NOTE: Seems like only version 3.1 of m-p-p works properly :-\ --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.1</version> <executions> <execution> <goals> <goal>descriptor</goal> <goal>helpmojo</goal> </goals> <configuration> <!-- HACK: This appears required, or the help mojo generation will fail? --> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> <configuration> <signature> <groupId>org.codehaus.mojo.signature</groupId> <artifactId>java15</artifactId> <version>1.0</version> </signature> </configuration> <executions> <execution> <id>check-java15</id> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <!-- Enable running of integration-tests. --> <profile> <id>it</id> <activation> <property> <name>it</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <version>1.8</version> <configuration> <debug>true</debug> <projectsDirectory>src/it</projectsDirectory> <cloneProjectsTo>target/it</cloneProjectsTo> <cloneClean>true</cloneClean> <localRepositoryPath>target/local-repo</localRepositoryPath> <settingsFile>src/it/settings.xml</settingsFile> <postBuildHookScript>verify.bsh</postBuildHookScript> </configuration> <executions> <execution> <id>integration-test</id> <goals> <goal>install</goal> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <scm> <tag>yuicompressor-maven-plugin-1.1.0</tag> </scm> </project>