|
19 | 19 | </parent> |
20 | 20 |
|
21 | 21 | <properties> |
| 22 | + <!-- The main class to start by executing java -jar --> |
| 23 | + <start-class>org.baeldung.demo.DemoApplication</start-class> |
22 | 24 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
23 | 25 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
24 | 26 | <java.version>1.8</java.version> |
| 27 | + <jquery.version>3.1.1</jquery.version> |
| 28 | + <bootstrap.version>3.3.7-1</bootstrap.version> |
25 | 29 | </properties> |
26 | 30 |
|
27 | 31 | <dependencies> |
| 32 | + |
| 33 | + <!-- add dependency management if you have a different parent pom |
| 34 | + <dependencyManagement> |
| 35 | + <dependencies> |
| 36 | + <dependency> |
| 37 | + <groupId>org.springframework.boot</groupId> |
| 38 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 39 | + <version>1.5.10.RELEASE</version> |
| 40 | + </dependency> |
| 41 | + <dependency> |
| 42 | + <groupId>org.springframework.boot</groupId> |
| 43 | + <artifactId>spring-boot-dependencies</artifactId> |
| 44 | + <version>1.5.10.RELEASE</version> |
| 45 | + <type>pom</type> |
| 46 | + <scope>import</scope> |
| 47 | + </dependency> |
| 48 | + </dependencies> |
| 49 | + </dependencyManagement> |
| 50 | + --> |
| 51 | + |
28 | 52 | <dependency> |
29 | 53 | <groupId>org.springframework.boot</groupId> |
30 | 54 | <artifactId>spring-boot-starter-web</artifactId> |
|
41 | 65 | <artifactId>spring-boot-starter-test</artifactId> |
42 | 66 | <scope>test</scope> |
43 | 67 | </dependency> |
| 68 | + |
| 69 | + <dependency> |
| 70 | + <groupId>org.springframework.boot</groupId> |
| 71 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 72 | + </dependency> |
| 73 | + |
| 74 | + <dependency> |
| 75 | + <groupId>org.springframework.boot</groupId> |
| 76 | + <artifactId>spring-boot-starter-mail</artifactId> |
| 77 | + </dependency> |
| 78 | + |
| 79 | + <dependency> |
| 80 | + <groupId>com.graphql-java</groupId> |
| 81 | + <artifactId>graphql-spring-boot-starter</artifactId> |
| 82 | + <version>3.6.0</version> |
| 83 | + </dependency> |
| 84 | + |
| 85 | + <dependency> |
| 86 | + <groupId>org.springframework.boot</groupId> |
| 87 | + <artifactId>spring-boot-starter-actuator</artifactId> |
| 88 | + </dependency> |
| 89 | + |
| 90 | + <dependency> |
| 91 | + <groupId>com.h2database</groupId> |
| 92 | + <artifactId>h2</artifactId> |
| 93 | + <scope>runtime</scope> |
| 94 | + </dependency> |
| 95 | + |
| 96 | + <dependency> |
| 97 | + <groupId>javax.persistence</groupId> |
| 98 | + <artifactId>javax.persistence-api</artifactId> |
| 99 | + <version>2.2</version> |
| 100 | + </dependency> |
| 101 | + |
| 102 | + <dependency> |
| 103 | + <groupId>org.togglz</groupId> |
| 104 | + <artifactId>togglz-spring-boot-starter</artifactId> |
| 105 | + <version>2.4.1.Final</version> |
| 106 | + </dependency> |
| 107 | + |
| 108 | + <dependency> |
| 109 | + <groupId>com.google.guava</groupId> |
| 110 | + <artifactId>guava</artifactId> |
| 111 | + <version>18.0</version> |
| 112 | + </dependency> |
| 113 | + |
| 114 | + <dependency> |
| 115 | + <groupId>org.subethamail</groupId> |
| 116 | + <artifactId>subethasmtp</artifactId> |
| 117 | + <version>3.1.7</version> |
| 118 | + <scope>test</scope> |
| 119 | + </dependency> |
| 120 | + |
| 121 | + <dependency> |
| 122 | + <groupId>org.webjars</groupId> |
| 123 | + <artifactId>bootstrap</artifactId> |
| 124 | + <version>${bootstrap.version}</version> |
| 125 | + </dependency> |
| 126 | + |
| 127 | + <dependency> |
| 128 | + <groupId>org.webjars</groupId> |
| 129 | + <artifactId>jquery</artifactId> |
| 130 | + <version>${jquery.version}</version> |
| 131 | + </dependency> |
| 132 | + |
| 133 | + <dependency> |
| 134 | + <groupId>com.graphql-java</groupId> |
| 135 | + <artifactId>graphql-java-tools</artifactId> |
| 136 | + <version>3.2.0</version> |
| 137 | + </dependency> |
| 138 | + |
44 | 139 | </dependencies> |
45 | 140 |
|
46 | 141 | <build> |
|
50 | 145 | <groupId>org.springframework.boot</groupId> |
51 | 146 | <artifactId>spring-boot-maven-plugin</artifactId> |
52 | 147 | </plugin> |
| 148 | + |
| 149 | + <plugin> |
| 150 | + <groupId>org.springframework.boot</groupId> |
| 151 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 152 | + <version>1.5.2.RELEASE</version> |
| 153 | + <executions> |
| 154 | + <execution> |
| 155 | + <goals> |
| 156 | + <goal>repackage</goal> |
| 157 | + </goals> |
| 158 | + <configuration> |
| 159 | + <mainClass>org.baeldung.boot.Application</mainClass> |
| 160 | + </configuration> |
| 161 | + </execution> |
| 162 | + </executions> |
| 163 | + </plugin> |
53 | 164 | </plugins> |
54 | 165 | </build> |
55 | 166 |
|
| 167 | + <profiles> |
| 168 | + <profile> |
| 169 | + <id>autoconfiguration</id> |
| 170 | + <build> |
| 171 | + <plugins> |
| 172 | + <plugin> |
| 173 | + <groupId>org.apache.maven.plugins</groupId> |
| 174 | + <artifactId>maven-surefire-plugin</artifactId> |
| 175 | + <executions> |
| 176 | + <execution> |
| 177 | + <phase>integration-test</phase> |
| 178 | + <goals> |
| 179 | + <goal>test</goal> |
| 180 | + </goals> |
| 181 | + <configuration> |
| 182 | + <excludes> |
| 183 | + <exclude>**/*LiveTest.java</exclude> |
| 184 | + <exclude>**/*IntegrationTest.java</exclude> |
| 185 | + </excludes> |
| 186 | + <includes> |
| 187 | + <include>**/AutoconfigurationTest.java</include> |
| 188 | + </includes> |
| 189 | + </configuration> |
| 190 | + </execution> |
| 191 | + </executions> |
| 192 | + <configuration> |
| 193 | + <systemPropertyVariables> |
| 194 | + <test.mime>json</test.mime> |
| 195 | + </systemPropertyVariables> |
| 196 | + </configuration> |
| 197 | + </plugin> |
| 198 | + </plugins> |
| 199 | + </build> |
| 200 | + </profile> |
| 201 | + </profiles> |
56 | 202 |
|
57 | 203 | </project> |
0 commit comments