PS F:\workspace\ssm-parent> mvn tomcat:run
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.mh.ssm:ssm-dao:jar:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.mh.ssm:ssm-parent:0.0.1-SNAPSHOT, F:\workspace\ssm-parent\pom.xml, line 184, column 18
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.mh.ssm:ssm-comtroller:jar:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.mh.ssm:ssm-parent:0.0.1-SNAPSHOT, F:\workspace\ssm-parent\pom.xml, line 184, column 18
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.mh.ssm:ssm-parent:pom:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 184, column 18
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] ssm-parent
[INFO] ssm-dao
[INFO] ssm-comtroller
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ssm-parent 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat-maven-plugin:1.1:run (default-cli) > compile @ ssm-parent >>>
[INFO]
[INFO] <<< tomcat-maven-plugin:1.1:run (default-cli) < compile @ ssm-parent <<<
[INFO]
[WARNING] The POM for org.mybatis:mybatis:jar:3.4.4 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.mybatis:mybatis-spring:jar:1.3.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- tomcat-maven-plugin:1.1:run (default-cli) @ ssm-parent ---
[INFO] Skipping non-war project
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ssm-dao 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat-maven-plugin:1.1:run (default-cli) > compile @ ssm-dao >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ssm-dao ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ssm-dao ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to F:\workspace\ssm-parent\ssm-dao\target\classes
[INFO]
[INFO] <<< tomcat-maven-plugin:1.1:run (default-cli) < compile @ ssm-dao <<<
[INFO]
[INFO]
[INFO] --- tomcat-maven-plugin:1.1:run (default-cli) @ ssm-dao ---
[INFO] Skipping non-war project
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ssm-comtroller 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat-maven-plugin:1.1:run (default-cli) > compile @ ssm-comtroller >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ssm-comtroller ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ssm-comtroller ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to F:\workspace\ssm-parent\ssm-comtroller\target\classes
[INFO]
[INFO] <<< tomcat-maven-plugin:1.1:run (default-cli) < compile @ ssm-comtroller <<<
[INFO]
[INFO]
[INFO] --- tomcat-maven-plugin:1.1:run (default-cli) @ ssm-comtroller ---
[INFO] Skipping non-war project
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ssm-parent ......................................... SUCCESS [  0.687 s]
[INFO] ssm-dao ............................................ SUCCESS [  1.380 s]
[INFO] ssm-comtroller ..................................... SUCCESS [  0.275 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.730 s
[INFO] Finished at: 2017-11-24T15:58:33+08:00
[INFO] Final Memory: 19M/172M
[INFO] ------------------------------------------------------------------------  <build>
        <plugins>
         <plugin>
         <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
         </plugin>
         <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<!-- 可以灵活配置工程路径 -->
<path>/ssm1124</path>
<!-- 可以灵活配置端口号 -->
<port>8080</port>
</configuration>
</plugin>
        </plugins>
        
        </build>
 <modules>
  <module>ssm-dao</module>
  <module>ssm-comtroller</module>
 </modules>