Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<plugin>
  <description>The Maven JAWR Plugin contains the compression goal and compresses JavaScript/css in a web application.</description>
  <groupId>net.jawr</groupId>
  <artifactId>maven-jawr-plugin</artifactId>
  <version>1.1</version>
  <goalPrefix>jawr</goalPrefix>
  <isolatedRealm>false</isolatedRealm>
  <inheritedByDefault>true</inheritedByDefault>
  <mojos>
    <mojo>
      <goal>bundle</goal>
      <description>The Jawr Mojo which will perform the bundle.

The original author of this Mojo is Andreas Andreou.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>net.jawr.maven.JawrMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>destDirPath</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The path to the destination directory where the files are stored at the end of the process.</description>
        </parameter>
        <parameter>
          <name>generateCDNFiles</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>The flag indicating if we should generate the CDN files or not</description>
        </parameter>
        <parameter>
          <name>rootPath</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The path to the root of the web application where the resources are loaded from.</description>
        </parameter>
        <parameter>
          <name>servletsToInitialize</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The list of comma separated servlet names to initialize.</description>
        </parameter>
        <parameter>
          <name>tempDirPath</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The path to the temporary directory for Jawr where the temporary resources are generated.</description>
        </parameter>
      </parameters>
      <configuration>
        <rootPath implementation="java.lang.String" default-value="${project.build.directory}/${project.build.finalName}"/>
        <destDirPath implementation="java.lang.String" default-value="${project.build.directory}/jawr/bundles"/>
        <tempDirPath implementation="java.lang.String" default-value="${project.build.directory}/jawr/temp"/>
        <generateCDNFiles implementation="boolean" default-value="true"/>
      </configuration>
    </mojo>
  </mojos>
  <dependencies>
    <dependency>
      <groupId>net.jawr</groupId>
      <artifactId>jawr-bundle-processor</artifactId>
      <type>jar</type>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>net.jawr</groupId>
      <artifactId>jawr</artifactId>
      <type>jar</type>
      <version>3.1</version>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <type>jar</type>
      <version>2.3</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <type>jar</type>
      <version>1.0.4</version>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <type>jar</type>
      <version>1.2.7</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <type>jar</type>
      <version>2.0.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact</artifactId>
      <type>jar</type>
      <version>2.0.1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <type>jar</type>
      <version>1.1</version>
    </dependency>
  </dependencies>
</plugin>
New to GrepCode? Check out our FAQ X