aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2011-05-03 10:30:39 +0000
committerManolo Carrasco <manolo@apache.org>2011-05-03 10:30:39 +0000
commit1005e171ca903bb02ad3b0e946ca3461e970f4fe (patch)
tree74bc2a31600660c3561783ee2e8053cfb968ef1d
parent85c816cf7695882bf68b0e7feb1195c0d1e73981 (diff)
downloadgwtquery-1005e171ca903bb02ad3b0e946ca3461e970f4fe.tar.gz
gwtquery-1005e171ca903bb02ad3b0e946ca3461e970f4fe.zip
add classifier profiles to samples
-rw-r--r--pom.xml19
-rw-r--r--samples/pom.xml12
2 files changed, 23 insertions, 8 deletions
diff --git a/pom.xml b/pom.xml
index e1539136..0745a708 100644
--- a/pom.xml
+++ b/pom.xml
@@ -161,16 +161,33 @@
<properties>
<gwtversion>2.2.0</gwtversion>
+ <gwtmaven>2.2.0</gwtmaven>
+ <gqueryclassifier></gqueryclassifier>
<gwt.loglevel>INFO</gwt.loglevel>
<gwt.outputstyle>OBF</gwt.outputstyle>
<gwt.modulesuffix />
- <gwtmaven>2.2.0</gwtmaven>
<repoId>sonatype-nexus-staging</repoId>
<repoUrl>http://oss.sonatype.org/service/local/staging/deploy/maven2</repoUrl>
</properties>
<profiles>
<profile>
+ <id>2.1.0</id>
+ <properties>
+ <gwtversion>2.1.0</gwtversion>
+ <gwtmaven>2.1.0</gwtmaven>
+ <gqueryclassifier>2.1.0</gqueryclassifier>
+ </properties>
+ </profile>
+ <profile>
+ <id>2.0.1</id>
+ <properties>
+ <gwtversion>2.0.1</gwtversion>
+ <gwtmaven>1.1</gwtmaven>
+ <gqueryclassifier>2.0.1</gqueryclassifier>
+ </properties>
+ </profile>
+ <profile>
<id>prod</id>
<properties>
<repoUrl>http://oss.sonatype.org/service/local/staging/deploy/maven2</repoUrl>
diff --git a/samples/pom.xml b/samples/pom.xml
index 905407af..38de5a62 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -1,6 +1,4 @@
-<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">
+<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>com.googlecode.gwtquery</groupId>
@@ -16,20 +14,20 @@
<groupId>${groupId}</groupId>
<artifactId>gwtquery</artifactId>
<version>${version}</version>
- <!-- <classifier>2.0.1</classifier> -->
+ <classifier>${gqueryclassifier></classifier>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
- <version>2.0.1</version>
+ <version>${gwtversion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
- <version>2.0.1</version>
+ <version>${gwtversion}</version>
<scope>provided</scope>
</dependency>
</dependencies>
@@ -38,7 +36,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
- <version>1.1</version>
+ <version>${gwtmaven}</version>
<configuration>
<logLevel>${gwt.loglevel}</logLevel>
<style>${gwt.outputstyle}</style>