You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2010/11/14 11:48:07 UTC

svn commit: r1034973 [1/2] - in /cxf/branches/2.2.x-fixes/distribution: ./ src/main/release/samples/ src/main/release/samples/aegis/ src/main/release/samples/aegis_standalone/ src/main/release/samples/callback/ src/main/release/samples/configuration_in...

Author: ffang
Date: Sun Nov 14 10:48:05 2010
New Revision: 1034973

URL: http://svn.apache.org/viewvc?rev=1034973&view=rev
Log:
[CXF-3120]use real version in samples for release instead of the version range

Added:
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/pom.xml
Modified:
    cxf/branches/2.2.x-fixes/distribution/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/aegis/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/aegis_standalone/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/callback/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/configuration_interceptor/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/in_jvm_transport/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_jaxws/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_jaxws_factory_bean/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_pojo/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_spring_support/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/basic/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/basic_https/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/content_negotiation/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_async/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_handlers/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jms_pubsub/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jms_queue/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_browser_client_java_first/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_browser_client_simple/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_client/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/mtom/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/restful_dispatch/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/restful_http_binding/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/soap_header/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_addressing/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_policy/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_rm/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_security/interopfest/wssc/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_security/interopfest/wssec10/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_security/interopfest/wssec11/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_security/interopfest/wstrust10/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_security/sign_enc/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_security/ut/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_security/ut_policy/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_security/ut_sign/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/wsdl_first/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/wsdl_first_https/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/wsdl_first_pure_xml/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/wsdl_first_rpclit/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/wsdl_first_soap12/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/wsdl_first_xml_wrapped/pom.xml
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/wsdl_first_xmlbeans/pom.xml

Modified: cxf/branches/2.2.x-fixes/distribution/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/pom.xml Sun Nov 14 10:48:05 2010
@@ -448,5 +448,14 @@
             </plugin>
         </plugins>
     </build>
+    <profiles>
+        <profile>
+            <!-- build the samples as well to make sure they really do build -->
+            <id>everything</id>
+            <modules>
+                <module>src/main/release/samples</module>
+            </modules>
+        </profile>
+    </profiles>
 
 </project>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/aegis/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/aegis/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/aegis/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/aegis/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,10 +20,15 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>aegis</artifactId>
-    <version>1.0</version>
     <name>CXF sample using code first POJO's and the Aegis Binding</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
     <build>
         <resources>
@@ -89,35 +94,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>
@@ -141,5 +117,10 @@
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
             <version>${cxf.version}</version>
         </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.8.1</version>
+        </dependency>
     </dependencies>
 </project>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/aegis_standalone/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/aegis_standalone/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/aegis_standalone/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/aegis_standalone/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,10 +20,15 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>aegis-standalone</artifactId>
-    <version>1.0</version>
     <name>CXF sample using the Aegis Binding without any webservice</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
@@ -90,35 +95,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/callback/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/callback/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/callback/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/callback/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,10 +20,15 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>callback</artifactId>
-    <version>1.0</version>
     <name>CXF sample using a callbak object</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
@@ -38,7 +43,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-CallbackService</id>
@@ -155,35 +160,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/configuration_interceptor/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/configuration_interceptor/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/configuration_interceptor/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/configuration_interceptor/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>configuration_interceptor</artifactId>
-    <version>1.0</version>
     <name>CXF Sample of Stream GZIP Interceptor</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -38,7 +44,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -136,35 +142,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-             <id>snapshots</id>
