Ver Fonte

qmth-boot pom.xml fix plugins.

deason há 3 meses atrás
pai
commit
bc62126488
1 ficheiros alterados com 32 adições e 1 exclusões
  1. 32 1
      pom.xml

+ 32 - 1
pom.xml

@@ -420,8 +420,9 @@
     <build>
     <build>
         <plugins>
         <plugins>
             <plugin>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-source-plugin</artifactId>
                 <artifactId>maven-source-plugin</artifactId>
-                <version>3.2.1</version>
+                <version>3.3.1</version>
                 <executions>
                 <executions>
                     <execution>
                     <execution>
                         <phase>package</phase>
                         <phase>package</phase>
@@ -435,11 +436,41 @@
             <plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <artifactId>maven-surefire-plugin</artifactId>
+                <version>3.5.2</version>
                 <configuration>
                 <configuration>
                     <skip>true</skip>
                     <skip>true</skip>
                     <skipTests>true</skipTests>
                     <skipTests>true</skipTests>
                 </configuration>
                 </configuration>
             </plugin>
             </plugin>
+
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>flatten-maven-plugin</artifactId>
+                <version>1.2.7</version>
+                <configuration>
+                    <updatePomFile>true</updatePomFile>
+                    <flattenMode>resolveCiFriendliesOnly</flattenMode>
+                    <pomElements>
+                        <dependencies>expand</dependencies>
+                    </pomElements>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>flatten</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>flatten</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>flatten.clean</id>
+                        <phase>clean</phase>
+                        <goals>
+                            <goal>clean</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
         </plugins>
     </build>
     </build>