HCATALOG-502 HCatalog dependency resolution fails due to missing repo

git-svn-id: https://svn.apache.org/repos/asf/incubator/hcatalog/trunk@1387412 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES.txt b/CHANGES.txt
index b1110f5..3192570 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -109,6 +109,8 @@
   OPTIMIZATIONS
 
   BUG FIXES
+  HCAT-502 HCatalog dependency resolution fails due to missing repo (traviscrawford)
+
   HCAT-490 HCatStorer() throws error when the same partition key is present in records in more than one tasks running as part of the same job (amalakar via traviscrawford)
 
   HCAT-499 Multiple store commands does not work with Hadoop23 (rohinip via avandana)
diff --git a/pom.xml b/pom.xml
index 29bdefe..5402176 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,6 +51,21 @@
         <checksumPolicy>warn</checksumPolicy>
       </releases>
     </repository>
+
+    <!-- A transitive dependency defines this repo in its pom, however, the repo
+       has moved and causes dependency resolutions for 'asm:asm:pom:3.1'. Here we
+       disable the repo as we prefer to use central anyway. -->
+    <repository>
+      <id>glassfish-repository</id>
+      <url>http://maven.glassfish.org/content/groups/glassfish</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+    </repository>
+
   </repositories>
 
 </project>