aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-12-29 05:21:24 +0300
committerGravatar Vitaly Takmazov2021-12-29 05:21:24 +0300
commit9e4f1c66963816061084d67438dcd379a584711c (patch)
tree635ab7d6650cbad3a30a9459c1beeb3a22b88c1e
parentfd739657947b66900fa7e38588e0637fe3a7467f (diff)
Maven: move plugins to pluginManagement section
* this will avoid EDT warnings
-rw-r--r--pom.xml98
1 files changed, 50 insertions, 48 deletions
diff --git a/pom.xml b/pom.xml
index 230e42c8..f88a5586 100644
--- a/pom.xml
+++ b/pom.xml
@@ -259,54 +259,56 @@
</dependency>
</dependencies>
<build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- </exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>3.0.0</version>
- <executions>
- <execution>
- <id>npm install</id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>initialize</phase>
- <configuration>
- <executable>npm</executable>
- <arguments>
- <argument>install</argument>
- </arguments>
- </configuration>
- </execution>
- <execution>
- <id>npm run compile</id>
- <goals>
- <goal>exec</goal>
- </goals>
- <phase>generate-resources</phase>
- <configuration>
- <executable>npm</executable>
- <arguments>
- <argument>run</argument>
- <argument>compile</argument>
- </arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-maven-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ </exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>3.0.0</version>
+ <executions>
+ <execution>
+ <id>npm install</id>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <phase>initialize</phase>
+ <configuration>
+ <executable>npm</executable>
+ <arguments>
+ <argument>install</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ <execution>
+ <id>npm run compile</id>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ <configuration>
+ <executable>npm</executable>
+ <arguments>
+ <argument>run</argument>
+ <argument>compile</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
</build>
<profiles>
<profile>