sejda-console
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.sejda</groupId> <artifactId>sejda-console</artifactId> <version>3.2.85</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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> <url>http://www.sejda.org</url> <artifactId>sejda-console</artifactId> <packaging>jar</packaging> <name>sejda console</name> <description>The sejda-console is a shell interface for Sejda to perform pdf manipulation tasks such as merge or split through the command line.</description> <parent> <groupId>org.sejda</groupId> <artifactId>sejda-parent</artifactId> <version>3.2.85</version> <relativePath>../pom.xml</relativePath> </parent> <profiles> <profile> <id>release</id> <activation> <property> <name>env.TRAVIS</name> <value>true</value> </property> </activation> <build> <plugins> <!-- creates the binary distributable sejda-console*-bin.zip --> <plugin> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <id>sejda-console-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <descriptors> <descriptor>src/assemble/bin-assembly.xml</descriptor> </descriptors> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> <version>1.5.3</version> <executions> <execution> <phase>package</phase> <goals> <goal>replace</goal> </goals> </execution> </executions> <configuration> <file>${project.build.directory}/assembled/bin/sejda-console</file> <outputFile>${project.build.directory}/deb/sejda-console</outputFile> <regex>false</regex> <replacements> <replacement> <token>REPO=</token> <value>REPO=/usr/share/sejda-console</value> </replacement> <replacement> <token>"$BASEDIR"/etc</token> <value>/etc/sejda-console</value> </replacement> </replacements> </configuration> </plugin> <plugin> <artifactId>jdeb</artifactId> <groupId>org.vafer</groupId> <version>1.5</version> <executions> <execution> <phase>package</phase> <goals> <goal>jdeb</goal> </goals> <configuration> <deb>[[buildDir]]/[[artifactId]]_[[version]]-1_all.[[extension]]</deb> <dataSet> <data> <src>${project.build.directory}/deb/sejda-console</src> <dst>usr/bin/sejda-console</dst> <type>file</type> <mapper> <type>perm</type> <filemode>755</filemode> </mapper> </data> <data> <src>doc</src> <type>directory</type> <mapper> <type>perm</type> <prefix>/usr/share/doc/${project.artifactId}</prefix> <filemode>644</filemode> <dirmode>755</dirmode> </mapper> </data> <data> <src>${project.build.directory}/assembled/lib</src> <type>directory</type> <mapper> <type>perm</type> <prefix>/usr/share/${project.artifactId}</prefix> <filemode>644</filemode> <dirmode>755</dirmode> </mapper> </data> <data> <src>${project.build.directory}/assembled/etc</src> <type>directory</type> <conffile>true</conffile> <mapper> <type>perm</type> <prefix>/etc/${project.artifactId}</prefix> <filemode>644</filemode> <dirmode>755</dirmode> </mapper> </data> <data> <type>link</type> <linkName>/usr/bin/sejda</linkName> <linkTarget>sejda-console</linkTarget> <symlink>true</symlink> <mapper> <type>perm</type> <filemode>755</filemode> </mapper> </data> <data> <src>${project.basedir}/src/deb/doc/changelog.Debian.gz</src> <dst>/usr/share/doc/${project.artifactId}/changelog.Debian.gz</dst> <type>file</type> </data> <data> <src>${project.basedir}/src/deb/doc/copyright</src> <dst>/usr/share/doc/${project.artifactId}/copyright</dst> <type>file</type> </data> </dataSet> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>optionalFonts</id> <dependencies> <dependency> <groupId>org.sejda</groupId> <artifactId>sejda-optional-fonts</artifactId> <version>${project.version}</version> </dependency> </dependencies> </profile> </profiles> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> <configuration> <archive> <manifestEntries> <Automatic-Module-Name>org.sejda.cli</Automatic-Module-Name> </manifestEntries> </archive> </configuration> </plugin> <!-- plugin that assembles an executable form for the application --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>appassembler-maven-plugin</artifactId> <version>1.10</version> <executions> <execution> <phase>package</phase> <goals> <goal>assemble</goal> </goals> </execution> </executions> <configuration> <!-- make the lib folder look nicer --> <repositoryLayout>flat</repositoryLayout> <repositoryName>lib</repositoryName> <!-- set alternative assemble directory --> <assembleDirectory>${project.build.directory}/assembled</assembleDirectory> <!-- Copy the contents from "/src/main/config" to the target configuration directory in the assembled application --> <copyConfigurationDirectory>true</copyConfigurationDirectory> <!-- Include the target configuration directory in the beginning of the classpath declaration in the bin scripts --> <includeConfigurationDirectoryInClasspath>true</includeConfigurationDirectoryInClasspath> <!-- Default JVM memory args --> <extraJvmArguments>-Dfile.encoding=UTF8 -Xmx1024M</extraJvmArguments> <programs> <program> <mainClass>org.sejda.cli.Main</mainClass> <id>sejda-console</id> </program> </programs> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.sejda</groupId> <artifactId>sejda-conversion</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.sejda</groupId> <artifactId>sejda-core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.sejda</groupId> <artifactId>sejda-model</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.sejda</groupId> <artifactId>sejda-sambox</artifactId> <version>${project.version}</version> <exclusions> <exclusion> <artifactId>poi-ooxml</artifactId> <groupId>org.apache.poi</groupId> </exclusion> <exclusion> <artifactId>commons-logging</artifactId> <groupId>commons-logging</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jul-to-slf4j</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>com.lexicalscope.jewelcli</groupId> <artifactId>jewelcli</artifactId> <version>0.8.2</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${logback.version}</version> </dependency> <dependency> <groupId>org.sejda</groupId> <artifactId>sambox</artifactId> <version>${sambox.version}</version> <scope>compile</scope> </dependency> <!-- test dependencies --> <dependency> <groupId>org.sejda</groupId> <artifactId>sejda-model</artifactId> <version>${project.version}</version> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>org.sejda</groupId> <artifactId>sejda-core</artifactId> <version>${project.version}</version> <type>test-jar</type> <scope>test</scope> </dependency> </dependencies> </project>