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/404c2565
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/404c2565
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/404c2565

Branch: refs/heads/master-jaxrs-2.1
Commit: 404c2565487eba17d24f13abbb8115a2b0fc445c
Parents: cd57c46
Author: Sergey Beryozkin <sberyoz...@gmail.com>
Authored: Mon Jun 6 22:47:50 2016 +0100
Committer: Sergey Beryozkin <sberyoz...@gmail.com>
Committed: Mon Jun 6 22:47:50 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/404c2565/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/404c2565/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 df96aed..bb82ad7 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/404c2565/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/404c2565/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 1f323d6..4357528 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>

Reply via email to