Pom of com.github.chendb:flagwind-mybatis:0.0.31

Back to com.github.chendb:flagwind-mybatis:0.0.31

<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>
        <parent>
                <groupId>org.sonatype.oss</groupId>
                <artifactId>oss-parent</artifactId>
                <version>7</version>
        </parent>
        <groupId>com.github.chendb</groupId>
        <version>0.0.31</version>
        <artifactId>flagwind-mybatis</artifactId>
        <name>flagwind-mybatis</name>
        <properties>
                <spring-framework.version>4.3.4.RELEASE</spring-framework.version>
                <jdk.version>1.8</jdk.version>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        </properties>
        <dependencies>
                <dependency>
                        <groupId>org.aspectj</groupId>
                        <artifactId>aspectjweaver</artifactId>
                        <version>1.8.7</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.commons</groupId>
                        <artifactId>commons-lang3</artifactId>
                        <version>3.5</version>
                </dependency>
                <dependency>
                        <groupId>org.mybatis</groupId>
                        <artifactId>mybatis</artifactId>
                         <version>3.4.5</version>
                </dependency>
                <dependency>
                        <groupId>org.mybatis</groupId>
                        <artifactId>mybatis-spring</artifactId>
                        <version>1.3.1</version>
                </dependency>
                <dependency>
                        <groupId>javax.persistence</groupId>
                        <artifactId>persistence-api</artifactId>
                        <version>1.0.2</version>
                </dependency>
                <dependency>
                        <groupId>mysql</groupId>
                        <artifactId>mysql-connector-java</artifactId>
                        <version>5.1.37</version>
                </dependency>
                <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-jdbc</artifactId>
                        <version>${spring-framework.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-context</artifactId>
                        <version>${spring-framework.version}</version>
                </dependency>
        </dependencies>
        <licenses>
                <license>
                        <name>The Apache Software License, Version 2.0</name>
                        <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
                        <distribution>repo</distribution>
                </license>
        </licenses>
        <scm>
                <tag>master</tag>
                <url>https://github.com/chendb/flagwind-mybatis.git</url>
                <connection>scm:git:https://github.com/chendb/flagwind-mybatis.git</connection>
                <developerConnection>scm:git:https://github.com/chendb/flagwind-mybatis.git</developerConnection>
        </scm>
        <developers>
                <developer>
                        <name>chendb</name>
                        <email>hbchendb1985@hotmail.com</email>
                        <organization>flagwind</organization>
                </developer>
        </developers>
        <build>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <version>3.6.1</version>
                                <configuration>
                                        <source>${jdk.version}</source>
                                        <target>${jdk.version}</target>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-source-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <id>attach-sources</id>
                                                <goals>
                                                        <goal>jar</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-javadoc-plugin</artifactId>
                                <version>3.0.0</version>
                                <configuration>
                                        <!-- 解决 java8 下发布到 maven 中心库时,生成 doc 的异常 -->
                                        <!--<additionalparam>-Xdoclint:none</additionalparam>-->
                                        <doclint>none</doclint>
                                        <charset>UTF-8</charset>
                                        <encoding>UTF-8</encoding>
                                        <docencoding>UTF-8</docencoding>
                                </configuration>
                                <executions>
                                        <execution>
                                                <id>attach-javadocs</id>
                                                <goals>
                                                        <goal>jar</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>
                </plugins>
        </build>
        <distributionManagement>
                <!-- 需要与conf/Setting.xml文件中的id保持一致 -->
                <snapshotRepository>
                        <id>sonatype-nexus-snapshots</id>
                        <name>Sonatype Nexus snapshot repository</name>
                        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
                </snapshotRepository>
                <repository>
                        <id>sonatype-nexus-staging</id>
                        <name>Sonatype Nexus release repository</name>
                        <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
                </repository>
        </distributionManagement>
        <profiles>
                <profile>
                        <id>release</id>
                        <activation>
                                <property>
                                        <name>performRelease</name>
                                        <value>true</value>
                                </property>
                        </activation>
                        <build>
                                <pluginManagement>
                                        <plugins>
                                                <plugin>
                                                        <groupId>org.apache.maven.plugins</groupId>
                                                        <artifactId>maven-gpg-plugin</artifactId>
                                                        <version>1.6</version>
                                                        <configuration>
                                                                <passphrase>${gpg.passphrase}</passphrase>
                                                        </configuration>
                                                        <executions>
                                                                <execution>
                                                                        <id>sign-artifacts</id>
                                                                        <phase>verify</phase>
                                                                        <goals>
                                                                                <goal>sign</goal>
                                                                        </goals>
                                                                </execution>
                                                        </executions>
                                                </plugin>
                                        </plugins>
                                </pluginManagement>
                        </build>
                </profile>
        </profiles>
        <!-- 使用aliyun maven -->
        <repositories>
                <repository>
                        <id>aliyun</id>
                        <name>aliyun</name>
                        <url>http://maven.aliyun.com/nexus/content/groups/public</url>
                </repository>
        </repositories>
</project>