motor

Motor is a Java application launcher, simplify the start and stop grace of Java applications.

Лицензия

Лицензия

Группа

Группа

com.dinstone.motor
Идентификатор

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

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

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

1.2.0
Дата

Дата

Тип

Тип

pom
Описание

Описание

motor
Motor is a Java application launcher, simplify the start and stop grace of Java applications.
Ссылка на сайт

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

https://github.com/dinstone/motor.git
Организация-разработчик

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

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

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

https://github.com/dinstone/motor.git

Скачать motor

Имя Файла Размер
motor-1.2.0.pom 5 KB
Обзор

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

<!-- https://jarcasting.com/artifacts/com.dinstone.motor/motor/ -->
<dependency>
    <groupId>com.dinstone.motor</groupId>
    <artifactId>motor</artifactId>
    <version>1.2.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.dinstone.motor/motor/
implementation 'com.dinstone.motor:motor:1.2.0'
// https://jarcasting.com/artifacts/com.dinstone.motor/motor/
implementation ("com.dinstone.motor:motor:1.2.0")
'com.dinstone.motor:motor:pom:1.2.0'
<dependency org="com.dinstone.motor" name="motor" rev="1.2.0">
  <artifact name="motor" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.dinstone.motor', module='motor', version='1.2.0')
)
libraryDependencies += "com.dinstone.motor" % "motor" % "1.2.0"
[com.dinstone.motor/motor "1.2.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

  • motor-launcher
  • motor-scripts
  • motor-maven-plugin

Motor

Motor is a Java application launcher toolkit, that include a launcher and a maven plugin, simplify application development, packaging, deployment, elegant start and stop the application.

How

we can add motor plugin for the maven project,then execute: mvn clean package.

<plugins>
	   <plugin>
            <groupId>com.dinstone.motor</groupId>
            <artifactId>motor-maven-plugin</artifactId>
            <version>1.2.0</version>
            <configuration>
                <includeBaseDirectory>true</includeBaseDirectory>
                <launcher>
                    <properties>
                        <property>
                            <name>Xmn</name>
                            <value>128m</value>
                        </property>
                        <property>
                            <name>Xms</name>
                            <value>1g</value>
                        </property>
                        <property>
                            <name>Xmx</name>
                            <value>1g</value>
                        </property>
                        <property>
                            <name>launcher.listen.enabled</name>
                            <value>true</value>
                        </property>
                        <property>
                            <name>launcher.listen.port</name>
                            <value>4444</value>
                        </property>
                    </properties>
                </launcher>
                <application>
                    <activator>com.dinstone.grape.server.ApplicationActivator</activator>
                    <configs>
                        <config>
                            <directory>src/main/resources</directory>
                        </config>
                    </configs>
                    <resources>
                        <resource>
                            <directory>webroot</directory>
                        </resource>
                    </resources>
                </application>
            </configuration>
            <executions>
                <execution>
                    <id>launcher-package</id>
                    <phase>package</phase>
                    <goals>
                        <goal>publish</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
</plugins>

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

Версия
1.2.0
1.1.0
1.0.0