Skip to content

Commit aa7e5d0

Browse files
committed
add production
1 parent 764a200 commit aa7e5d0

File tree

1 file changed

+31
-17
lines changed

1 file changed

+31
-17
lines changed

pom.xml

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
<groupId>io.dropwizard.metrics</groupId>
4545
<artifactId>metrics-core</artifactId>
4646
</dependency>
47+
<dependency>
48+
<groupId>org.springframework.boot</groupId>
49+
<artifactId>spring-boot-starter-redis</artifactId>
50+
</dependency>
4751
<dependency>
4852
<groupId>org.springframework.boot</groupId>
4953
<artifactId>spring-boot-starter-test</artifactId>
@@ -91,24 +95,34 @@
9195
<groupId>org.springframework.boot</groupId>
9296
<artifactId>spring-boot-maven-plugin</artifactId>
9397
</plugin>
94-
<plugin>
95-
<groupId>pl.project13.maven</groupId>
96-
<artifactId>git-commit-id-plugin</artifactId>
97-
<version>2.2.1</version>
98-
<executions>
99-
<execution>
100-
<goals>
101-
<goal>revision</goal>
102-
</goals>
103-
</execution>
104-
</executions>
105-
<configuration>
106-
<verbose>true</verbose>
107-
<dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
108-
<generateGitPropertiesFile>true</generateGitPropertiesFile>
109-
</configuration>
110-
</plugin>
11198
</plugins>
11299
</build>
113100

101+
<profiles>
102+
<profile>
103+
<id>production</id>
104+
<build>
105+
<plugins>
106+
<plugin>
107+
<groupId>pl.project13.maven</groupId>
108+
<artifactId>git-commit-id-plugin</artifactId>
109+
<version>2.2.1</version>
110+
<executions>
111+
<execution>
112+
<goals>
113+
<goal>revision</goal>
114+
</goals>
115+
</execution>
116+
</executions>
117+
<configuration>
118+
<verbose>true</verbose>
119+
<dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
120+
<generateGitPropertiesFile>true</generateGitPropertiesFile>
121+
</configuration>
122+
</plugin>
123+
</plugins>
124+
</build>
125+
</profile>
126+
</profiles>
127+
114128
</project>

0 commit comments

Comments
 (0)