<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<modelVersion>4.0.0</modelVersion>
|
<groupId>cn.com.basic</groupId>
|
<artifactId>basic_business</artifactId>
|
<version>1.0.0-SNAPSHOT</version>
|
<packaging>jar</packaging>
|
<name>basic_business</name>
|
<url>http://maven.apache.org</url>
|
<parent>
|
<groupId>cn.com.basic</groupId>
|
<artifactId>basic_parent</artifactId>
|
<version>0.0.1-SNAPSHOT</version>
|
<relativePath>../pom.xml</relativePath>
|
</parent>
|
|
<dependencies>
|
<dependency>
|
<groupId>cn.com.basic</groupId>
|
<artifactId>basic_core</artifactId>
|
<version>1.0.0-SNAPSHOT</version>
|
</dependency>
|
<dependency>
|
<groupId>org.mybatis.generator</groupId>
|
<artifactId>mybatis-generator-core</artifactId>
|
<version>1.3.2</version>
|
</dependency>
|
</dependencies>
|
|
<distributionManagement>
|
<!-- <repository>
|
<id>nexus-release</id>
|
<name>nexus distribution snapshot repository</name>
|
<url>http://localhost:8081/nexus/content/repositories/releases/</url>
|
</repository> -->
|
<snapshotRepository>
|
<id>nexus-snapshots</id>
|
<name>nexus distribution snapshot repository</name>
|
<url>http://192.168.1.3:8081/nexus/content/repositories/snapshots/</url>
|
</snapshotRepository>
|
</distributionManagement>
|
|
<properties>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
</properties>
|
<build>
|
<finalName>basic_business</finalName>
|
<plugins>
|
<plugin>
|
<artifactId>maven-source-plugin</artifactId>
|
<version>2.1</version>
|
<configuration>
|
<attach>true</attach>
|
</configuration>
|
<executions>
|
<execution>
|
<phase>compile</phase>
|
<goals>
|
<goal>jar</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
<version>3.3</version>
|
<configuration>
|
<source>1.7</source>
|
<target>1.7</target>
|
<encoding>UTF-8</encoding>
|
</configuration>
|
</plugin>
|
<plugin>
|
<groupId>org.mybatis.generator</groupId>
|
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
<version>1.3.2</version>
|
<configuration>
|
<configurationFile>src/main/resources/mybatis-generator/generatorConfig.xml</configurationFile>
|
<verbose>true</verbose>
|
<overwrite>true</overwrite>
|
</configuration>
|
<!-- <executions>
|
<execution>
|
<id>Generate MyBatis Artifacts</id>
|
<goals>
|
<goal>generate</goal>
|
</goals>
|
</execution>
|
</executions> -->
|
<dependencies>
|
<dependency>
|
<groupId>org.mybatis.generator</groupId>
|
<artifactId>mybatis-generator-core</artifactId>
|
<version>1.3.2</version>
|
</dependency>
|
<dependency>
|
<groupId>org.mybatis.generator</groupId>
|
<artifactId>mybatis-page-plugin</artifactId>
|
<version>1.0</version>
|
<scope>system</scope>
|
<systemPath>${project.basedir}/plugins/PaginationPlugin.jar</systemPath>
|
</dependency>
|
</dependencies>
|
</plugin>
|
</plugins>
|
</build>
|
</project>
|