]> source.dussan.org Git - gwtquery.git/commitdiff
disable unique version in snapshot repo, so as we can upload multiple classifier
authorManolo Carrasco <manolo@apache.org>
Wed, 16 Feb 2011 09:00:18 +0000 (09:00 +0000)
committerManolo Carrasco <manolo@apache.org>
Wed, 16 Feb 2011 09:00:18 +0000 (09:00 +0000)
gwtquery-core-2.2.0/pom.xml
pom.xml

index b7c890f58372d919e3da3faaf0dd4791b8747405..61a3e7907598d8a28d2a3c4e5907be7c1f0cf08d 100644 (file)
   <build>
     <finalName>gwtquery-${version}-${artifactId}</finalName>
     <plugins>
+
+      <plugin>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>install</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>
+              <packaging>jar</packaging>
+              <artifactId>gwtquery</artifactId>
+              <groupId>${groupId}</groupId>
+              <version>${version}</version>
+              <classifier>${artifactId}</classifier>
+              <generatePom>true</generatePom>
+              <uniqueVersion>false</uniqueVersion>
+            </configuration>
+          </execution>
+        </executions>
+        <configuration>
+        <skip>true  </skip>
+        </configuration>
+      </plugin>
+
       <plugin>
         <artifactId>maven-dependency-plugin</artifactId>
         <executions>
           </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>
+
+      <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 50bc0132431a6c4af07a04cd17138b3585df2af7..3bf89e42401b649902afdaccec05b1a7def27b2e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
       <version>3</version>
     </parent>
 
+    <distributionManagement>
+      <snapshotRepository>
+        <id>sonatype-nexus-snapshots</id>
+        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+        <uniqueVersion>false</uniqueVersion>
+      </snapshotRepository>
+    </distributionManagement>
+
     <developers>
         <developer>
             <id>ray</id>