Merge [TRAFODION-2513] jdbcT4 maven publishing
diff --git a/core/conn/jdbcT4/pom.xml b/core/conn/jdbcT4/pom.xml
index b5e1bbb..d465aad 100644
--- a/core/conn/jdbcT4/pom.xml
+++ b/core/conn/jdbcT4/pom.xml
@@ -27,11 +27,35 @@
 -->
 
   <modelVersion>4.0.0</modelVersion>
+  <!--<parent>
+    <groupId>org.apache.trafodion</groupId>
+    <artifactId>trafodion</artifactId>
+    <version>1.3.0</version>
+	<relativePath>../../../</relativePath>
+  </parent>-->
   <groupId>org.trafodion.jdbc.t4</groupId>
   <artifactId>jdbcT4</artifactId>
   <version>${env.TRAFODION_VER}</version> 
   <name>Trafodion JDBC Type4 Driver</name>
   <url>http://wiki.trafodion.org</url>
+  
+<distributionManagement>
+  <snapshotRepository>
+    <id>apache.snapshots.https</id>
+    <url>https://repository.apache.org/content/repositories/snapshots</url>
+  </snapshotRepository>
+  <repository>
+    <id>apache.releases.https</id>
+    <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
+  </repository>
+</distributionManagement>
+ 
+ <scm>
+    <connection>scm:git:https://github.com/apache/incubator-trafodion.git</connection>
+    <developerConnection>scm:git:https://github.com/apache/incubator-trafodion.git</developerConnection>
+    <url>https://github.com/apache/incubator-trafodion.git</url>
+    <tag>HEAD</tag>
+  </scm>
 
   <dependencies>
     <dependency>
@@ -179,5 +203,80 @@
     </plugin>
    </plugins>
   </build>
+<profiles>
+	<profile>
+      <id>apache-release</id>
+      <activation>
+		<property>
+          <name>performRelease</name>
+          <value>true</value>
+        </property>
+      </activation>
+      <build>
+		<plugins>
+		<plugin>
+                 <groupId>org.apache.maven.plugins</groupId>
+                 <artifactId>maven-release-plugin</artifactId>
+                 <version>2.5</version>
+                 <configuration>
+                   <autoVersionSubmodules>true</autoVersionSubmodules>
+                   <useReleaseProfile>false</useReleaseProfile>
+                   <releaseProfiles>apache-release</releaseProfiles>
+                   <goals>deploy</goals>
+                 </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.0</version>
+                <configuration>
+                    <source>1.6</source>
+                    <target>1.6</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <version>2.2.1</version>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <goals>
+                            <goal>jar-no-fork</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.9</version>
+                <executions>
+                    <execution>
+                        <id>attach-javadocs</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
 
+		<plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+				<phase>verify</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>