You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2008/07/21 16:54:46 UTC

svn commit: r678446 - in /cxf/trunk/distribution/src/main/release/samples: callback/ java_first_jaxws/ java_first_pojo/ java_first_spring_support/ jaxws_async/ jaxws_dispatch_provider/ jaxws_handlers/ wsdl_first/ wsdl_first_pure_xml/ wsdl_first_rpclit/...

Author: seanoc
Date: Mon Jul 21 07:54:45 2008
New Revision: 678446

URL: http://svn.apache.org/viewvc?rev=678446&view=rev
Log:
Updated pom.xml's to remove need for env CXF_VERSION.
Updated README's accordingly.

Modified:
    cxf/trunk/distribution/src/main/release/samples/callback/README.txt
    cxf/trunk/distribution/src/main/release/samples/callback/pom.xml
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/README.txt
    cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml
    cxf/trunk/distribution/src/main/release/samples/java_first_pojo/README.txt
    cxf/trunk/distribution/src/main/release/samples/java_first_pojo/pom.xml
    cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/README.txt
    cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/pom.xml
    cxf/trunk/distribution/src/main/release/samples/jaxws_async/README.txt
    cxf/trunk/distribution/src/main/release/samples/jaxws_async/pom.xml
    cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt
    cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/pom.xml
    cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/README.txt
    cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/pom.xml
    cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt
    cxf/trunk/distribution/src/main/release/samples/wsdl_first/pom.xml
    cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt
    cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/pom.xml
    cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt
    cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/pom.xml
    cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/README.txt
    cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/pom.xml
    cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt
    cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/pom.xml

Modified: cxf/trunk/distribution/src/main/release/samples/callback/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/callback/README.txt?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/callback/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/callback/README.txt Mon Jul 21 07:54:45 2008
@@ -42,15 +42,7 @@
 ---------------------------------------
 
 From the base directory of this sample (i.e., where this README file is
-located), the pom.xml file is used to build and run the demo. 
-
-Set the variable CXF_VERSION in your environment to the version of CXF you are using.
-
-For example on Windows;
-   set CXF_VERSION=2.1.2-SNAPSHOT
-
-On Unix
-   export CXF_VERSION=2.1.2-SNAPSHOT
+located), the pom.xml file is used to build and run the demo.
 
 Using either UNIX or Windows:
 

Modified: cxf/trunk/distribution/src/main/release/samples/callback/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/callback/pom.xml?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/callback/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/callback/pom.xml Mon Jul 21 07:54:45 2008
@@ -4,6 +4,9 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>callback</artifactId>
     <version>1.0</version>
+    <properties>
+            <cxf.version>[2,)</cxf.version>
+    </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -17,7 +20,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>${env.CXF_VERSION}</version>
+                <version>LATEST</version>
                 <executions>
                     <execution>
                         <id>generate-CallbackService</id>
@@ -133,21 +136,40 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+        <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                <!-- for jaxb-impl -->
+	        <repository>
+	            <id>java.net</id>
+	            <url>http://download.java.net/maven/1/</url>
+	            <layout>legacy</layout>
+	        </repository>
+	    </repositories>
+	    <pluginRepositories>
+	        <pluginRepository>
+	            <id>apache-plugin-snapshots</id>
+	            <name>Apache Maven Plugin Snapshots</name>
+	            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+	            <releases>
+	                <enabled>false</enabled>
+	            </releases>
+	            <snapshots>
+	                <enabled>true</enabled>
+	            </snapshots>
+	        </pluginRepository>
+	    </pluginRepositories>
+        </profile>
     </profiles>
     <repositories>
-        <repository>
-            <id>apache-snapshots</id>
-            <name>Apache SNAPSHOT Repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>apache-incubating</id>
-            <name>Apache Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
             <!-- for jaxb-impl -->
         <repository>
             <id>java.net</id>
@@ -155,39 +177,22 @@
             <layout>legacy</layout>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache-plugin-snapshots</id>