-             <repositories>
-                 <repository>
-                     <id>apache-snapshots</id>
-                     <name>Apache SNAPSHOT Repository</name>
-                     <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                     <snapshots>
-                         <enabled>true</enabled>
-                     </snapshots>
-                     <releases>
-                         <enabled>false</enabled>
-                     </releases>
-                 </repository>
-             </repositories>
-             <pluginRepositories>
-                 <pluginRepository>
-                     <id>apache-snapshots</id>
-                     <name>Apache Maven Plugin Snapshots</name>
-                     <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                     <releases>
-                         <enabled>false</enabled>
-                     </releases>
-                     <snapshots>
-                         <enabled>true</enabled>
-                     </snapshots>
-                 </pluginRepository>
-             </pluginRepositories>
-         </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/in_jvm_transport/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/in_jvm_transport/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/in_jvm_transport/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/in_jvm_transport/pom.xml Sun Nov 14 10:48:05 2010
@@ -19,12 +19,18 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
-    <artifactId>wsdl_first</artifactId>
-    <version>1.0</version>
+    <artifactId>in_jvm_transport</artifactId>
     <name>Colocated Demo using Document/Literal Style</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -38,7 +44,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -85,35 +91,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_jaxws/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_jaxws/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_jaxws/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_jaxws/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>java_first_jaxws</artifactId>
-    <version>1.0</version>
     <name>Java First demo using JAX-WS APIs</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -84,35 +90,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_jaxws_factory_bean/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_jaxws_factory_bean/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_jaxws_factory_bean/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_jaxws_factory_bean/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>java_first_jaxws_factory_bean</artifactId>
-    <version>1.0</version>
     <name>Java First demo service using the JAXWSFactoryBeans</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -84,35 +90,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_pojo/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_pojo/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_pojo/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_pojo/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>java_first_pojo</artifactId>
-    <version>1.0</version>
     <name>Java First POJO Sample</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -84,35 +90,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_spring_support/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_spring_support/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_spring_support/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/java_first_spring_support/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>java_first_spring_support</artifactId>
-    <version>1.0</version>
     <name>Spring HTTP Sample</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -101,35 +107,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/basic/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/basic/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/basic/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/basic/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,10 +20,15 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>jax_rs_basic</artifactId>
-    <version>1.0</version>
     <name>JAX-RS Basic Demo</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
         <httpclient.version>3.1</httpclient.version>
         <jsr311.version>1.0</jsr311.version>
     </properties>
@@ -104,35 +109,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/basic_https/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/basic_https/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/basic_https/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/basic_https/pom.xml Sun Nov 14 10:48:05 2010
@@ -21,9 +21,14 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>jax_rs_basic_https</artifactId>
     <name>JAX-RS Basic Demo With HTTPS communications</name>
-    <version>1.0</version>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
         <httpclient.version>3.1</httpclient.version>
         <jsr311.version>1.0</jsr311.version>
     </properties>
@@ -137,35 +142,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/content_negotiation/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/content_negotiation/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/content_negotiation/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_rs/content_negotiation/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,10 +20,15 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>jax_rs_content_negotiation</artifactId>
-    <version>1.0</version>
     <name>JAX-RS Content Negotiation Demo</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
         <httpclient.version>3.1</httpclient.version>
         <jsr311.version>1.0</jsr311.version>
     </properties>
@@ -86,35 +91,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>jax_service_aegis_client</artifactId>
-    <version>1.0</version>
     <name>Sample of JAX-* Service Using an Aegis Client</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-            <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -84,35 +90,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_async/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_async/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_async/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_async/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>jaxws_async</artifactId>
-    <version>1.0</version>
     <name>JAX-WS Asynchronous Demo using Document/Literal Style</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -38,7 +44,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -115,35 +121,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_dispatch_provider/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>jaxws_dispatch_provider</artifactId>
-    <version>1.0</version>
     <name>JAX-WS Dispatch/Provider Demo</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -38,7 +44,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-SOAPService1</id>
@@ -176,35 +182,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_handlers/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_handlers/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_handlers/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jaxws_handlers/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>jaxws_handlers</artifactId>
-    <version>1.0</version>
     <name>JAX-WS Handler Demo</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -38,7 +44,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-SOAPService1</id>
@@ -128,35 +134,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jms_pubsub/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jms_pubsub/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jms_pubsub/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jms_pubsub/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,10 +20,15 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>jms_pubsub</artifactId>
-    <version>1.0</version>
     <name>JMS Transport Publish/Subscribe Demo using Document-Literal Style</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
         <activemq.version>[5,)</activemq.version>
     </properties>
     <build>
