Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.firstkey.springboot</groupId>
- <artifactId>confernce</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <name>Conference</name>
- <packaging>war</packaging>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <java.version>1.8</java.version>
- </properties>
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>1.5.9.RELEASE</version>
- </parent>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-jpa</artifactId>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <scope>runtime</scope>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>2.6.2</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
- <dependency>
- <groupId>com.googlecode.json-simple</groupId>
- <artifactId>json-simple</artifactId>
- <version>1.1.1</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>4.5</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
- <version>4.4.1</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.google.appengine/appengine-api-1.0-sdk -->
- <dependency>
- <groupId>com.google.appengine</groupId>
- <artifactId>appengine-api-1.0-sdk</artifactId>
- <version>1.9.63</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>3.1.0</version>
- <scope>provided</scope>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.google.cloud.sql/mysql-socket-factory -->
- <dependency>
- <groupId>com.google.cloud.sql</groupId>
- <artifactId>mysql-socket-factory</artifactId>
- <version>1.0.5</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>com.google.cloud.tools</groupId>
- <artifactId>appengine-maven-plugin</artifactId>
- <version>1.3.2</version>
- </plugin>
- </plugins>
- </build>
- </project>
- <?xml version="1.0" encoding="utf-8"?>
- <appengine-web-app
- xmlns="http://appengine.google.com/ns/1.0">
- <application></application>
- <version>1</version>
- <!-- Configure java.util.logging -->
- <system-properties>
- <property name="java.util.logging.config.file"
- value="WEB-INF/logging.properties" />
- </system-properties>
- </appengine-web-app>
- spring.datasource.url=jdbc:mysql://google/conference?cloudSqlInstance=voice-conference:us-central1:conference=com.google.cloud.sql.mysql.SocketFactory
- spring.datasource.username=root
- spring.datasource.password=PWD
- spring.datasource.tomcat.max-wait=20000
- spring.datasource.tomcat.max-active=50
- spring.datasource.tomcat.max-idle=20
- spring.datasource.tomcat.min-idle=15
- spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQLDialect
- spring.jpa.properties.hibernate.id.new_generator_mappings = false
- spring.jpa.properties.hibernate.format_sql = true
- spring.jpa.hibernate.ddl-auto=update
- logging.level.org.hibernate.SQL=DEBUG
- logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
Add Comment
Please, Sign In to add comment