Rewrite pom.xml to match the replication plugin's style

Change-Id: I67a8cdabf3c8f5d981514beb3a41e9a226b1a199
diff --git a/pom.xml b/pom.xml
index da48be5..830718e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,32 +27,21 @@
     <Gerrit-ApiType>plugin</Gerrit-ApiType>
     <Gerrit-ApiVersion>2.5-SNAPSHOT</Gerrit-ApiVersion>
   </properties>
-  <name>Hello World Gerrit Plugin</name>
-  <url>https://gerrit-review.googlesource.com</url>
-
-  <description>
-    A hello world-type plugin example for Gerrit
-  </description>
 
   <build>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.6</source>
-          <target>1.6</target>
-          <encoding>UTF-8</encoding>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
+        <version>2.4</version>
         <configuration>
           <archive>
             <manifestEntries>
               <Gerrit-SshModule>com.google.gerrit.plugins.HelloWorldCommandModule</Gerrit-SshModule>
 
+              <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor>
+              <Implementation-URL>http://code.google.com/p/gerrit/</Implementation-URL>
+
               <Implementation-Title>Plugin ${project.artifactId}</Implementation-Title>
               <Implementation-Version>${project.version}</Implementation-Version>
 
@@ -62,14 +51,26 @@
           </archive>
         </configuration>
       </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.3.2</version>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+          <encoding>UTF-8</encoding>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 
   <dependencies>
     <dependency>
       <groupId>com.google.gerrit</groupId>
-      <artifactId>gerrit-plugin-api</artifactId>
+      <artifactId>gerrit-${Gerrit-ApiType}-api</artifactId>
       <version>${Gerrit-ApiVersion}</version>
+      <scope>provided</scope>
     </dependency>
   </dependencies>
 
@@ -79,5 +80,4 @@
       <url>https://gerrit-api.commondatastorage.googleapis.com/snapshot/</url>
     </repository>
   </repositories>
-
 </project>