You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by me...@apache.org on 2019/10/29 08:58:42 UTC

[dubbo-spring-boot-project] branch master updated: fix #618 (#619)

This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-spring-boot-project.git


The following commit(s) were added to refs/heads/master by this push:
     new 65ee0ad  fix #618  (#619)
65ee0ad is described below

commit 65ee0ad8bd8734b5725be3934dea87abce5491c1
Author: James Zhang <cr...@gmail.com>
AuthorDate: Tue Oct 29 16:58:33 2019 +0800

    fix #618  (#619)
    
    * 1. fix issue #618
    Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources failed:
    A required class was missing while executing org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources:
    org/apache/maven/shared/filtering/MavenFilteringException
    2. update git ignore
    
    * fix m2eclipse "Plugin execution not covered by lifecycle
    configuration: org.codehaus.mojo:flatten-maven-plugin:1.1.0:flatten (execution: flatten, phase: process-resources) "
    
    https://stackoverflow.com/questions/6352208/how-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin
---
 .gitignore |  3 ++-
 pom.xml    | 54 ++++++++++++++++++++++++++++++------------------------
 2 files changed, 32 insertions(+), 25 deletions(-)

diff --git a/.gitignore b/.gitignore
index 8f36fda..d2f9bcb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,6 +24,7 @@ hs_err_pid*
 .settings/
 .project
 .classpath
+.factorypath
 
 # idea ignore
 .idea/
@@ -44,4 +45,4 @@ target
 Thumbs.db
 
 # Maven ignore
-.flattened-pom.xml
\ No newline at end of file
+.flattened-pom.xml
diff --git a/pom.xml b/pom.xml
index 77d4412..6a0fe46 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <groupId>org.apache</groupId>
         <artifactId>apache</artifactId>
-        <version>19</version>
+        <version>21</version>
     </parent>
 
     <groupId>org.apache.dubbo</groupId>
@@ -36,8 +36,6 @@
     <url>https://github.com/apache/dubbo-spring-boot-project</url>
 
     <properties>
-        <maven_javadoc_version>3.0.1</maven_javadoc_version>
-        <maven_surefire_version>2.19.1</maven_surefire_version>
         <revision>2.7.3</revision>
     </properties>
 
@@ -159,31 +157,39 @@
     </profiles>
 
     <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>flatten-maven-plugin</artifactId>
+                    <version>1.1.0</version>
+                    <configuration>
+                        <updatePomFile>true</updatePomFile>
+                        <flattenMode>resolveCiFriendliesOnly</flattenMode>
+                    </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>
+        </pluginManagement>
         <plugins>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>flatten-maven-plugin</artifactId>
-                <version>1.1.0</version>
-                <configuration>
-                    <updatePomFile>true</updatePomFile>
-                    <flattenMode>resolveCiFriendliesOnly</flattenMode>
-                </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>
     </build>