@@ -39,7 +44,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -135,35 +140,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jms_queue/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jms_queue/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jms_queue/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/jms_queue/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,12 +20,18 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>jms_queue</artifactId>
-    <version>1.0</version>
     <name>JMS Transport Queue Demo using Document-Literal Style</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
         <activemq.version>[5,)</activemq.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -39,7 +45,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -135,35 +141,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_browser_client_java_first/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_browser_client_java_first/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_browser_client_java_first/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_browser_client_java_first/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>js_browser_client_java</artifactId>
-    <version>1.0</version>
     <name>Generated JavaScript Sample using JAX-WS and JSR-181</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -79,35 +85,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_browser_client_simple/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_browser_client_simple/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_browser_client_simple/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_browser_client_simple/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>js_browser_client_simple</artifactId>
-    <version>1.0</version>
     <name>JavaScript Client Demo using Document/Literal Style</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -38,7 +44,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -126,35 +132,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_client/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_client/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_client/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_client/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,12 +20,18 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>js_client</artifactId>
-    <version>1.0</version>
     <name>Hello World Client Demo using JavaScript</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
         <rhino.version>1.6R7</rhino.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -39,7 +45,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -112,35 +118,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/mtom/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/mtom/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/mtom/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/mtom/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>mtom</artifactId>
-    <version>1.0</version>
     <name>MTOM Demo for SWA and XOP</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -38,7 +44,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -128,35 +134,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     
     <dependencies>

