Maven Repository - POM file for Scripting underscore 1.2.2 1.2.2

Summary

Underscore.js.

Underscore.js is a utility-belt library for JavaScript that provides support for the usual functional suspects (each, map, reduce, filter...) without extending any core JavaScript objects..

Declaration

Here is the list of declaration for underscore. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.jszip.redist</groupId>
   <artifactId>underscore</artifactId>
   <version>1.2.2</version>
</dependency>

If you think this Maven repository POM file listing for underscore is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.





License

Name:MIT License
URL: https://github.com/documentcloud/underscore/raw/master/LICENSE.

Plugin

The following plugins are used in the underscore-1.2.2.jar

  1. build-helper-maven-plugin
  2. jszip-maven-plugin
  3. wagon-maven-plugin

POM File Source

Here is the content of the POM file.

<?xml version="1.0" encoding="utf-8"?>
<!--
   Copyright 2011-2012 Stephen Connolly.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<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.jszip</groupId>
    <artifactId>jszip-parent</artifactId>
    <version>10</version>
  </parent>

  <groupId>org.jszip.redist</groupId>
  <artifactId>underscore</artifactId>
  <version>1.2.2</version>
  <packaging>jszip</packaging>

  <name>Underscore.js</name>
  <description>Underscore.js is a utility-belt library for JavaScript that provides support for the usual functional suspects (each, map, reduce, filter...) without extending any core JavaScript objects.</description>
  <url>http://jszip.org/redist/underscore</url>
  <prerequisites>
    <maven>3.0.4</maven>
  </prerequisites>
  <licenses>
    <license>
      <name>MIT License</name>
      <url>https://github.com/documentcloud/underscore/raw/master/LICENSE</url>
      <distribution>repo</distribution>
    </license>
  </licenses>


  <scm>
    <connection>scm:git:git://github.com/jszip/underscore-redist.git</connection>
    <developerConnection>scm:git:git@github.com:jszip/underscore-redist.git</developerConnection>
    <url>http://github.com/jszip/underscore-redist/tree/master/</url>
    <tag>underscore-1.2.2</tag>
  </scm>
  <issueManagement>
    <system>github</system>
    <url>http://github.com/jszip/underscore-redist/issues</url>
  </issueManagement>
  <distributionManagement>
    <site>
      <id>github.com</id>
      <url>gitsite:git@github.com/jszip/jszip.github.com.git/redist/underscore</url>
    </site>
  </distributionManagement>

  <build>
    <plugins>
      <plugin>
        <groupId>org.jszip.maven</groupId>
        <artifactId>jszip-maven-plugin</artifactId>
        <version>0.1-alpha-6</version>
        <extensions>true</extensions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>1.7</version>
        <executions>
          <execution>
            <phase>validate</phase>
            <goals>
              <goal>regex-property</goal>
            </goals>
            <configuration>
              <name>underscore-version</name>
              <value>${project.version}</value>
              <regex>^([\d\.]+)(-\d+-)?-SNAPSHOT$</regex>
              <replacement>$1</replacement>
              <failIfNoMatch>false</failIfNoMatch>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>wagon-maven-plugin</artifactId>
        <version>1.0-beta-4</version>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>download-single</goal>
            </goals>
            <configuration>
              <url>https://raw.github.com/documentcloud/underscore/${underscore-version}</url>
              <fromFile>underscore.js</fromFile>
              <toFile>${project.build.outputDirectory}/underscore.js</toFile>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>