webjars-maven-plugin Maven Mojo

Manage WebJars from the command line.

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

org.webjars
Идентификатор

Идентификатор

webjars-maven-plugin
Последняя версия

Последняя версия

0.2.0
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

webjars-maven-plugin Maven Mojo
Manage WebJars from the command line.
Система контроля версий

Система контроля версий

http://github.com/webjars/webjars-maven-plugin

Скачать webjars-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>org.webjars</groupId>
    <artifactId>webjars-maven-plugin</artifactId>
    <version>0.2.0</version>
</plugin>

Зависимости

compile (7)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.0.4
org.codehaus.plexus : plexus-utils jar 3.0.10
com.github.kevinsawicki : http-request jar 5.4
com.google.code.gson : gson jar 2.2.4
org.apache.maven : maven-core jar 3.0.4
org.sonatype.sisu : sisu-guava jar 0.11.1
org.apache.commons : commons-exec jar 1.1

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.2

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

Модули Проекта

Данный проект не имеет модулей.

webjars-maven-plugin

Makes WebJars super-easy to find and install from the command line.

Prerequisites

Requires Java 5 and Maven 3.0.4.

Installation

Native

Download the latest release. Unpack it somewhere and add the bin folder to your path. You can now run webjars list jquery.

Maven

To invoke the plugin with the mvn webjars:<goal> shortcut, you must either add the plugin to Maven's settings.xml or to your project's pom.xml. If you do neither, you must use mvn org.webjars:webjars-maven-plugin:<goal>.

Global

In settings.xml (in $USER_HOME/.m2 by default), add the following line to the pluginGroups element (more info):

<pluginGroup>org.webjars</pluginGroup>

The shortcut is now available globally.

Project-specific

In your project's POM, add the plugin to the plugins element:

<plugin>
  <groupId>org.webjars</groupId>
  <artifactId>webjars-maven-plugin</artifactId>
  <version>1.0.0-SNAPSHOT</version>
</plugin>

The shortcut is now available in the project's directory

Goals

list

Lists all available WebJars. Can be used from any directory.

The optional webjar parameter filters the results.

webjars list or mvn webjars:list

webjars list jquery or mvn webjars:list -Dwebjar=jquery

install

Adds a webjar to your dependencies.

The required webjar parameter specifies which WebJar to install. The format is: <name>[:<version]. If there is no version, the latest version is used.

webjars install jquery or mvn webjars:install -Dwebjar=jquery

webjars install jquery:1.10.1 or mvn webjars:install -Dwebjar=jquery:1.10.1

License

webjars-maven-plugin is licensed under the Apache v2.0 License.

org.webjars

WebJars

Web Libraries as JAR Files

Версии библиотеки

Версия
0.2.0
0.1.0