Skip to content

Commit f615120

Browse files
author
priyank-sriv
committed
review comments - indentation in pom
1 parent a6d99b3 commit f615120

File tree

2 files changed

+123
-123
lines changed
  • spring-boot-modules/spring-boot-libraries

2 files changed

+123
-123
lines changed

spring-boot-modules/spring-boot-libraries/pom.xml

Lines changed: 122 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -88,34 +88,34 @@
8888
<version>${zxing.version}</version>
8989
</dependency>
9090
<!-- Bucket4j -->
91-
<dependency>
92-
<groupId>com.github.vladimir-bukhtoyarov</groupId>
93-
<artifactId>bucket4j-core</artifactId>
94-
<version>${bucket4j.version}</version>
95-
</dependency>
96-
<dependency>
97-
<groupId>com.giffing.bucket4j.spring.boot.starter</groupId>
98-
<artifactId>bucket4j-spring-boot-starter</artifactId>
99-
<version>${bucket4j-spring-boot-starter.version}</version>
100-
</dependency>
101-
<dependency>
102-
<groupId>org.springframework.boot</groupId>
103-
<artifactId>spring-boot-starter-cache</artifactId>
104-
</dependency>
105-
<dependency>
106-
<groupId>javax.cache</groupId>
107-
<artifactId>cache-api</artifactId>
108-
</dependency>
109-
<dependency>
110-
<groupId>com.github.ben-manes.caffeine</groupId>
111-
<artifactId>caffeine</artifactId>
112-
<version>${caffeine.version}</version>
113-
</dependency>
114-
<dependency>
115-
<groupId>com.github.ben-manes.caffeine</groupId>
116-
<artifactId>jcache</artifactId>
117-
<version>${caffeine.version}</version>
118-
</dependency>
91+
<dependency>
92+
<groupId>com.github.vladimir-bukhtoyarov</groupId>
93+
<artifactId>bucket4j-core</artifactId>
94+
<version>${bucket4j.version}</version>
95+
</dependency>
96+
<dependency>
97+
<groupId>com.giffing.bucket4j.spring.boot.starter</groupId>
98+
<artifactId>bucket4j-spring-boot-starter</artifactId>
99+
<version>${bucket4j-spring-boot-starter.version}</version>
100+
</dependency>
101+
<dependency>
102+
<groupId>org.springframework.boot</groupId>
103+
<artifactId>spring-boot-starter-cache</artifactId>
104+
</dependency>
105+
<dependency>
106+
<groupId>javax.cache</groupId>
107+
<artifactId>cache-api</artifactId>
108+
</dependency>
109+
<dependency>
110+
<groupId>com.github.ben-manes.caffeine</groupId>
111+
<artifactId>caffeine</artifactId>
112+
<version>${caffeine.version}</version>
113+
</dependency>
114+
<dependency>
115+
<groupId>com.github.ben-manes.caffeine</groupId>
116+
<artifactId>jcache</artifactId>
117+
<version>${caffeine.version}</version>
118+
</dependency>
119119
</dependencies>
120120

121121
<repositories>
@@ -125,112 +125,112 @@
125125
</repository>
126126
</repositories>
127127

128-
<build>
129-
<finalName>spring-boot-libraries</finalName>
130-
<resources>
131-
<resource>
132-
<directory>src/main/resources</directory>
133-
<filtering>true</filtering>
134-
</resource>
135-
</resources>
128+
<build>
129+
<finalName>spring-boot-libraries</finalName>
130+
<resources>
131+
<resource>
132+
<directory>src/main/resources</directory>
133+
<filtering>true</filtering>
134+
</resource>
135+
</resources>
136136

137-
<plugins>
137+
<plugins>
138138

139-
<plugin>
140-
<groupId>org.apache.maven.plugins</groupId>
141-
<artifactId>maven-war-plugin</artifactId>
142-
</plugin>
139+
<plugin>
140+
<groupId>org.apache.maven.plugins</groupId>
141+
<artifactId>maven-war-plugin</artifactId>
142+
</plugin>
143143

144-
<plugin>
145-
<groupId>pl.project13.maven</groupId>
146-
<artifactId>git-commit-id-plugin</artifactId>
147-
<version>${git-commit-id-plugin.version}</version>
148-
<executions>
149-
<execution>
150-
<id>get-the-git-infos</id>
151-
<goals>
152-
<goal>revision</goal>
153-
</goals>
154-
<phase>initialize</phase>
155-
</execution>
156-
<execution>
157-
<id>validate-the-git-infos</id>
158-
<goals>
159-
<goal>validateRevision</goal>
160-
</goals>
161-
<phase>package</phase>
162-
</execution>
163-
</executions>
164-
<configuration>
165-
<generateGitPropertiesFile>true</generateGitPropertiesFile>
166-
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
167-
</configuration>
168-
</plugin>
144+
<plugin>
145+
<groupId>pl.project13.maven</groupId>
146+
<artifactId>git-commit-id-plugin</artifactId>
147+
<version>${git-commit-id-plugin.version}</version>
148+
<executions>
149+
<execution>
150+
<id>get-the-git-infos</id>
151+
<goals>
152+
<goal>revision</goal>
153+
</goals>
154+
<phase>initialize</phase>
155+
</execution>
156+
<execution>
157+
<id>validate-the-git-infos</id>
158+
<goals>
159+
<goal>validateRevision</goal>
160+
</goals>
161+
<phase>package</phase>
162+
</execution>
163+
</executions>
164+
<configuration>
165+
<generateGitPropertiesFile>true</generateGitPropertiesFile>
166+
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
167+
</configuration>
168+
</plugin>
169169

170170
</plugins>
171171

172172
</build>
173173

174-
<profiles>
175-
<profile>
176-
<id>autoconfiguration</id>
177-
<build>
178-
<plugins>
179-
<plugin>
180-
<groupId>org.apache.maven.plugins</groupId>
181-
<artifactId>maven-surefire-plugin</artifactId>
182-
<executions>
183-
<execution>
184-
<phase>integration-test</phase>
185-
<goals>
186-
<goal>test</goal>
187-
</goals>
188-
<configuration>
189-
<excludes>
190-
<exclude>**/*LiveTest.java</exclude>
191-
<exclude>**/*IntegrationTest.java</exclude>
192-
<exclude>**/*IntTest.java</exclude>
193-
</excludes>
194-
<includes>
195-
<include>**/AutoconfigurationTest.java</include>
196-
</includes>
197-
</configuration>
198-
</execution>
199-
</executions>
200-
<configuration>
201-
<systemPropertyVariables>
202-
<test.mime>json</test.mime>
203-
</systemPropertyVariables>
204-
</configuration>
205-
</plugin>
206-
</plugins>
207-
</build>
208-
</profile>
209-
</profiles>
174+
<profiles>
175+
<profile>
176+
<id>autoconfiguration</id>
177+
<build>
178+
<plugins>
179+
<plugin>
180+
<groupId>org.apache.maven.plugins</groupId>
181+
<artifactId>maven-surefire-plugin</artifactId>
182+
<executions>
183+
<execution>
184+
<phase>integration-test</phase>
185+
<goals>
186+
<goal>test</goal>
187+
</goals>
188+
<configuration>
189+
<excludes>
190+
<exclude>**/*LiveTest.java</exclude>
191+
<exclude>**/*IntegrationTest.java</exclude>
192+
<exclude>**/*IntTest.java</exclude>
193+
</excludes>
194+
<includes>
195+
<include>**/AutoconfigurationTest.java</include>
196+
</includes>
197+
</configuration>
198+
</execution>
199+
</executions>
200+
<configuration>
201+
<systemPropertyVariables>
202+
<test.mime>json</test.mime>
203+
</systemPropertyVariables>
204+
</configuration>
205+
</plugin>
206+
</plugins>
207+
</build>
208+
</profile>
209+
</profiles>
210210

211-
<properties>
212-
<!-- The main class to start by executing java -jar -->
211+
<properties>
212+
<!-- The main class to start by executing java -jar -->
213213
<start-class>com.baeldung.intro.App</start-class>
214214
<tomee-servlet-api.version>8.5.11</tomee-servlet-api.version>
215215
<togglz.version>2.4.1.Final</togglz.version>
216216
<rome.version>1.9.0</rome.version>
217217
<chaos.monkey.version>2.0.0</chaos.monkey.version>
218-
<graphql-spring-boot-starter.version>5.0.2</graphql-spring-boot-starter.version>
219-
<graphiql-spring-boot-starter.version>5.0.2</graphiql-spring-boot-starter.version>
220-
<graphql-java-tools.version>5.2.4</graphql-java-tools.version>
221-
<guava.version>18.0</guava.version>
222-
<git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
223-
<modelmapper.version>2.3.2</modelmapper.version>
224-
<problem-spring-web.version>0.23.0</problem-spring-web.version>
225-
<h2.version>1.4.200</h2.version>
226-
<shedlock.version>2.1.0</shedlock.version>
227-
<barbecue.version>1.5-beta1</barbecue.version>
228-
<barcode4j.version>2.1</barcode4j.version>
229-
<qrgen.version>2.6.0</qrgen.version>
230-
<zxing.version>3.3.0</zxing.version>
231-
<bucket4j.version>4.10.0</bucket4j.version>
232-
<bucket4j-spring-boot-starter.version>0.2.0</bucket4j-spring-boot-starter.version>
233-
<caffeine.version>2.8.2</caffeine.version>
234-
</properties>
218+
<graphql-spring-boot-starter.version>5.0.2</graphql-spring-boot-starter.version>
219+
<graphiql-spring-boot-starter.version>5.0.2</graphiql-spring-boot-starter.version>
220+
<graphql-java-tools.version>5.2.4</graphql-java-tools.version>
221+
<guava.version>18.0</guava.version>
222+
<git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
223+
<modelmapper.version>2.3.2</modelmapper.version>
224+
<problem-spring-web.version>0.23.0</problem-spring-web.version>
225+
<h2.version>1.4.200</h2.version>
226+
<shedlock.version>2.1.0</shedlock.version>
227+
<barbecue.version>1.5-beta1</barbecue.version>
228+
<barcode4j.version>2.1</barcode4j.version>
229+
<qrgen.version>2.6.0</qrgen.version>
230+
<zxing.version>3.3.0</zxing.version>
231+
<bucket4j.version>4.10.0</bucket4j.version>
232+
<bucket4j-spring-boot-starter.version>0.2.0</bucket4j-spring-boot-starter.version>
233+
<caffeine.version>2.8.2</caffeine.version>
234+
</properties>
235235

236-
</project>
236+
</project>

spring-boot-modules/spring-boot-libraries/src/main/java/com/baeldung/ratelimiting/bucket4japp/service/PricingPlan.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public enum PricingPlan {
1111

1212
BASIC(40),
1313

14-
PROFESSIONAL(100);;
14+
PROFESSIONAL(100);
1515

1616
private int bucketCapacity;
1717

0 commit comments

Comments
 (0)