You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by ja...@apache.org on 2018/11/19 19:23:15 UTC

[juneau] branch master updated: Deployed springboot example should extend from springboot parent.

This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/master by this push:
     new 1efc3f1  Deployed springboot example should extend from springboot parent.
1efc3f1 is described below

commit 1efc3f1eb006850467d68c8a76fb1064c03296fc
Author: JamesBognar <ja...@apache.org>
AuthorDate: Mon Nov 19 14:23:03 2018 -0500

    Deployed springboot example should extend from springboot parent.
---
 .../build-overlay/pom.xml                                | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/juneau-examples/juneau-examples-rest-springboot/build-overlay/pom.xml b/juneau-examples/juneau-examples-rest-springboot/build-overlay/pom.xml
index 67e2885..d0d9a8e 100644
--- a/juneau-examples/juneau-examples-rest-springboot/build-overlay/pom.xml
+++ b/juneau-examples/juneau-examples-rest-springboot/build-overlay/pom.xml
@@ -31,6 +31,13 @@
 	<version>${version}</version>
 	<description>Sample code packaged as a microservice.</description>
 
+	<parent>
+		<groupId>org.springframework.boot</groupId>
+		<artifactId>spring-boot-starter-parent</artifactId>
+		<version>${springframework.version}</version>
+		<relativePath />
+	</parent>
+
 	<properties>
 		<encoding>UTF-8</encoding>
 		<maven.compiler.source>1.8</maven.compiler.source>
@@ -39,13 +46,9 @@
 		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 
 		<maven.javadoc.skip>true</maven.javadoc.skip>
-		<derby.version>${derby.version}</derby.version>
-		<springframework.version>${springframework.version}</springframework.version>
 		<javax.inject.version>${javax.inject.version}</javax.inject.version>
 		<juneau.version>${version}</juneau.version>
 		<jena.version>${jena.version}</jena.version>
-		<hibernate.version>${hibernate.version}</hibernate.version>
-		<xml.apis.version>${xml.apis.version}</xml.apis.version>
 	</properties>
 
 	<dependencies>
@@ -78,7 +81,6 @@
 		<dependency>
 		    <groupId>org.springframework.boot</groupId>
 		    <artifactId>spring-boot-starter-web</artifactId>
-			<version>\${springframework.version}</version>
 			<exclusions>
 				<exclusion>
 					<groupId>org.springframework.boot</groupId>
@@ -96,22 +98,18 @@
 		<dependency>
 			<groupId>org.apache.derby</groupId>
 			<artifactId>derby</artifactId>
-			<version>\${derby.version}</version>
 		</dependency>
 		<dependency>
 			<groupId>org.hibernate</groupId>
 			<artifactId>hibernate-core</artifactId>
-			<version>\${hibernate.version}</version>
 		</dependency>
 		<dependency>
 			<groupId>org.hibernate</groupId>
 			<artifactId>hibernate-entitymanager</artifactId>
-			<version>\${hibernate.version}</version>
 		</dependency>
 		<dependency>
 		    <groupId>xml-apis</groupId>
 		    <artifactId>xml-apis</artifactId>
-		    <version>\${xml.apis.version}</version>
 		</dependency>
 		
 		<!-- Optional RDF support -->