cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [2/3] cxf git commit: Syncing jaxrs sprong boot demo poms/descriptions with a jaxws demo
Date Mon, 06 Jun 2016 21:58:09 GMT
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 <sberyozkin@gmail.com>
Authored: Mon Jun 6 22:47:50 2016 +0100
Committer: Sergey Beryozkin <sberyozkin@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>


Mime
View raw message