Upgrading to latest Apache parent POM and the latest bundle Maven plugin to have the build deploy to repository.a.o

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@1140171 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/core/pom.xml b/core/pom.xml
index 34de129..779fc47 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -61,7 +61,7 @@
 			<plugin>
 				<groupId>org.apache.felix</groupId>
 				<artifactId>maven-bundle-plugin</artifactId>
-				<version>1.4.1</version>
+				<version>2.3.4</version>
 				<extensions>true</extensions>
 				<configuration>
 					<instructions>
diff --git a/examples/ftpserver-osgi-ftplet-service/pom.xml b/examples/ftpserver-osgi-ftplet-service/pom.xml
index 744139b..cf2b2bb 100644
--- a/examples/ftpserver-osgi-ftplet-service/pom.xml
+++ b/examples/ftpserver-osgi-ftplet-service/pom.xml
@@ -48,7 +48,7 @@
 			<plugin>
 				<groupId>org.apache.felix</groupId>
 				<artifactId>maven-bundle-plugin</artifactId>
-				<version>1.4.1</version>
+				<version>2.3.4</version>
 				<extensions>true</extensions>
 				<configuration>
 					<instructions>
diff --git a/examples/ftpserver-osgi-spring-service/pom.xml b/examples/ftpserver-osgi-spring-service/pom.xml
index ac09959..378f552 100644
--- a/examples/ftpserver-osgi-spring-service/pom.xml
+++ b/examples/ftpserver-osgi-spring-service/pom.xml
@@ -42,7 +42,7 @@
 			<plugin>
 				<groupId>org.apache.felix</groupId>
 				<artifactId>maven-bundle-plugin</artifactId>
-				<version>1.4.1</version>
+				<version>2.3.4</version>
 				<extensions>true</extensions>
 				<configuration>
 					<instructions>
diff --git a/ftplet-api/pom.xml b/ftplet-api/pom.xml
index c460b2d..7c0bdcc 100644
--- a/ftplet-api/pom.xml
+++ b/ftplet-api/pom.xml
@@ -49,7 +49,7 @@
 			<plugin>
 				<groupId>org.apache.felix</groupId>
 				<artifactId>maven-bundle-plugin</artifactId>
-				<version>1.4.1</version>
+				<version>2.3.4</version>
 				<extensions>true</extensions>
 				<configuration>
 					<instructions>
diff --git a/pom.xml b/pom.xml
index 471c389..61260b7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
   <parent>
     <artifactId>apache</artifactId>
     <groupId>org.apache</groupId>
-    <version>4</version>
+    <version>9</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.ftpserver</groupId>
@@ -342,23 +342,10 @@
 
   <profiles>
     <profile>
-      <id>release</id>
+      <id>apache-release</id>
       <build>
         <plugins>
           <plugin>
-            <artifactId>maven-gpg-plugin</artifactId>
-            <version>1.0-alpha-4</version>
-            <executions>
-              <execution>
-                <id>sign-artifacts</id>
-                <phase>verify</phase>
-                <goals>
-                  <goal>sign</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
             <artifactId>maven-javadoc-plugin</artifactId>
             <version>2.5</version>
             <executions>
@@ -413,13 +400,6 @@
         <module>distribution</module>
         <module>examples</module>
       </modules>
-      <distributionManagement>
-        <repository>
-          <id>apache.releases</id>
-          <name>Apache Release Distribution Repository</name>
-          <url>scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
-        </repository>
-      </distributionManagement>
     </profile>
   </profiles>
 
@@ -429,20 +409,6 @@
     <module>examples</module>
   </modules>
 
-  <distributionManagement>
-    <repository>
-      <id>dummy</id>
-      <name>Dummy to avoid accidental deploys</name>
-      <url/>
-    </repository>
-    <snapshotRepository>
-      <id>apache.snapshots.https</id>
-      <name>Apache Development Snapshot Repository</name>
-      <url>https://repository.apache.org/content/repositories/snapshots</url>
-      <uniqueVersion>false</uniqueVersion>
-    </snapshotRepository>
-  </distributionManagement>
-
   <properties>
     <maven.compile.source>1.5</maven.compile.source>
     <maven.compile.target>1.5</maven.compile.target>