Maven Repository - POM file for Network bootstrap-datepicker 1.2.0 1.2.0

Summary

Bootstrap Datepicker.

WebJar for Bootstrap Datepicker.

Declaration

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

<dependency>
   <groupId>org.webjars</groupId>
   <artifactId>bootstrap-datepicker</artifactId>
   <version>1.2.0</version>
</dependency>

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

License

Name:Apache License
URL: https://github.com/eternicode/bootstrap-datepicker/blob/master/LICENSE.

Plugin

The following plugins are used in the bootstrap-datepicker-1.2.0.jar

  1. maven-antrun-plugin
  2. maven-release-plugin
  3. wagon-maven-plugin




POM File Source

Here is the content of the POM file.

<?xml version="1.0" encoding="UTF-8"?>
<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.oss</groupId>
        <artifactId>oss-parent</artifactId>
        <version>7</version>
    </parent>

    <packaging>jar</packaging>
    <groupId>org.webjars</groupId>
    <artifactId>bootstrap-datepicker</artifactId>
    <version>1.2.0</version>
    <name>Bootstrap Datepicker</name>
    <description>WebJar for Bootstrap Datepicker</description>
    <url>http://webjars.org</url>

    <licenses>
        <license>
            <name>Apache License</name>
            <url>https://github.com/eternicode/bootstrap-datepicker/blob/master/LICENSE</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <scm>
        <url>http://github.com/webjars/${project.artifactId}</url>
        <connection>scm:git:https://github.com/webjars/${project.artifactId}.git</connection>
        <developerConnection>scm:git:https://github.com/webjars/${project.artifactId}.git</developerConnection>
        <tag>bootstrap-datepicker-1.2.0</tag>
    </scm>

    
    
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <upstreamVersion>1.2.0</upstreamVersion>
        <sourceUrl>https://github.com/eternicode/bootstrap-datepicker/archive</sourceUrl>
        <destDir>${project.build.outputDirectory}/META-INF/resources/webjars/${project.artifactId}/${upstreamVersion}</destDir>
    </properties>
    
    <dependencies>
      <dependency>
        <groupId>org.webjars</groupId>
        <artifactId>bootstrap</artifactId>
        <version>[2.1.1, 3.0.0)</version>
      </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>wagon-maven-plugin</artifactId>
                <version>1.0-beta-4</version>
                <executions>
                    <execution>
                        <phase>process-resources</phase>
                        <goals><goal>download-single</goal></goals>
                        <configuration>
                            <url>${sourceUrl}</url>
                            <fromFile>${upstreamVersion}.zip</fromFile>
                            <toFile>${project.build.directory}/${project.artifactId}.zip</toFile>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.7</version>
                <executions>
                    <execution>
                        <phase>process-resources</phase>
                        <goals><goal>run</goal></goals>
                        <configuration>
                            <target>
                                <echo message="unzip archive" />
                                <unzip src="${project.build.directory}/${project.artifactId}.zip" dest="${project.build.directory}" />
                                <echo message="moving resources" />
                                <move todir="${destDir}">
                                    <fileset dir="${project.build.directory}/bootstrap-datepicker-${upstreamVersion}" excludes="tests/,build/" />
                                </move>
                            </target>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <version>2.3.2</version>
            </plugin>
        </plugins>
    </build>

</project>