upgrades for to help for release to maven repos (tck only)

git-svn-id: https://atinject.googlecode.com/svn/trunk@74 3bc8319c-20ab-11de-9edc-3f40a397ab60
diff --git a/tck-pom.xml b/tck-pom.xml
index 831967b..e95e526 100644
--- a/tck-pom.xml
+++ b/tck-pom.xml
@@ -16,6 +16,7 @@
     </licenses>
     <scm>
         <connection>scm:svn:http://atinject.googlecode.com/svn/trunk</connection>
+        <developerConnection>scm:svn:https://atinject.googlecode.com/svn/trunk</developerConnection>
         <url>http://code.google.com/p/atinject/source/checkout</url>
     </scm>
     <dependencies>
@@ -58,5 +59,64 @@
                 </plugin>
             </plugins>
         </pluginManagement>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-release-plugin</artifactId>
+                <version>2.0</version>
+                <configuration>
+                    <mavenExecutorId>forked-path</mavenExecutorId>
+                </configuration>
+            </plugin>
+        </plugins>
     </build>
+    <developers>
+        <developer>
+            <id>various</id>
+            <name>Various</name>
+            <email>atinject-observer@googlegroups.com</email>
+            <url>http://groups.google.com/group/atinject-observer?pli=1</url>
+            <roles>
+                <role>developer</role>
+            </roles>
+            <timezone>-8</timezone>
+        </developer>
+    </developers>
+    <distributionManagement>
+        <repository>
+            <id>sonatype-nexus-staging</id>
+            <name>Nexus Release Repository</name>
+            <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
+        </repository>
+    </distributionManagement>
+
+    <profiles>
+        <profile>
+            <id>release-sign-artifacts</id>
+            <activation>
+                <property>
+                    <name>performRelease</name>
+                    <value>true</value>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <version>1.0</version>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>