org.bidib.jbidib.de.akquinet.jbosscc.maven:image-maven-plugin

Fork of the maven-image-plugin.

Лицензия

Лицензия

Категории

Категории

JBoss Контейнер Application Servers Maven Компиляция и сборка Сеть
Группа

Группа

org.bidib.jbidib.de.akquinet.jbosscc.maven
Идентификатор

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

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

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

1.3
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Fork of the maven-image-plugin.
Ссылка на сайт

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

https://github.com/akuhtz/maven-image-plugin.git
Система контроля версий

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

https://github.com/akuhtz/maven-image-plugin.git

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

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

<plugin>
    <groupId>org.bidib.jbidib.de.akquinet.jbosscc.maven</groupId>
    <artifactId>image-maven-plugin</artifactId>
    <version>1.3</version>
</plugin>

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.0.4
org.easytesting : fest-assert jar 1.4

test (1)

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

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

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

maven-image-plugin

Maven plugin to add text to images during the build

#Usage

<plugin>
    <groupId>org.bidib.jbidib.de.akquinet.jbosscc.maven</groupId>
    <artifactId>image-maven-plugin</artifactId>
    <version>1.1</version>
    <executions>
        <execution>
            <phase>process-resources</phase>
            <goals>
                <goal>add-text</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <targetFormat>png</targetFormat>
        <sourceImage>src/main/resources/icons/splash.png</sourceImage>
        <targetImage>target/classes/icons/splash.png</targetImage>
        <defaults>
            <fontName>Sans Serif</fontName>
            <fontStyle>1</fontStyle>
            <fontSize>10</fontSize>
            <fontColor>BLACK</fontColor>
        </defaults>
        <texts>
            <text>
                <text>${project.version} (${buildNumber})</text>
                <offsetX>200</offsetX>
                <offsetY>10</offsetY>
            </text>
        </texts>
    </configuration>
</plugin>

#Release Build with Maven

  • Don't use the latest version of maven-release-plugin because MRELEASE-875 causes problems.
    I ended up using version 2.3.2 and this worked for me under Windows 7.

  • Add the following to git config:

  git config status.displayCommentPrefix true
  • Add git binaries to your PATH.

  • Use maven-3.0.5

  • Do not use the <gpg.useagent> property. Add the password for the maven-gpg-plugin manually.

  • Steps:

  mvn release:prepare -DdryRun
  mvn deploy // just to make sure deployment works
  
  mvn release:clean
  mvn release:prepare -Dusername=<your_github_username> -Dpassword=<your_password>
  mvn release:perform -Dusername=<your_github_username> -Dpassword=<your_password>

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

Версия
1.3
1.2
1.1
1.0