r.xapi-gwt.0.5.source-code.pom.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xapi-gwt Show documentation
Show all versions of xapi-gwt Show documentation
This module exists solely to package all other gwt modules into a single
uber jar. This makes deploying to non-mavenized targets much easier.
Of course, you would be wise to inherit your dependencies individually;
the uber jar is intended for projects like collide,
which have complex configuration, and adding many jars would be a pain.
The newest version!
<?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> <parent> <groupId>net.wetheinter</groupId> <artifactId>xapi-gwt-parent</artifactId> <version>0.5</version> </parent> <!-- Standalone gwt module; runs all gwt tests, and builds uber jar. Deferring tests until the dist module allows all gwt source jars to compile quickly, but ensures that any module dependent on a working distribution gets a working jar. --> <artifactId>xapi-gwt</artifactId> <packaging>jar</packaging> <name>XApi - Gwt uber jar</name> <url>WeTheInter.net</url> <description> This module exists solely to package all other gwt modules into a single uber jar. This makes deploying to non-mavenized targets much easier. Of course, you would be wise to inherit your dependencies individually; the uber jar is intended for projects like collide, which have complex configuration, and adding many jars would be a pain. </description> <properties> </properties> <dependencies> <dependency> <groupId>${gwt.groupId}</groupId> <artifactId>gwt-dev</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>net.wetheinter</groupId> <artifactId>xapi-dev-source</artifactId> </dependency> <dependency> <groupId>net.wetheinter</groupId> <artifactId>xapi-dev-source</artifactId> <classifier>sources</classifier> </dependency> <dependency> <groupId>net.wetheinter</groupId> <artifactId>xapi-core-reflect</artifactId> <classifier>sources</classifier> </dependency> <dependency> <groupId>net.wetheinter</groupId> <artifactId>xapi-elemental</artifactId> </dependency> <dependency> <groupId>net.wetheinter</groupId> <artifactId>xapi-gwt-inject</artifactId> </dependency> <dependency> <groupId>net.wetheinter</groupId> <artifactId>xapi-gwt-model</artifactId> </dependency> <dependency> <groupId>net.wetheinter</groupId> <artifactId>xapi-gwt-collect</artifactId> </dependency> <dependency> <groupId>net.wetheinter</groupId> <artifactId>xapi-gwt-process</artifactId> </dependency> <dependency> <groupId>net.wetheinter</groupId> <artifactId>xapi-gwt-io</artifactId> </dependency> <dependency> <groupId>net.wetheinter</groupId> <artifactId>xapi-gwtc-api</artifactId> </dependency> <!-- Yes, we're including gwt-test as compile dependency; it goes in the uber-jar with everything else. --> <dependency> <groupId>net.wetheinter</groupId> <artifactId>xapi-gwt-test</artifactId> <exclusions> <exclusion> <groupId>junit</groupId> <artifactId>junit</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>${gwt.groupId}</groupId> <artifactId>gwt-user</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <!-- Builds our uber-jar of "everything a gwt compile needs --> <artifactId>maven-shade-plugin</artifactId> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <includeDependencySources>true</includeDependencySources> <includeTransitiveDependencySources>true</includeTransitiveDependencySources> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <goals> <goal>test-jar</goal> </goals> <configuration> <!-- Prevent duplicate warnings by changing intermediate jar name --> <finalName>${project.artifactId}-${project.version}-tmp</finalName> </configuration> </execution> </executions> </plugin> <plugin> <!-- Runs all gwt tests before building uber jar. --> <artifactId>maven-surefire-plugin</artifactId> <configuration> <additionalClasspathElements> <additionalClasspathElement>${project.build.sourceDirectory}</additionalClasspathElement> <additionalClasspathElement>${project.build.testSourceDirectory}</additionalClasspathElement> </additionalClasspathElements> <useManifestOnlyJar>false</useManifestOnlyJar> <forkCount>1.5C</forkCount> <systemProperties> <property> <name>gwt.args</name> <value>-noincremental -nodevMode -ea -userAgents gecko1_8 -out ${project.build.directory}/www-test</value> </property> </systemProperties> </configuration> </plugin> </plugins> </build> </project>