-            <name>Apache Maven Plugin Snapshots</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
-        <pluginRepository>
-            <id>apache-plugin-incubating</id>
-            <name>Apache Plugin Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </pluginRepository>
-    </pluginRepositories>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
     </dependencies>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/README.txt?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/README.txt Mon Jul 21 07:54:45 2008
@@ -36,14 +36,6 @@
 From the base directory of this sample (i.e., where this README file is
 located), the pom.xml file is used to build and run the demo. 
 
-Set the variable CXF_VERSION in your environment to the version of CXF you are using.
-
-For example on Windows;
-   set CXF_VERSION=2.1.2-SNAPSHOT
-
-On Unix
-   export CXF_VERSION=2.1.2-SNAPSHOT
-
 Using either UNIX or Windows:
 
   mvn install   (builds the demo)

Modified: cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/pom.xml Mon Jul 21 07:54:45 2008
@@ -4,6 +4,9 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>java_first_jaxws</artifactId>
     <version>1.0</version>
+    <properties>
+            <cxf.version>[2,)</cxf.version>
+    </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -63,21 +66,40 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                    <!-- for jaxb-impl -->
+                <repository>
+                    <id>java.net</id>
+                    <url>http://download.java.net/maven/1/</url>
+                    <layout>legacy</layout>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-plugin-snapshots</id>
+                    <name>Apache Maven Plugin Snapshots</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
     </profiles>
     <repositories>
-        <repository>
-            <id>apache-snapshots</id>
-            <name>Apache SNAPSHOT Repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>apache-incubating</id>
-            <name>Apache Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
             <!-- for jaxb-impl -->
         <repository>
             <id>java.net</id>
@@ -85,40 +107,22 @@
             <layout>legacy</layout>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache-plugin-snapshots</id>
-            <name>Apache Maven Plugin Snapshots</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
-        <pluginRepository>
-            <id>apache-plugin-incubating</id>
-            <name>Apache Plugin Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </pluginRepository>
-    </pluginRepositories>
     <dependencies>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <!-- Jetty is needed if you're using the CXFServlet -->
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
     </dependencies>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/java_first_pojo/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_pojo/README.txt?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_pojo/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_pojo/README.txt Mon Jul 21 07:54:45 2008
@@ -48,14 +48,6 @@
 From the base directory of this sample (i.e., where this README file is
 located), the pom.xml file is used to build and run the demo. 
 
-Set the variable CXF_VERSION in your environment to the version of CXF you are using.
-
-For example on Windows;
-   set CXF_VERSION=2.1.2-SNAPSHOT
-
-On Unix
-   export CXF_VERSION=2.1.2-SNAPSHOT
-
 Using either UNIX or Windows:
 
   mvn install   (builds the demo)

Modified: cxf/trunk/distribution/src/main/release/samples/java_first_pojo/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_pojo/pom.xml?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_pojo/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_pojo/pom.xml Mon Jul 21 07:54:45 2008
@@ -4,6 +4,9 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>java_first_pojo</artifactId>
     <version>1.0</version>
+    <properties>
+            <cxf.version>[2,)</cxf.version>
+    </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -63,21 +66,40 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                    <!-- for jaxb-impl -->
+                <repository>
+                    <id>java.net</id>
+                    <url>http://download.java.net/maven/1/</url>
+                    <layout>legacy</layout>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-plugin-snapshots</id>
+                    <name>Apache Maven Plugin Snapshots</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
     </profiles>
     <repositories>
-        <repository>
-            <id>apache-snapshots</id>
-            <name>Apache SNAPSHOT Repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>apache-incubating</id>
-            <name>Apache Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
             <!-- for jaxb-impl -->
         <repository>
             <id>java.net</id>
@@ -85,40 +107,22 @@
             <layout>legacy</layout>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache-plugin-snapshots</id>
-            <name>Apache Maven Plugin Snapshots</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
-        <pluginRepository>
-            <id>apache-plugin-incubating</id>
-            <name>Apache Plugin Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </pluginRepository>
-    </pluginRepositories>
     <dependencies>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <!-- Jetty is needed if you're using the CXFServlet -->
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
     </dependencies>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/README.txt?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/README.txt Mon Jul 21 07:54:45 2008
@@ -45,14 +45,6 @@
 From the base directory of this sample (i.e., where this README file is
 located), the pom.xml file is used to build and run the demo. 
 
-Set the variable CXF_VERSION in your environment to the version of CXF you are using.
-
-For example on Windows;
-   set CXF_VERSION=2.1.2-SNAPSHOT
-
-On Unix
-   export CXF_VERSION=2.1.2-SNAPSHOT
-
 Using either UNIX or Windows:
 
   mvn install   (builds the demo)

Modified: cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/pom.xml?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/pom.xml Mon Jul 21 07:54:45 2008
@@ -4,6 +4,9 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>java_first_spring_support</artifactId>
     <version>1.0</version>
+    <properties>
+            <cxf.version>[2,)</cxf.version>
+    </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -80,21 +83,40 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                    <!-- for jaxb-impl -->
+                <repository>
+                    <id>java.net</id>
+                    <url>http://download.java.net/maven/1/</url>
+                    <layout>legacy</layout>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-plugin-snapshots</id>
+                    <name>Apache Maven Plugin Snapshots</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
     </profiles>
     <repositories>
-        <repository>
-            <id>apache-snapshots</id>
-            <name>Apache SNAPSHOT Repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>apache-incubating</id>
-            <name>Apache Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
             <!-- for jaxb-impl -->
         <repository>
             <id>java.net</id>
@@ -102,40 +124,22 @@
             <layout>legacy</layout>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache-plugin-snapshots</id>
-            <name>Apache Maven Plugin Snapshots</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
-        <pluginRepository>
-            <id>apache-plugin-incubating</id>
-            <name>Apache Plugin Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </pluginRepository>
-    </pluginRepositories>
     <dependencies>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <!-- Jetty is needed if you're using the CXFServlet -->
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
     </dependencies>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/jaxws_async/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jaxws_async/README.txt?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jaxws_async/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/jaxws_async/README.txt Mon Jul 21 07:54:45 2008
@@ -73,14 +73,6 @@
 From the base directory of this sample (i.e., where this README file is
 located), the pom.xml file is used to build and run the demo. 
 
-Set the variable CXF_VERSION in your environment to the version of CXF you are using.
-
-For example on Windows;
-   set CXF_VERSION=2.1.2-SNAPSHOT
-
-On Unix
-   export CXF_VERSION=2.1.2-SNAPSHOT
-
 Using either UNIX or Windows:
 
   mvn install   (builds the demo)

Modified: cxf/trunk/distribution/src/main/release/samples/jaxws_async/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jaxws_async/pom.xml?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jaxws_async/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/jaxws_async/pom.xml Mon Jul 21 07:54:45 2008
@@ -4,6 +4,9 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>jaxws_async</artifactId>
     <version>1.0</version>
+    <properties>
+            <cxf.version>[2,)</cxf.version>
+    </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -17,7 +20,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>${env.CXF_VERSION}</version>
+                <version>LATEST</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -59,7 +62,7 @@
                                 <configuration>
                                     <mainClass>demo.hw.server.Server</mainClass>
                                     <arguments>
-				        <argument>${basedir}/wsdl/hello_world_async.wsdl</argument>
+                                        <argument>${basedir}/wsdl/hello_world_async.wsdl</argument>
                                     </arguments>
                                 </configuration>
                             </execution>
@@ -94,21 +97,40 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                    <!-- for jaxb-impl -->
+                <repository>
+                    <id>java.net</id>
+                    <url>http://download.java.net/maven/1/</url>
+                    <layout>legacy</layout>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-plugin-snapshots</id>
+                    <name>Apache Maven Plugin Snapshots</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
     </profiles>
     <repositories>
-        <repository>
-            <id>apache-snapshots</id>
-            <name>Apache SNAPSHOT Repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>apache-incubating</id>
-            <name>Apache Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
             <!-- for jaxb-impl -->
         <repository>
             <id>java.net</id>
@@ -116,40 +138,22 @@
             <layout>legacy</layout>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache-plugin-snapshots</id>
-            <name>Apache Maven Plugin Snapshots</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
-        <pluginRepository>
-            <id>apache-plugin-incubating</id>
-            <name>Apache Plugin Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </pluginRepository>
-    </pluginRepositories>
     <dependencies>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <!-- Jetty is needed if you're using the CXFServlet -->
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
     </dependencies>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/README.txt Mon Jul 21 07:54:45 2008
@@ -48,14 +48,6 @@
 From the base directory of this sample (i.e., where this README file is
 located), the pom.xml file is used to build and run the demo. 
 
-Set the variable CXF_VERSION in your environment to the version of CXF you are using.
-
-For example on Windows;
-   set CXF_VERSION=2.1.2-SNAPSHOT
-
-On Unix
-   export CXF_VERSION=2.1.2-SNAPSHOT
-
 Using either UNIX or Windows:
 
   mvn install   (builds the demo)

Modified: cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/pom.xml?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/pom.xml Mon Jul 21 07:54:45 2008
@@ -4,6 +4,9 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>jaxws_dispatch_provider</artifactId>
     <version>1.0</version>
+    <properties>
+        <cxf.version>[2,)</cxf.version>
+    </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -17,7 +20,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>${env.CXF_VERSION}</version>
+                <version>LATEST</version>
                 <executions>
                     <execution>
                         <id>generate-SOAPService1</id>
@@ -153,62 +156,63 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                    <!-- for jaxb-impl -->
+                <repository>
+                    <id>java.net</id>
+                    <url>http://download.java.net/maven/1/</url>
+                    <layout>legacy</layout>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-plugin-snapshots</id>
+                    <name>Apache Maven Plugin Snapshots</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
     </profiles>
     <repositories>
-        <repository>
-            <id>apache-snapshots</id>
-            <name>Apache SNAPSHOT Repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>apache-incubating</id>
-            <name>Apache Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
-            <!-- for jaxb-impl -->
+        <!-- for jaxb-impl -->
         <repository>
             <id>java.net</id>
             <url>http://download.java.net/maven/1/</url>
             <layout>legacy</layout>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache-plugin-snapshots</id>
-            <name>Apache Maven Plugin Snapshots</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
-        <pluginRepository>
-            <id>apache-plugin-incubating</id>
-            <name>Apache Plugin Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </pluginRepository>
-    </pluginRepositories>
     <dependencies>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <!-- Jetty is needed if you're using the CXFServlet -->
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
     </dependencies>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/README.txt?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/README.txt Mon Jul 21 07:54:45 2008
@@ -70,14 +70,6 @@
 From the base directory of this sample (i.e., where this README file is
 located), the pom.xml file is used to build and run the demo. 
 
-Set the variable CXF_VERSION in your environment to the version of CXF you are using.
-
-For example on Windows;
-   set CXF_VERSION=2.1.2-SNAPSHOT
-
-On Unix
-   export CXF_VERSION=2.1.2-SNAPSHOT
-
 Using either UNIX or Windows:
 
   mvn install   (builds the demo)

Modified: cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/pom.xml?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/pom.xml Mon Jul 21 07:54:45 2008
@@ -4,6 +4,9 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>jaxws_handlers</artifactId>
     <version>1.0</version>
+    <properties>
+        <cxf.version>[2,)</cxf.version>
+    </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -17,10 +20,10 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>${env.CXF_VERSION}</version>
+                <version>LATEST</version>
                 <executions>
                     <execution>
-                        <id>generate-sources</id>
+                        <id>generate-SOAPService1</id>
                         <phase>generate-sources</phase>
                         <configuration>
                             <wsdlOptions>
@@ -107,62 +110,63 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                    <!-- for jaxb-impl -->
+                <repository>
+                    <id>java.net</id>
+                    <url>http://download.java.net/maven/1/</url>
+                    <layout>legacy</layout>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-plugin-snapshots</id>
+                    <name>Apache Maven Plugin Snapshots</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
     </profiles>
     <repositories>
-        <repository>
-            <id>apache-snapshots</id>
-            <name>Apache SNAPSHOT Repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>apache-incubating</id>
-            <name>Apache Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
-            <!-- for jaxb-impl -->
+        <!-- for jaxb-impl -->
         <repository>
             <id>java.net</id>
             <url>http://download.java.net/maven/1/</url>
             <layout>legacy</layout>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache-plugin-snapshots</id>
-            <name>Apache Maven Plugin Snapshots</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
-        <pluginRepository>
-            <id>apache-plugin-incubating</id>
-            <name>Apache Plugin Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </pluginRepository>
-    </pluginRepositories>
     <dependencies>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <!-- Jetty is needed if you're using the CXFServlet -->
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
     </dependencies>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/README.txt Mon Jul 21 07:54:45 2008
@@ -64,14 +64,6 @@
 From the base directory of this sample (i.e., where this README file is
 located), the pom.xml file is used to build and run the demo. 
 
-Set the variable CXF_VERSION in your environment to the version of CXF you are using.
-
-For example on Windows;
-   set CXF_VERSION=2.1.2-SNAPSHOT
-
-On Unix
-   export CXF_VERSION=2.1.2-SNAPSHOT
-
 Using either UNIX or Windows:
 
   mvn install   (builds the demo)

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/pom.xml?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/pom.xml Mon Jul 21 07:54:45 2008
@@ -4,6 +4,9 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>wsdl_first</artifactId>
     <version>1.0</version>
+    <properties>
+        <cxf.version>[2,)</cxf.version>
+    </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -17,7 +20,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>${env.CXF_VERSION}</version>
+                <version>LATEST</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -87,62 +90,64 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                    <!-- for jaxb-impl -->
+                <repository>
+                    <id>java.net</id>
+                    <url>http://download.java.net/maven/1/</url>
+                    <layout>legacy</layout>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-plugin-snapshots</id>
+                    <name>Apache Maven Plugin Snapshots</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
     </profiles>
     <repositories>
-        <repository>
-            <id>apache-snapshots</id>
-            <name>Apache SNAPSHOT Repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>apache-incubating</id>
-            <name>Apache Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
-            <!-- for jaxb-impl -->
+        <!-- for jaxb-impl -->
         <repository>
             <id>java.net</id>
             <url>http://download.java.net/maven/1/</url>
             <layout>legacy</layout>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache-plugin-snapshots</id>
-            <name>Apache Maven Plugin Snapshots</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
-        <pluginRepository>
-            <id>apache-plugin-incubating</id>
-            <name>Apache Plugin Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </pluginRepository>
-    </pluginRepositories>
+    
     <dependencies>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <!-- Jetty is needed if you're using the CXFServlet -->
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
     </dependencies>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt Mon Jul 21 07:54:45 2008
@@ -43,14 +43,6 @@
 From the base directory of this sample (i.e., where this README file is
 located), the pom.xml file is used to build and run the demo. 
 
-Set the variable CXF_VERSION in your environment to the version of CXF you are using.
-
-For example on Windows;
-   set CXF_VERSION=2.1.2-SNAPSHOT
-
-On Unix
-   export CXF_VERSION=2.1.2-SNAPSHOT
-
 Using either UNIX or Windows:
 
   mvn install   (builds the demo)

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/pom.xml?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first_pure_xml/pom.xml Mon Jul 21 07:54:45 2008
@@ -4,6 +4,9 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>wsdl_first_pure_xml</artifactId>
     <version>1.0</version>
+    <properties>
+            <cxf.version>[2,)</cxf.version>
+    </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -17,7 +20,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>${env.CXF_VERSION}</version>
+                <version>LATEST</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -90,21 +93,40 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                    <!-- for jaxb-impl -->
+                <repository>
+                    <id>java.net</id>
+                    <url>http://download.java.net/maven/1/</url>
+                    <layout>legacy</layout>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-plugin-snapshots</id>
+                    <name>Apache Maven Plugin Snapshots</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
     </profiles>
     <repositories>
-        <repository>
-            <id>apache-snapshots</id>
-            <name>Apache SNAPSHOT Repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>apache-incubating</id>
-            <name>Apache Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
             <!-- for jaxb-impl -->
         <repository>
             <id>java.net</id>
@@ -112,40 +134,22 @@
             <layout>legacy</layout>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache-plugin-snapshots</id>
-            <name>Apache Maven Plugin Snapshots</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
-        <pluginRepository>
-            <id>apache-plugin-incubating</id>
-            <name>Apache Plugin Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </pluginRepository>
-    </pluginRepositories>
     <dependencies>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <!-- Jetty is needed if you're using the CXFServlet -->
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
     </dependencies>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt Mon Jul 21 07:54:45 2008
@@ -40,14 +40,6 @@
 From the base directory of this sample (i.e., where this README file is
 located), the pom.xml file is used to build and run the demo. 
 
-Set the variable CXF_VERSION in your environment to the version of CXF you are using.
-
-For example on Windows;
-   set CXF_VERSION=2.1.2-SNAPSHOT
-
-On Unix
-   export CXF_VERSION=2.1.2-SNAPSHOT
-
 Using either UNIX or Windows:
 
   mvn install   (builds the demo)

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/pom.xml?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first_rpclit/pom.xml Mon Jul 21 07:54:45 2008
@@ -4,6 +4,9 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>wsdl_first_rpclit</artifactId>
     <version>1.0</version>
+    <properties>
+            <cxf.version>[2,)</cxf.version>
+    </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -17,7 +20,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>${env.CXF_VERSION}</version>
+                <version>LATEST</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -90,21 +93,40 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                    <!-- for jaxb-impl -->
+                <repository>
+                    <id>java.net</id>
+                    <url>http://download.java.net/maven/1/</url>
+                    <layout>legacy</layout>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-plugin-snapshots</id>
+                    <name>Apache Maven Plugin Snapshots</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
     </profiles>
     <repositories>
-        <repository>
-            <id>apache-snapshots</id>
-            <name>Apache SNAPSHOT Repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>apache-incubating</id>
-            <name>Apache Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
             <!-- for jaxb-impl -->
         <repository>
             <id>java.net</id>
@@ -112,40 +134,22 @@
             <layout>legacy</layout>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache-plugin-snapshots</id>
-            <name>Apache Maven Plugin Snapshots</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
-        <pluginRepository>
-            <id>apache-plugin-incubating</id>
-            <name>Apache Plugin Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </pluginRepository>
-    </pluginRepositories>
     <dependencies>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <!-- Jetty is needed if you're using the CXFServlet -->
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
     </dependencies>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/README.txt?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/README.txt Mon Jul 21 07:54:45 2008
@@ -42,14 +42,6 @@
 From the base directory of this sample (i.e., where this README file is
 located), the pom.xml file is used to build and run the demo. 
 
-Set the variable CXF_VERSION in your environment to the version of CXF you are using.
-
-For example on Windows;
-   set CXF_VERSION=2.1.2-SNAPSHOT
-
-On Unix
-   export CXF_VERSION=2.1.2-SNAPSHOT
-
 Using either UNIX or Windows:
 
   mvn install   (builds the demo)

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/pom.xml?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first_soap12/pom.xml Mon Jul 21 07:54:45 2008
@@ -4,6 +4,9 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>wsdl_first_soap12</artifactId>
     <version>1.0</version>
+    <properties>
+            <cxf.version>[2,)</cxf.version>
+    </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -17,7 +20,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>${env.CXF_VERSION}</version>
+                <version>LATEST</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -116,21 +119,40 @@
 	        </plugins>
 	    </build>
         </profile>
+        <profile>
+            <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                    <!-- for jaxb-impl -->
+                <repository>
+                    <id>java.net</id>
+                    <url>http://download.java.net/maven/1/</url>
+                    <layout>legacy</layout>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-plugin-snapshots</id>
+                    <name>Apache Maven Plugin Snapshots</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
     </profiles>
     <repositories>
-        <repository>
-            <id>apache-snapshots</id>
-            <name>Apache SNAPSHOT Repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>apache-incubating</id>
-            <name>Apache Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
             <!-- for jaxb-impl -->
         <repository>
             <id>java.net</id>
@@ -138,40 +160,22 @@
             <layout>legacy</layout>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache-plugin-snapshots</id>
-            <name>Apache Maven Plugin Snapshots</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
-        <pluginRepository>
-            <id>apache-plugin-incubating</id>
-            <name>Apache Plugin Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </pluginRepository>
-    </pluginRepositories>
     <dependencies>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <!-- Jetty is needed if you're using the CXFServlet -->
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
     </dependencies>
 </project>

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt Mon Jul 21 07:54:45 2008
@@ -43,14 +43,6 @@
 From the base directory of this sample (i.e., where this README file is
 located), the pom.xml file is used to build and run the demo. 
 
-Set the variable CXF_VERSION in your environment to the version of CXF you are using.
-
-For example on Windows;
-   set CXF_VERSION=2.1.2-SNAPSHOT
-
-On Unix
-   export CXF_VERSION=2.1.2-SNAPSHOT
-
 Using either UNIX or Windows:
 
   mvn install   (builds the demo)

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/pom.xml?rev=678446&r1=678445&r2=678446&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/pom.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first_xml_wrapped/pom.xml Mon Jul 21 07:54:45 2008
@@ -4,6 +4,9 @@
     <groupId>org.apache.cxf.samples</groupId>
     <artifactId>wsdl_first_xml_wrapped</artifactId>
     <version>1.0</version>
+    <properties>
+            <cxf.version>[2,)</cxf.version>
+    </properties>
     <build>
         <sourceDirectory>src</sourceDirectory>
         <plugins>
@@ -17,7 +20,7 @@
             <plugin>
                 <groupId>org.apache.cxf</groupId>
                 <artifactId>cxf-codegen-plugin</artifactId>
-                <version>${env.CXF_VERSION}</version>
+                <version>LATEST</version>
                 <executions>
                     <execution>
                         <id>generate-sources</id>
@@ -116,21 +119,40 @@
 	        </plugins>
 	    </build>
         </profile>
+        <profile>
+            <id>snapshots</id>
+            <repositories>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                    <!-- for jaxb-impl -->
+                <repository>
+                    <id>java.net</id>
+                    <url>http://download.java.net/maven/1/</url>
+                    <layout>legacy</layout>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache-plugin-snapshots</id>
+                    <name>Apache Maven Plugin Snapshots</name>
+                    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
     </profiles>
     <repositories>
-        <repository>
-            <id>apache-snapshots</id>
-            <name>Apache SNAPSHOT Repository</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>apache-incubating</id>
-            <name>Apache Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </repository>
             <!-- for jaxb-impl -->
         <repository>
             <id>java.net</id>
@@ -138,40 +160,22 @@
             <layout>legacy</layout>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache-plugin-snapshots</id>
-            <name>Apache Maven Plugin Snapshots</name>
-            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-        </pluginRepository>
-        <pluginRepository>
-            <id>apache-plugin-incubating</id>
-            <name>Apache Plugin Incubating Repository</name>
-            <url>http://people.apache.org/repo/m2-incubating-repository/</url>
-        </pluginRepository>
-    </pluginRepositories>
     <dependencies>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-frontend-jaxws</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
         <!-- Jetty is needed if you're using the CXFServlet -->
         <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-rt-transports-http-jetty</artifactId>
-            <version>${env.CXF_VERSION}</version>
+            <version>${cxf.version}</version>
         </dependency>
     </dependencies>
 </project>