Skip to content

Commit

Permalink
chore: web-api profile (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
QizhengMo authored Oct 30, 2023
1 parent 232a69f commit f5d08a0
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
32 changes: 32 additions & 0 deletions arex-web-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,38 @@
<packagingType>war</packagingType>
</properties>
</profile>
<profile>
<build>
<finalName>arex-platform-web-service</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>

<configuration>
<includeSystemScope>true</includeSystemScope>
<mainClass>com.arextest.web.api.service.WebSpringBootServletInitializer</mainClass>
</configuration>
</plugin>
</plugins>
</build>
<id>jar-full</id>
<properties>
<packagingType>jar</packagingType>
</properties>
</profile>
<profile>
<build>
<plugins>
Expand Down
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
<artifactId>arex-web</artifactId>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down

0 comments on commit f5d08a0

Please sign in to comment.