122 lines
3.0 KiB
XML
122 lines
3.0 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
|
http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>de.hsadmin</groupId>
|
|
<artifactId>hsadmin-parent</artifactId>
|
|
<version>1.0.1</version>
|
|
</parent>
|
|
<artifactId>hsadmin-cli</artifactId>
|
|
<version>1.2.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>HSAdmin-Cli</name>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>de.hsadmin</groupId>
|
|
<artifactId>framework</artifactId>
|
|
<version>1.0.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.xmlrpc</groupId>
|
|
<artifactId>xmlrpc-client</artifactId>
|
|
<version>3.1.3</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>xml-apis</groupId>
|
|
<artifactId>xml-apis</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jline</groupId>
|
|
<artifactId>jline</artifactId>
|
|
<version>2.14.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-cli</groupId>
|
|
<artifactId>commons-cli</artifactId>
|
|
<version>1.4</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>de.hsadmin.jscli.Main</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.vafer</groupId>
|
|
<artifactId>jdeb</artifactId>
|
|
<version>1.5</version>
|
|
<configuration>
|
|
<verbose>true</verbose>
|
|
<dataSet>
|
|
<data>
|
|
<src>${project.build.directory}/${project.build.finalName}-jar-with-dependencies.jar</src>
|
|
<dst>hsscript-full.jar</dst>
|
|
<type>file</type>
|
|
<mapper>
|
|
<type>perm</type>
|
|
<prefix>/usr/local/lib/hostsharing/hsadmin</prefix>
|
|
</mapper>
|
|
</data>
|
|
<data>
|
|
<src>src/deb/bin/hsscript</src>
|
|
<type>file</type>
|
|
<mapper>
|
|
<type>perm</type>
|
|
<prefix>/usr/local/bin</prefix>
|
|
<filemode>755</filemode>
|
|
</mapper>
|
|
</data>
|
|
<data>
|
|
<src>src/deb/etc/hsadmin.properties</src>
|
|
<type>file</type>
|
|
<mapper>
|
|
<type>perm</type>
|
|
<prefix>/etc</prefix>
|
|
</mapper>
|
|
</data>
|
|
</dataSet>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-jdeb</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jdeb</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<finalName>hsscript</finalName>
|
|
</build>
|
|
</project>
|