or.plugin.officeplugin_comet.2.7.0.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 officeplugin_comet Show documentation
Show all versions of officeplugin_comet Show documentation
OfficeFloor plug-in for Comet
<?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.officefloor.plugin</groupId> <artifactId>plugins</artifactId> <version>2.7.0</version> </parent> <artifactId>officeplugin_comet</artifactId> <name>Comet Plug-in</name> <description>OfficeFloor plug-in for Comet</description> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>officeplugin_gwt</artifactId> </dependency> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-user</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-dev</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.gdevelop.gwt</groupId> <artifactId>syncrpc</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <!-- Include additional source and resource directories --> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>src/main/gwt</source> <source>src/main/impl</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <!-- Make the GWT sources available in the jar for clients --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>Copy GWT Comet sources for client compile</id> <phase>process-classes</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <copy todir="${project.build.outputDirectory}"> <fileset dir="${basedir}/src/main/gwt" /> </copy> </target> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>gwt</id> <dependencies> <!-- Make available for compile --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>easymock</groupId> <artifactId>easymock</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.gdevelop.gwt</groupId> <artifactId>syncrpc</artifactId> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <!-- Include test GWT code --> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>gwt-add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>src/test/java</source> </sources> </configuration> </execution> <execution> <id>gwt-add-resources</id> <phase>generate-sources</phase> <goals> <goal>add-resource</goal> </goals> <configuration> <resources> <resource> <directory>src/test/resources</directory> </resource> </resources> </configuration> </execution> </executions> </plugin> <!-- Compile GWT --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> <executions> <execution> <goals> <goal>compile</goal> </goals> <configuration> <module>net.officefloor.plugin.comet.OfficeFloorCometTest</module> <draftCompile>true</draftCompile> <logLevel>TRACE</logLevel> <webappDirectory>${project.build.outputDirectory}/PUBLIC</webappDirectory> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy