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 2016/06/06 21:58:08 UTC

[1/3] cxf git commit: Adding groupId and version to jaxrs spring boot demos

Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 89618739e -> fc1d0c57e


Adding groupId and version to jaxrs spring boot demos


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/fc1d0c57
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/fc1d0c57
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/fc1d0c57

Branch: refs/heads/3.1.x-fixes
Commit: fc1d0c57e9349acfcc2af3070f629b4772622254
Parents: 583270d
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Mon Jun 6 22:55:31 2016 +0100
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Mon Jun 6 22:57:21 2016 +0100

----------------------------------------------------------------------
 .../src/main/release/samples/jax_rs/jaxrs_spring_boot/pom.xml      | 2 ++
 .../src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/pom.xml | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/fc1d0c57/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/pom.xml b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/pom.xml
index 969bbdb..5adeae1 100644
--- a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/pom.xml
+++ b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/pom.xml
@@ -7,6 +7,8 @@
         <version>1.3.5.RELEASE</version>
     </parent> 
     <artifactId>spring-boot-sample-rs-cxf</artifactId>
+    <groupId>org.apache.cxf.samples</groupId>
+    <version>3.2.0-SNAPSHOT</version>
     <name>Spring Boot CXF REST Application</name>
     <description>Spring Boot CXF REST Application</description>
     

http://git-wip-us.apache.org/repos/asf/cxf/blob/fc1d0c57/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/pom.xml b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/pom.xml
index 2c91e8c..a936170 100644
--- a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/pom.xml
+++ b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/pom.xml
@@ -7,6 +7,8 @@
         <version>1.3.5.RELEASE</version>
     </parent> 
     <artifactId>spring-boot-sample-rs-cxf-scan</artifactId>
+    <groupId>org.apache.cxf.samples</groupId>
+    <version>3.2.0-SNAPSHOT</version>
     <name>Spring Boot CXF REST Scan Application</name>
     <description>Spring Boot CXF REST Scan Application</description>
     


[3/3] cxf git commit: Add docker plugin to experiment with creating a spring-boot docker image for the example

Posted by se...@apache.org.
Add docker plugin to experiment with creating a spring-boot docker image for the example


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/4533e004
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4533e004
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4533e004

Branch: refs/heads/3.1.x-fixes
Commit: 4533e0040e82de9f11ab68036dceda9b67b8c2f8
Parents: 8961873
Author: Daniel Kulp <dk...@apache.org>
Authored: Mon Jun 6 15:10:43 2016 -0400
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Mon Jun 6 22:57:21 2016 +0100

----------------------------------------------------------------------
 .../release/samples/jaxws_spring_boot/README    | 15 +++++++++++++++
 .../release/samples/jaxws_spring_boot/pom.xml   | 20 ++++++++++++++++++++
 2 files changed, 35 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/4533e004/distribution/src/main/release/samples/jaxws_spring_boot/README
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jaxws_spring_boot/README b/distribution/src/main/release/samples/jaxws_spring_boot/README
index 62b3a1a..1217e41 100644
--- a/distribution/src/main/release/samples/jaxws_spring_boot/README
+++ b/distribution/src/main/release/samples/jaxws_spring_boot/README
@@ -17,3 +17,18 @@ to run the client run in a new terminal window:
 $ mvn exec:java
 ----
 
+
+
+Using Docker:
+If you have Docker running on your machine (and appropriate DOCKER_HOST set), 
+you can run
+
+----
+$ mvn docker:build
+----
+
+to create the Docker image.  Once created, you can start the container via:
+
+----
+docker run -p 8080:8080 -t org.apache.cxf.samples/spring-boot-sample-ws-cxf
+----

http://git-wip-us.apache.org/repos/asf/cxf/blob/4533e004/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml b/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml
index aa38d11..b5e92bc 100644
--- a/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml
+++ b/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml
@@ -7,6 +7,8 @@
         <version>1.3.5.RELEASE</version>
     </parent> 
     <artifactId>spring-boot-sample-ws-cxf</artifactId>
+    <groupId>org.apache.cxf.samples</groupId>
+    <version>3.2.0-SNAPSHOT</version>
     <name>Spring Boot CXF Web Services Sample</name>
     <description>Spring Boot CXF Web Services Sample</description>
     <properties>
@@ -47,6 +49,24 @@
               <mainClass>sample.ws.service.client.HelloClient</mainClass>
             </configuration>
            </plugin>
+                        
+            <plugin>
+                <groupId>com.spotify</groupId>
+                <artifactId>docker-maven-plugin</artifactId>
+                <version>0.4.9</version>
+                <configuration>
+                    <imageName>${project.groupId}/${project.artifactId}</imageName>
+                    <baseImage>frolvlad/alpine-oraclejdk8:slim</baseImage>
+                    <entryPoint>java -Djava.security.egd=file:/dev/./urandom -jar ${project.build.finalName}.jar</entryPoint>
+                    <resources>
+                        <resource>
+                            <targetPath>/</targetPath>
+                            <directory>${project.build.directory}</directory>
+                            <include>${project.build.finalName}.jar</include>
+                        </resource>
+                    </resources>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>


[2/3] cxf git commit: Syncing jaxrs sprong boot demo poms/descriptions with a jaxws demo

Posted by se...@apache.org.
Syncing jaxrs sprong boot demo poms/descriptions with a jaxws demo


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/583270d2
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/583270d2
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/583270d2

Branch: refs/heads/3.1.x-fixes
Commit: 583270d2fe08e0fb294c7b4ced721cf6d5630afa
Parents: 4533e00
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Mon Jun 6 22:47:50 2016 +0100
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Mon Jun 6 22:57:21 2016 +0100

----------------------------------------------------------------------
 .../samples/jax_rs/jaxrs_spring_boot/README     | 13 ++++++++++++
 .../samples/jax_rs/jaxrs_spring_boot/pom.xml    | 21 ++++++++++++++++++--
 .../jax_rs/jaxrs_spring_boot_scan/README        | 13 ++++++++++++
 .../jax_rs/jaxrs_spring_boot_scan/pom.xml       | 21 ++++++++++++++++++--
 4 files changed, 64 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/583270d2/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/README
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/README b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/README
index e46b561..5e1fbf1 100644
--- a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/README
+++ b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/README
@@ -26,3 +26,16 @@ To run the client from a command line open a new terminal window and run:
 $ mvn exec:java
 ----
 
+Using Docker:
+If you have Docker running on your machine (and appropriate DOCKER_HOST set), 
+you can run
+
+----
+$ mvn docker:build
+----
+
+to create the Docker image.  Once created, you can start the container via:
+
+----
+docker run -p 8080:8080 -t org.apache.cxf.samples/spring-boot-sample-rs-cxf
+----

http://git-wip-us.apache.org/repos/asf/cxf/blob/583270d2/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/pom.xml b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/pom.xml
index 0a94157..969bbdb 100644
--- a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/pom.xml
+++ b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
-        <version>1.2.3.RELEASE</version>
+        <version>1.3.5.RELEASE</version>
     </parent> 
     <artifactId>spring-boot-sample-rs-cxf</artifactId>
     <name>Spring Boot CXF REST Application</name>
@@ -32,7 +32,7 @@
         <dependency>
             <groupId>io.swagger</groupId>
             <artifactId>swagger-jaxrs</artifactId>
-            <version>1.5.4</version>
+            <version>1.5.8</version>
             <exclusions>
                 <exclusion>
                     <groupId>javax.ws.rs</groupId>
@@ -63,6 +63,23 @@
               <mainClass>sample.rs.client.SampleRestClientApplication</mainClass>
             </configuration>
         </plugin>
+        <plugin>
+            <groupId>com.spotify</groupId>
+            <artifactId>docker-maven-plugin</artifactId>
+            <version>0.4.9</version>
+              <configuration>
+                  <imageName>${project.groupId}/${project.artifactId}</imageName>
+                  <baseImage>frolvlad/alpine-oraclejdk8:slim</baseImage>
+                  <entryPoint>java -Djava.security.egd=file:/dev/./urandom -jar ${project.build.finalName}.jar</entryPoint>
+                  <resources>
+                     <resource>
+                         <targetPath>/</targetPath>
+                         <directory>${project.build.directory}</directory>
+                         <include>${project.build.finalName}.jar</include>
+                     </resource>
+                  </resources>
+              </configuration>
+         </plugin>
       </plugins>
     </build>
 </project>

http://git-wip-us.apache.org/repos/asf/cxf/blob/583270d2/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/README
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/README b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/README
index e46b561..a61d608 100644
--- a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/README
+++ b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/README
@@ -26,3 +26,16 @@ To run the client from a command line open a new terminal window and run:
 $ mvn exec:java
 ----
 
+Using Docker:
+If you have Docker running on your machine (and appropriate DOCKER_HOST set), 
+you can run
+
+----
+$ mvn docker:build
+----
+
+to create the Docker image.  Once created, you can start the container via:
+
+----
+docker run -p 8080:8080 -t org.apache.cxf.samples/spring-boot-sample-rs-cxf-scan
+----

http://git-wip-us.apache.org/repos/asf/cxf/blob/583270d2/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/pom.xml b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/pom.xml
index 34604a8..2c91e8c 100644
--- a/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/pom.xml
+++ b/distribution/src/main/release/samples/jax_rs/jaxrs_spring_boot_scan/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
-        <version>1.2.3.RELEASE</version>
+        <version>1.3.5.RELEASE</version>
     </parent> 
     <artifactId>spring-boot-sample-rs-cxf-scan</artifactId>
     <name>Spring Boot CXF REST Scan Application</name>
@@ -32,7 +32,7 @@
         <dependency>
             <groupId>io.swagger</groupId>
             <artifactId>swagger-jaxrs</artifactId>
-            <version>1.5.4</version>
+            <version>1.5.8</version>
             <exclusions>
                 <exclusion>
                     <groupId>javax.ws.rs</groupId>
@@ -63,6 +63,23 @@
               <mainClass>sample.rs.client.SampleRestClientApplication</mainClass>
             </configuration>
         </plugin>
+        <plugin>
+            <groupId>com.spotify</groupId>
+            <artifactId>docker-maven-plugin</artifactId>
+            <version>0.4.9</version>
+              <configuration>
+                  <imageName>${project.groupId}/${project.artifactId}</imageName>
+                  <baseImage>frolvlad/alpine-oraclejdk8:slim</baseImage>
+                  <entryPoint>java -Djava.security.egd=file:/dev/./urandom -jar ${project.build.finalName}.jar</entryPoint>
+                  <resources>
+                     <resource>
+                         <targetPath>/</targetPath>
+                         <directory>${project.build.directory}</directory>
+                         <include>${project.build.finalName}.jar</include>
+                     </resource>
+                  </resources>
+              </configuration>
+         </plugin> 
       </plugins>
     </build>
 </project>