META-INF.maven.plugin.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-optimizer-plugin Show documentation
Show all versions of maven-optimizer-plugin Show documentation
Web resource optimizer plugin encodes images in css into base64, minify and merge css (project css and
external css as well), minify and merge javascipts
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Comvai maven optimizer plugin ~ Copyright (C) 2015 Comvai, s.r.o. All Rights Reserved. ~ ~ This library is free software; you can redistribute it and/or ~ modify it under the terms of the GNU Lesser General Public ~ License as published by the Free Software Foundation; either ~ version 2.1 of the License, or (at your option) any later version. ~ ~ This library is distributed in the hope that it will be useful, ~ but WITHOUT ANY WARRANTY; without even the implied warranty of ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ~ Lesser General Public License for more details. ~ ~ You should have received a copy of the GNU Lesser General Public ~ License along with this library; if not, write to the Free Software ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --> <plugin> <description>Web resource optimizer plugin</description> <groupId>org.ctoolkit.maven.plugins</groupId> <artifactId>maven-optimizer-plugin</artifactId> <version>1.0</version> <isolatedRealm>false</isolatedRealm> <inheritedByDefault>true</inheritedByDefault> <goalPrefix>optimizer</goalPrefix> <mojos> <mojo> <goal>optimize</goal> <description>Goal which optimizes web resources (css and java-script).</description> <requiresDirectInvocation>false</requiresDirectInvocation> <requiresProject>true</requiresProject> <requiresReports>false</requiresReports> <aggregator>false</aggregator> <requiresOnline>false</requiresOnline> <inheritedByDefault>true</inheritedByDefault> <phase>compile</phase> <implementation>org.ctoolkit.maven.plugins.optimizer.ResourceOptimizerMojo</implementation> <language>java</language> <instantiationStrategy>per-lookup</instantiationStrategy> <executionStrategy>once-per-session</executionStrategy> <parameters> <parameter> <name>settings</name> <type>org.apache.maven.settings.Settings</type> <required>true</required> <editable>true</editable> <description>Maven settings.</description> </parameter> <parameter> <name>project</name> <type>org.apache.maven.project.MavenProject</type> <required>true</required> <editable>true</editable> <description>Maven project.</description> </parameter> <parameter> <name>cssPathToXml</name> <type>java.lang.String</type> <required>false</required> <editable>true</editable> <description>Path to css configuration xml file.</description> </parameter> <parameter> <name>cssOutputPath</name> <type>java.lang.String</type> <required>false</required> <editable>true</editable> <description>Css output path.</description> </parameter> <parameter> <name>jsPathToXml</name> <type>java.lang.String</type> <required>false</required> <editable>true</editable> <description>Path to java-script configuration xml file.</description> </parameter> <parameter> <name>jsOutputPath</name> <type>java.lang.String</type> <required>false</required> <editable>true</editable> <description>Java-script output path.</description> </parameter> </parameters> <configuration> <settings implementation="org.apache.maven.settings.Settings">${settings}</settings> <project implementation="org.apache.maven.project.MavenProject">${project}</project> </configuration> </mojo> </mojos> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <type>jar</type> <version>3.0</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-project</artifactId> <version>3.0-alpha-2</version> <exclusions> <exclusion> <groupId>com.google.code.google-collections</groupId> <artifactId>google-collect</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings</artifactId> <version>3.0</version> </dependency> <dependency> <groupId>com.google.javascript</groupId> <artifactId>closure-compiler</artifactId> <version>r2388</version> </dependency> <dependency> <groupId>com.google.closure-stylesheets</groupId> <artifactId>closure-stylesheets</artifactId> <version>20140426</version> </dependency> </dependencies> </plugin>