]> source.dussan.org Git - gwtquery.git/commitdiff
configure deploy urls for production
authorManolo Carrasco <manolo@apache.org>
Mon, 2 May 2011 10:11:37 +0000 (10:11 +0000)
committerManolo Carrasco <manolo@apache.org>
Mon, 2 May 2011 10:11:37 +0000 (10:11 +0000)
gwtquery-core-2.2.0/pom.xml
pom.xml

index b5071d63fd5780639c7a714fae9a17e77f49dde6..d5a8520a81560457d19e9bbdc679b57cc85e22ac 100644 (file)
@@ -55,7 +55,7 @@
               <version>${version}</version>
               <classifier>${artifactId}</classifier>
               <generatePom>true</generatePom>
-              <uniqueVersion>false</uniqueVersion>
+              <uniqueVersion>${repoUniqueVers}</uniqueVersion>
             </configuration>
           </execution>
         </executions>
diff --git a/pom.xml b/pom.xml
index ec0b0b437be18251050dfbb8e3115e0c72cfe3ae..1fd179689e5438725c7f874038338386cc96aea7 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <gwtmaven>2.1.0-1</gwtmaven>
         <repoUrl>https://oss.sonatype.org/content/repositories/snapshots</repoUrl>
         <repoId>sonatype-nexus-snapshots</repoId>
+        <repoUniqueVers>false</repoUniqueVers>
     </properties>
 
     <profiles>
+        <profile>
+           <id>prod</id>
+           <properties>
+              <repoId>sonatype-nexus-staging</repoId>
+              <repoUrl>http://oss.sonatype.org/service/local/staging/deploy/maven2</repoUrl>
+              <repoUniqueVers>true</repoUniqueVers>
+           </properties>
+        </profile>
         <profile>
             <id>dev</id>
             <properties>