bootstrap-chosen
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.webjars</groupId> <artifactId>bootstrap-chosen</artifactId> <version>1.0.0-1</version> </dependency>
<?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-chosen</artifactId> <version>1.0.0-1</version> <name>bootstrap-chosen</name> <description>WebJar for bootstrap-chosen (modified to provide JSF support)</description> <url>http://webjars.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <upstream.version>1.0.0</upstream.version> <upstream.url>https://github.com/alxlit/bootstrap-chosen/archive/v${upstream.version}.zip</upstream.url> <destDir>${project.build.outputDirectory}/META-INF/resources/webjars/${project.artifactId}/${project.version}</destDir> <requirejs> { } </requirejs> </properties> <developers> <developer> <id>jamesward</id> <name>James Ward</name> <email>james@jamesward.com</email> </developer> </developers> <licenses> <license> <name>MIT</name> <url>https://en.wikipedia.org/wiki/MIT_License</url> <distribution>repo</distribution> </license> </licenses> <scm> <url>http://github.com/webjars/bootstrap-chosen</url> <connection>scm:git:https://github.com/webjars/bootstrap-chosen.git</connection> <developerConnection>scm:git:https://github.com/webjars/bootstrap-chosen.git</developerConnection> <tag>bootstrap-chosen-1.0.0-1</tag> </scm> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> <executions> <execution> <phase>process-resources</phase> <goals><goal>run</goal></goals> <configuration> <target> <echo message="download archive" /> <get src="${upstream.url}" dest="${project.build.directory}/${project.artifactId}.zip" /> <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-chosen-${upstream.version}" /> </move> </target> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> <version>1.5.3</version> <executions> <execution> <phase>prepare-package</phase> <goals> <goal>replace</goal> </goals> </execution> </executions> <configuration> <includes> <include> ${project.build.directory}/classes/META-INF/resources/webjars/bootstrap-chosen/*/*.less </include> </includes> <inputFilePattern>(.*).less</inputFilePattern> <outputFilePattern>$1-jsf.less</outputFilePattern> <replacements> <replacement> <token>@chosen-sprite-path: "([a-zA-Z_0-9-\.]*)";</token> <value>@chosen-sprite-path: "#{resource['webjars:bootstrap-chosen/${project.version}/$1']}";</value> </replacement> <replacement> <token>@chosen-sprite-retina-path: "([a-zA-Z_0-9-\.@]*)";</token> <value>@chosen-sprite-retina-path: "#{resource['webjars:bootstrap-chosen/${project.version}/$1']}";</value> </replacement> <replacement> <token>@import "bootstrap-chosen-variables.less";</token> <value>@import "bootstrap-chosen-variables-jsf.less";</value> </replacement> </replacements> <regex>true</regex> <regexFlags> <regexFlag>CASE_INSENSITIVE</regexFlag> </regexFlags> <unescape>true</unescape> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.1</version> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.5</version> <extensions>true</extensions> <configuration> <serverId>sonatype-nexus-staging</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> </project>