Added: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/pom.xml?rev=1034973&view=auto
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/pom.xml (added)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/pom.xml Sun Nov 14 10:48:05 2010
@@ -0,0 +1,187 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements. See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership. The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License. You may obtain a copy of the License at
+ 
+  http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied. See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.cxf.samples</groupId>
+    <artifactId>cxf-samples</artifactId>
+    <packaging>pom</packaging>
+    <version>2.2.12-SNAPSHOT</version>
+    <name>Apache CXF Samples</name>
+    <url>http://cxf.apache.org</url>
+
+    <properties>
+        <!-- don't deploy the samples, kind of pointless -->
+        <maven.deploy.skip>true</maven.deploy.skip>
+    </properties>
+
+    <modules>
+        <module>in_jvm_transport</module>
+        <module>js_browser_client_simple</module>
+        <module>js_browser_client_java_first</module>
+        <module>java_first_jaxws_factory_bean</module>
+        <module>jax_rs/content_negotiation</module>
+        <module>jax_rs/basic_https</module>
+        <module>jax_rs/basic</module>
+        <module>callback</module>
+        <module>wsdl_first_pure_xml</module>
+        <module>jaxws_dispatch_provider</module>
+        <module>wsdl_first_xmlbeans</module>
+        <module>wsdl_first_soap12</module>
+        <module>wsdl_first_dynamic_client</module>
+        <module>jms_queue</module>
+        <module>restful_dispatch</module>
+        <module>wsdl_first</module>
+        <module>aegis_standalone</module>
+        <module>java_first_jaxws</module>
+        <module>ws_rm</module>
+        <module>configuration_interceptor</module>
+        <module>java_first_spring_support</module>
+        <module>ws_security/ut</module>
+        <module>ws_security/ut_sign</module>
+        <module>ws_security/sign_enc</module>
+        <module>ws_security/ut_policy</module>
+        <module>mtom</module>
+        <module>jaxws_async</module>
+        <module>java_first_pojo</module>
+        <module>ws_policy</module>
+        <module>js_client</module>
+        <module>wsdl_first_https</module>
+        <module>ws_addressing</module>
+        <module>soap_header</module>
+        <module>wsdl_first_xml_wrapped</module>
+        <module>restful_http_binding</module>
+        <module>aegis</module>
+        <module>jax_server_aegis_client</module>
+        <module>jaxws_handlers</module>
+        <module>wsdl_first_rpclit</module>
+        <module>jms_pubsub</module>
+
+        <!--
+        these are a bit fragile as they need to go off to external sites to get stuff like
+        wsdl's and certs and such
+        -->
+        <module>ws_security/interopfest/wssc</module>
+        <module>ws_security/interopfest/wstrust10</module>
+        <module>ws_security/interopfest/wssec10</module>
+        <module>ws_security/interopfest/wssec11</module>
+        <!--module>ws_security/interopfest/wstrust13</module-->
+    </modules>
+    <dependencyManagement>
+        <dependencies>
+            <!-- 
+            Pull in the cxf-parents as import scope to re-use the dependenecyManagement 
+            sections of those poms.   Those sections define the versions of various third
+            party deps that CXF used to build with and test with and we would like
+            to make sure the same versions are used for the samples
+            -->
+            <dependency>
+                <groupId>org.apache.cxf</groupId>
+                <artifactId>cxf-parent</artifactId>
+                <version>${project.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.cxf</groupId>
+                <artifactId>cxf</artifactId>
+                <version>${project.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
+    <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <version>2.3.1</version>
+                    <configuration>
+                        <source>1.5</source>
+                        <target>1.5</target>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-antrun-plugin</artifactId>
+                    <version>1.4</version>
+                    <dependencies>
+                        <dependency>
+                            <groupId>org.apache.ant</groupId>
+                            <artifactId>ant-trax</artifactId>
+                            <version>1.8.0</version>
+                        </dependency>
+                    </dependencies>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
+    <profiles>
+        <profile>
+            <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-snapshots</id>
+                    <name>Apache Maven Plugin Snapshots</name>
+                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
+    </profiles>
+
+    <!--
+     we turn off the deploy in the properties above, but deploy plugin will
+     still barf without this section in the pom
+     -->
+    <distributionManagement>
+         <repository>
+             <id>apache.releases.https</id>
+             <name>Apache Release Distribution Repository</name>
+             <url>https://repository.apache.org/service/local/staging/deploy/maven2</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>
+
+</project>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/restful_dispatch/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/restful_dispatch/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/restful_dispatch/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/restful_dispatch/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,10 +20,15 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>restful_dispatch</artifactId>
-    <version>1.0</version>
     <name>RESTful Hello World Demo</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
         <httpclient.version>3.1</httpclient.version>
         <jsr311.version>0.8</jsr311.version>
     </properties>
@@ -105,35 +110,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/restful_http_binding/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/restful_http_binding/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/restful_http_binding/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/restful_http_binding/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,10 +20,15 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>restful_http_binding</artifactId>
-    <version>1.0</version>
     <name>RESTful HTTP Binding Demo</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
         <httpclient.version>3.1</httpclient.version>
         <jsr311.version>0.8</jsr311.version>
         <jettison.version>1.0.1</jettison.version>
@@ -105,35 +110,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/soap_header/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/soap_header/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/soap_header/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/soap_header/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>soap_header</artifactId>
-    <version>1.0</version>
     <name>Sample using SOAP Headers</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -38,7 +44,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -111,35 +117,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_addressing/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_addressing/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_addressing/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_addressing/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,10 +20,15 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>ws_addressing</artifactId>
-    <version>1.0</version>
     <name>WS-Addressing Demo</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
@@ -38,7 +43,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -132,35 +137,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_policy/pom.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_policy/pom.xml?rev=1034973&r1=1034972&r2=1034973&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_policy/pom.xml (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/ws_policy/pom.xml Sun Nov 14 10:48:05 2010
@@ -20,11 +20,17 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>ws_policy</artifactId>
-    <version>1.0</version>
     <name>WS-Policy Demo</name>
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.2.12-SNAPSHOT</version>
+    </parent>
+
     <properties>
-        <cxf.version>[2,)</cxf.version>
+        <cxf.version>${project.version}</cxf.version>
     </properties>
+
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -38,7 +44,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>LATEST</version>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -129,35 +135,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>snapshots</id>
-            <repositories>
-                <repository>
-                    <id>apache-snapshots</id>
-                    <name>Apache SNAPSHOT Repository</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
-                    <id>apache-snapshots</id>
-                    <name>Apache Maven Plugin Snapshots</name>
-                    <url>https://repository.apache.org/content/groups/snapshots-group/</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
     </profiles>
     <dependencies>
         <dependency>