]> source.dussan.org Git - gwtquery.git/commitdiff
Change in deploy phase of artifact for 2.2.0
authorManolo Carrasco <manolo@apache.org>
Tue, 15 Mar 2011 18:11:15 +0000 (18:11 +0000)
committerManolo Carrasco <manolo@apache.org>
Tue, 15 Mar 2011 18:11:15 +0000 (18:11 +0000)
gwtquery-core-2.2.0/pom.xml
pom.xml

index 61a3e7907598d8a28d2a3c4e5907be7c1f0cf08d..b5071d63fd5780639c7a714fae9a17e77f49dde6 100644 (file)
         <artifactId>maven-deploy-plugin</artifactId>
         <executions>
           <execution>
-            <phase>install</phase>
+            <phase>deploy</phase>
             <goals>
               <goal>deploy-file</goal>
             </goals>
             <configuration>
               <file>${project.build.directory}/gwtquery-${version}-${artifactId}.jar</file>
-              <repositoryId>sonatype-nexus-snapshots</repositoryId>
-              <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+              <repositoryId>${repoId}</repositoryId>
+              <url>${repoUrl}</url>
               <packaging>jar</packaging>
               <artifactId>gwtquery</artifactId>
               <groupId>${groupId}</groupId>
diff --git a/pom.xml b/pom.xml
index 5c7df160d9020844f92f1b56d38e0ddf6827cbd4..c6e2a1b008fcd74bad2f7f97cbee73001541770a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <gwt.outputstyle>OBF</gwt.outputstyle>
         <gwt.modulesuffix></gwt.modulesuffix>
         <gwtmaven>2.1.0-1</gwtmaven>
+        <repoUrl>https://oss.sonatype.org/content/repositories/snapshots</repoUrl>
+        <repoId>sonatype-nexus-snapshots</repoId>
     </properties>
 
     <profiles>
                 </snapshotRepository>
            </distributionManagement>
         </profile>
+        <profile>
+          <id>local</id>
+          <properties>
+            <repoId>local mavenrepo</repoId>
+            <repoUrl>file://mavenrepo</repoUrl>
+          </properties>
+          <distributionManagement>
+            <snapshotRepository>
+              <uniqueVersion>false</uniqueVersion>
+              <id>local mavenrepo</id>
+              <url>file://mavenrepo</url>
+            </snapshotRepository>
+          </distributionManagement>
+        </profile>
     </profiles>
 </project>