aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2011-02-14 17:51:39 +0000
committerManolo Carrasco <manolo@apache.org>2011-02-14 17:51:39 +0000
commit583dc3fed4f79bd7fc8a944a1b82b24257ec47f6 (patch)
treef188229f3771239b4272c0ea1edd339f24c30e0a
parent036bd1f7938afc30fe4243dbf347c083dfa5bf63 (diff)
downloadgwtquery-583dc3fed4f79bd7fc8a944a1b82b24257ec47f6.tar.gz
gwtquery-583dc3fed4f79bd7fc8a944a1b82b24257ec47f6.zip
Produce a gwt artifact with different classifier for gwt-2.2.0. Fixes issue#66
-rw-r--r--gwtquery-core-2.2.0/pom.xml80
-rw-r--r--pom.xml3
2 files changed, 82 insertions, 1 deletions
diff --git a/gwtquery-core-2.2.0/pom.xml b/gwtquery-core-2.2.0/pom.xml
new file mode 100644
index 00000000..b7c890f5
--- /dev/null
+++ b/gwtquery-core-2.2.0/pom.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>com.googlecode.gwtquery</groupId>
+ <artifactId>gwtquery-project</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <description>Generates an artifact compiled with a concrete gwt version specified in the artifactId</description>
+ <artifactId>2.2.0</artifactId>
+ <packaging>jar</packaging>
+ <name>Gwt Query Core API for gwt-${artifactId}</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>com.googlecode.gwtquery</groupId>
+ <artifactId>gwtquery</artifactId>
+ <version>${version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-user</artifactId>
+ <version>${artifactId}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.gwt</groupId>
+ <artifactId>gwt-dev</artifactId>
+ <version>${artifactId}</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>gwtquery-${version}-${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals><goal>unpack-dependencies</goal></goals>
+ <phase>generate-resources</phase>
+ <configuration>
+ <includeGroupIds>com.googlecode.gwtquery,com.googlecode.gwtquery.plugins</includeGroupIds>
+ <includeArtifactIds>gwtquery</includeArtifactIds>
+ <excludeTransitive>true</excludeTransitive>
+ <includes>**/*.java,**/*.xml,**/*.html,**/*.css,**/*.jpg,**/*.png,**/*.gif</includes>
+ <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>add-sources</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>${project.build.directory}/generated-resources</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ <resources>
+ <resource>
+ <directory>${project.build.directory}/generated-resources/</directory>
+ </resource>
+ </resources>
+ </build>
+</project>
diff --git a/pom.xml b/pom.xml
index d7032e12..7af88b3e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,6 +60,7 @@
<modules>
<module>gwtquery-core</module>
+ <module>gwtquery-core-2.2.0</module>
<module>samples</module>
<!-- <module>devtest</module> -->
</modules>
@@ -156,7 +157,7 @@
</repositories>
<properties>
- <gwtversion>2.2.0</gwtversion>
+ <gwtversion>2.1.1</gwtversion>
<gwt.loglevel>INFO</gwt.loglevel>
<gwt.outputstyle>OBF</gwt.outputstyle>
<gwt.modulesuffix></gwt.modulesuffix>