Dropwizard Goodies

Insubstantial but useful (and reusable) bits of code for use with Dropwizard services.

Лицензия

Лицензия

Группа

Группа

io.ifar.dw-goodies
Идентификатор

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

dw-goodies
Последняя версия

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

5
Дата

Дата

Тип

Тип

jar
Описание

Описание

Dropwizard Goodies
Insubstantial but useful (and reusable) bits of code for use with Dropwizard services.
Ссылка на сайт

Ссылка на сайт

https://github.com/Multifarious/dw-goodies
Организация-разработчик

Организация-разработчик

Multifarious, Inc.
Система контроля версий

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

https://github.com/Multifarious/dw-goodies

Скачать dw-goodies

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

<!-- https://jarcasting.com/artifacts/io.ifar.dw-goodies/dw-goodies/ -->
<dependency>
    <groupId>io.ifar.dw-goodies</groupId>
    <artifactId>dw-goodies</artifactId>
    <version>5</version>
</dependency>
// https://jarcasting.com/artifacts/io.ifar.dw-goodies/dw-goodies/
implementation 'io.ifar.dw-goodies:dw-goodies:5'
// https://jarcasting.com/artifacts/io.ifar.dw-goodies/dw-goodies/
implementation ("io.ifar.dw-goodies:dw-goodies:5")
'io.ifar.dw-goodies:dw-goodies:jar:5'
<dependency org="io.ifar.dw-goodies" name="dw-goodies" rev="5">
  <artifact name="dw-goodies" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.ifar.dw-goodies', module='dw-goodies', version='5')
)
libraryDependencies += "io.ifar.dw-goodies" % "dw-goodies" % "5"
[io.ifar.dw-goodies/dw-goodies "5"]

Зависимости

provided (2)

Идентификатор библиотеки Тип Версия
io.dropwizard : dropwizard-core jar 0.8.0
io.dropwizard : dropwizard-jdbi jar 0.8.0

test (1)

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

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

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

dw-goodies


This repository collects odds and ends for Dropwizard services that have proven consistently useful.

Setting Up for the Build Number Command

The BuildNumber command requires the following additions to the Maven project that is used to build the Dropwizard service in question.

First, the <scm>...</scm> section of the POM should be filled in, e.g.:

<scm>
  <developerConnection>scm:git:git@github.com:Multifarious/dw-goodies.git</developerConnection>
</scm>

Second, the maven-scm-plugin (provides Git integration), buildnumber-maven-plugin (populates Git SHA into ${buildNumber}), and maven-jar-plugin (puts ${buildNumber} in the JAR manifest) need to all be set up to work together:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-scm-plugin</artifactId>
  <version>1.8.1</version>
  <configuration>
    <connectionType>developerConnection</connectionType>
  </configuration>
</plugin>
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-jar-plugin</artifactId>
  <configuration>
    <archive>
...
    <manifestEntries>
      <Implementation-Build>${buildNumber}</Implementation-Build>
    </manifestEntries>
    </archive>
  </configuration>
</plugin>
<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>buildnumber-maven-plugin</artifactId>
  <version>1.2</version>
  <executions>
    <execution>
      <phase>validate</phase>
      <goals>
        <goal>create</goal>
      </goals>
    </execution>
  </executions>
  <!-- alter these to inlfluence how build numbers are applied/enforced w.r.t. local changes and upstream -->
  <configuration>
    <doCheck>false</doCheck>
    <doUpdate>false</doUpdate>
  </configuration>
</plugin>

Access with Maven

Coordinates

Include the following in your pom.xml:

<dependency>
  <groupId>io.ifar</groupId>
  <artifactId>dw-goodies</artifactId>
  <version>0-SNAPSHOT</version>
</dependency>

Snapshots

Snapshots are available from the following Maven repository:

<repository>
  <id>multifarious-snapshots</id>
  <name>Multifarious, Inc. Snapshot Repository</name>
  <url>http://repository-multifarious.forge.cloudbees.com/snapshot/</url>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
  <releases>
    <enabled>false</enabled>
  </releases>
</repository>

Releases

None as yet, but when there are, they will be published via Maven Central.

License

The license is BSD 2-clause. This information is also present in the LICENSE file and in the pom.xml.

io.ifar.dw-goodies

Multifarious, Inc.

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

Версия
5
4
3
2
1