ICNS Maven Plugin

A pure Java implementation of tools for working with Apple Icon Image format icons.

Лицензия

Лицензия

Категории

Категории

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

Группа

com.github.gino0631
Идентификатор

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

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

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

1.1
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

ICNS Maven Plugin
A pure Java implementation of tools for working with Apple Icon Image format icons.

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

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

<plugin>
    <groupId>com.github.gino0631</groupId>
    <artifactId>icns-maven-plugin</artifactId>
    <version>1.1</version>
</plugin>

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
com.github.gino0631 : icns-core jar 1.1
org.apache.maven : maven-plugin-api jar 3.2.5

provided (1)

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

test (4)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.3.0
org.apache.maven : maven-core jar 3.2.5
org.apache.maven : maven-compat jar 3.2.5
junit : junit jar 4.12

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

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

ICNS

Build Status Maven Central

A pure Java implementation of tools for working with Apple Icon Image format icons.

Requirements

  • Maven 3
  • Java 8

Usage

The tools consist of a Java library and plugins for build systems (currently, only Maven is supported).

Maven plugin

The first step is to add the plugin to your project:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
        <plugin>
          <groupId>com.github.gino0631</groupId>
          <artifactId>icns-maven-plugin</artifactId>
          <version>...</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>com.github.gino0631</groupId>
        <artifactId>icns-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>create-macosx-icons</id>
            <phase>generate-resources</phase>
            <goals><goal>icns</goal></goals>
            <configuration>
              <outputFile>${project.build.directory}/product/macosx-x64/Applications/${product.name}.app/Contents/Resources/Main.icns</outputFile>
              <icons>
                <icon>icons/main_window_128.png</icon>
              </icons>
            </configuration>
          </execution>
        </executions>
      </plugin>
    ...
    </plugins>
    ...
  </build>
  ...
</project>

It is necessary to specify icons and outputFile parameters, which define source icon set to use, and an ICNS file to produce.

Standalone library

Add a dependency on com.github.gino0631:icns-core to your project, and use IcnsIcons, IcnsBuilder, and IcnsParser classes.

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

Версия
1.1
1.0