Guest User

Untitled

a guest
Mar 24th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.96 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.firstkey.springboot</groupId>
  6. <artifactId>confernce</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>Conference</name>
  9. <packaging>war</packaging>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <java.version>1.8</java.version>
  14. </properties>
  15. <parent>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-parent</artifactId>
  18. <version>1.5.9.RELEASE</version>
  19. </parent>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. <exclusions>
  25. <exclusion>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-tomcat</artifactId>
  28. </exclusion>
  29. </exclusions>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-data-jpa</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>mysql</groupId>
  37. <artifactId>mysql-connector-java</artifactId>
  38. <scope>runtime</scope>
  39. </dependency>
  40.  
  41. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  42. <dependency>
  43. <groupId>com.google.code.gson</groupId>
  44. <artifactId>gson</artifactId>
  45. <version>2.6.2</version>
  46. </dependency>
  47.  
  48. <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
  49. <dependency>
  50. <groupId>com.googlecode.json-simple</groupId>
  51. <artifactId>json-simple</artifactId>
  52. <version>1.1.1</version>
  53. </dependency>
  54. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  55. <dependency>
  56. <groupId>org.apache.httpcomponents</groupId>
  57. <artifactId>httpclient</artifactId>
  58. <version>4.5</version>
  59. </dependency>
  60. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
  61. <dependency>
  62. <groupId>org.apache.httpcomponents</groupId>
  63. <artifactId>httpcore</artifactId>
  64. <version>4.4.1</version>
  65. </dependency>
  66. <!-- https://mvnrepository.com/artifact/com.google.appengine/appengine-api-1.0-sdk -->
  67. <dependency>
  68. <groupId>com.google.appengine</groupId>
  69. <artifactId>appengine-api-1.0-sdk</artifactId>
  70. <version>1.9.63</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>javax.servlet</groupId>
  74. <artifactId>javax.servlet-api</artifactId>
  75. <version>3.1.0</version>
  76. <scope>provided</scope>
  77. </dependency>
  78. <!-- https://mvnrepository.com/artifact/com.google.cloud.sql/mysql-socket-factory -->
  79. <dependency>
  80. <groupId>com.google.cloud.sql</groupId>
  81. <artifactId>mysql-socket-factory</artifactId>
  82. <version>1.0.5</version>
  83. </dependency>
  84.  
  85. </dependencies>
  86. <build>
  87. <plugins>
  88. <plugin>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-maven-plugin</artifactId>
  91. </plugin>
  92. <plugin>
  93. <groupId>com.google.cloud.tools</groupId>
  94. <artifactId>appengine-maven-plugin</artifactId>
  95. <version>1.3.2</version>
  96. </plugin>
  97. </plugins>
  98. </build>
  99. </project>
  100.  
  101. <?xml version="1.0" encoding="utf-8"?>
  102. <appengine-web-app
  103. xmlns="http://appengine.google.com/ns/1.0">
  104. <application></application>
  105. <version>1</version>
  106.  
  107. <!-- Configure java.util.logging -->
  108. <system-properties>
  109. <property name="java.util.logging.config.file"
  110. value="WEB-INF/logging.properties" />
  111. </system-properties>
  112.  
  113. </appengine-web-app>
  114.  
  115. spring.datasource.url=jdbc:mysql://google/conference?cloudSqlInstance=voice-conference:us-central1:conference=com.google.cloud.sql.mysql.SocketFactory
  116. spring.datasource.username=root
  117. spring.datasource.password=PWD
  118. spring.datasource.tomcat.max-wait=20000
  119. spring.datasource.tomcat.max-active=50
  120. spring.datasource.tomcat.max-idle=20
  121. spring.datasource.tomcat.min-idle=15
  122.  
  123. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQLDialect
  124. spring.jpa.properties.hibernate.id.new_generator_mappings = false
  125. spring.jpa.properties.hibernate.format_sql = true
  126. spring.jpa.hibernate.ddl-auto=update
  127.  
  128. logging.level.org.hibernate.SQL=DEBUG
  129. logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
Add Comment
Please, Sign In to add comment