All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources.pom.xml Maven / Gradle / Ivy

<?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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>${groupId}</groupId>
    <artifactId>${artifactId}</artifactId>
    <version>${version}</version>

    <name>${project.artifactId}</name>
    <description>TrueZIP Path Application Demo</description>

    <properties>
        <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
        <maven.compiler.source>1.7</maven.compiler.source>
        <maven.compiler.target>1.7</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <scala.version>${scala-version}</scala.version>
        <truezip.version>${truezip-version}</truezip.version>
    </properties>

    <dependencies>
        <!-- A TrueZIP application typically has a compile time dependency on
             one or more of the modules TrueZIP File* or TrueZIP Path.
             Note that TrueZIP Path already has a dependency on TrueZIP File.
             -->
        <!--dependency>
            <groupId>de.schlichtherle.truezip</groupId>
            <artifactId>truezip-file</artifactId>
            <version>${truezip.version}</version>
        </dependency-->
        <dependency>
            <groupId>de.schlichtherle.truezip</groupId>
            <artifactId>truezip-path</artifactId>
            <version>${truezip.version}</version>
        </dependency>

        <!-- Extension module for monitoring and management with JMX and
             java.util.logging.
             This module is designed for testing purposes only.
             It should not be used in production environments because of its
             performance impact.
             -->
        <!--dependency>
            <groupId>de.schlichtherle.truezip</groupId>
            <artifactId>truezip-extension-jmx-jul</artifactId>
            <version>${truezip.version}</version>
            <scope>runtime</scope>
        </dependency-->

        <!-- This runtime dependency constrains the number of concurrently
             mounted archive file systems in the TrueZIP Kernel to save some
             heap space. -->
        <!--dependency>
            <groupId>de.schlichtherle.truezip</groupId>
            <artifactId>truezip-extension-pace</artifactId>
            <version>${truezip.version}</version>
            <scope>runtime</scope>
        </dependency-->

        <!-- This optional dependency provides some nice swing classes. -->
        <!--dependency>
            <groupId>de.schlichtherle.truezip</groupId>
            <artifactId>truezip-swing</artifactId>
            <version>${truezip.version}</version>
        </dependency-->

        <!-- A TrueZIP application typically has a dependency on one or more
             file system driver modules for accessing their respective file
             system types.
             When using the client APIs, file system drivers get automatically
             enumerated on the class path at run time by a service locator
             singleton, so adding a run time dependency is sufficient for
             accessing the respective file system types.
             These sample applications have some compile time dependencies
             however because they directly configure and inject some drivers.
             -->

        <!-- This driver provides access to the following URI schemes:
             file: platform file system.
             This dependency is already added by the modules TrueZIP File*.
             -->
        <!--dependency>
            <groupId>de.schlichtherle.truezip</groupId>
            <artifactId>truezip-driver-file</artifactId>
            <version>${truezip.version}</version>
            <scope>runtime</scope>
        </dependency-->

        <!-- This driver provides access to the following URI schemes:
             http|https: Hyper Text Transport Protocol.
             You cannot access these schemes via the TrueZIP File* API,
             you need to use the TrueZIP Path API instead.
             -->
        <dependency>
            <groupId>de.schlichtherle.truezip</groupId>
            <artifactId>truezip-driver-http</artifactId>
            <version>${truezip.version}</version>
            <scope>runtime</scope>
        </dependency>

        <!-- This driver provides access to the following URI schemes and
             archive file suffixes:
             tar: TAR file format.
             tgz|tar.gz: GZIP compressed TAR file format.
             tb2|tbz|tar.bz2: BZIP2 compressed TAR file format.
             -->
        <dependency>
            <groupId>de.schlichtherle.truezip</groupId>
            <artifactId>truezip-driver-tar</artifactId>
            <version>${truezip.version}</version>
            <scope>runtime</scope>
        </dependency>

        <!-- This driver provides access to the following URI schemes and
             archive file suffixes:
             tzp|zip.rae|zip.raes: RAES encrypted ZIP file format.
             -->
        <dependency>
            <groupId>de.schlichtherle.truezip</groupId>
            <artifactId>truezip-driver-tzp</artifactId>
            <version>${truezip.version}</version>
            <scope>runtime</scope>
        </dependency>

        <!-- This driver provides access to the following URI schemes and
             archive file suffixes:
             zip: ZIP file format.
             ear|jar|war: JAR file format.
             odt|ott|odg|otg|odp|otp|ods|ots|odc|otc|odi|oti|odf|otf|odm|oth|odb: Open Document File format.
             exe: Self extracting ZIP file format.
             -->
        <dependency>
            <groupId>de.schlichtherle.truezip</groupId>
            <artifactId>truezip-driver-zip</artifactId>
            <version>${truezip.version}</version>
            <!--scope>runtime</scope-->
        </dependency>

        <dependency>
            <groupId>org.scala-lang</groupId>
            <artifactId>scala-library</artifactId>
            <version>${scala.version}</version>
        </dependency>

        <!-- This is only required for the Scala compiler.
             If you are not using Scala in your project, then you can remove
             this dependency. -->
        <dependency>
            <groupId>com.google.code.findbugs</groupId>
            <artifactId>annotations</artifactId>
            <version>2.0.1</version>
            <optional>true</optional>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>net.alchim31.maven</groupId>
                <artifactId>scala-maven-plugin</artifactId>
                <version>3.1.0</version>
                <executions>
                    <execution>
                        <id>scala-compile-first</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>scala-test-compile</id>
                        <phase>process-test-resources</phase>
                        <goals>
                            <goal>testCompile</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <!--jvmArgs>
                        <jvmArg>-Xss2m</jvmArg>
                    </jvmArgs-->
                    <args>
                        <!--arg>-g</arg-->
                        <arg>-unchecked</arg>
                        <arg>-deprecation</arg>
                    </args>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.0</version>
                <configuration>
                    <!-- For NetBeans. -->
                    <showDeprecation>${maven.compiler.showDeprecation}</showDeprecation>
                    <source>${maven.compiler.source}</source>
                    <target>${maven.compiler.target}</target>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy