分类: Web开发
2013-05-25 15:21:09
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2egroupId>
<artifactId>lifecycle-mappingartifactId>
<version>1.0.0version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.pluginsgroupId>
<artifactId>maven-dependency-pluginartifactId>
<versionRange>[1.0.0,)versionRange>
<goals>
<goal>copy-dependenciesgoal>
goals>
pluginExecutionFilter>
<action>
<ignore />
action>
pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.mybatis.generatorgroupId>
<artifactId>mybatis-generator-maven-pluginartifactId>
<versionRange>[1.0.0,)versionRange>
<goals>
<goal>generategoal>
goals>
pluginExecutionFilter>
<action>
<ignore />
action>
pluginExecution>
pluginExecutions>
lifecycleMappingMetadata>
configuration>
plugin>
plugins>
pluginManagement>
<plugins>
<groupId>org.mybatis.generatorgroupId>
<artifactId>mybatis-generator-maven-pluginartifactId>
<version>1.3.2version>
<configuration>
<overwrite>trueoverwrite>
<verbose>trueverbose>
configuration>
<executions>
<execution>
<id>Generate MyBatis Artifactsid>
<goals>
<goal>generategoal>
goals>
execution>
executions>
<dependencies>
<dependency>
<groupId>mysqlgroupId>
<artifactId>mysql-connector-javaartifactId>
<version>5.1.22version>
<scope>runtimescope>
dependency>
dependencies>
plugin>
plugins>
<plugin>