|
@@ -0,0 +1,371 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<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/maven-v4_0_0.xsd">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+ <groupId>org.unidal.framework</groupId>
|
|
|
+ <artifactId>parent</artifactId>
|
|
|
+ <version>2.5.6</version>
|
|
|
+ <packaging>pom</packaging>
|
|
|
+ <name>Framework</name>
|
|
|
+ <description>Unidal Framework</description>
|
|
|
+ <modules>
|
|
|
+ <module>framework-bom</module>
|
|
|
+ <module>eunit-testfwk</module>
|
|
|
+ <module>type-converter</module>
|
|
|
+ <module>java-fragment</module>
|
|
|
+ <module>foundation-service</module>
|
|
|
+ <module>dal-jdbc</module>
|
|
|
+ <module>test-framework</module>
|
|
|
+ <module>web-framework</module>
|
|
|
+ <module>spring-support</module>
|
|
|
+ </modules>
|
|
|
+ <organization>
|
|
|
+ <name>Unidal Organization</name>
|
|
|
+ <url>http://www.unidal.org</url>
|
|
|
+ </organization>
|
|
|
+ <scm>
|
|
|
+ <connection>scm:git:git://github.com/unidal/frameworks.git</connection>
|
|
|
+ <developerConnection>scm:git:ssh://git@github.com/unidal/frameworks.git</developerConnection>
|
|
|
+ <url>https://github.com/unidal/frameworks/tree/master</url>
|
|
|
+ <tag>HEAD</tag>
|
|
|
+ </scm>
|
|
|
+ <licenses>
|
|
|
+ <license>
|
|
|
+ <name>The Apache License, Version 2.0</name>
|
|
|
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
+ </license>
|
|
|
+ </licenses>
|
|
|
+ <developers>
|
|
|
+ <developer>
|
|
|
+ <name>Frankie Wu</name>
|
|
|
+ <email>qmwu2000@gmail.com</email>
|
|
|
+ <timezone>Asia/Shanghai</timezone>
|
|
|
+ <organization>Unidal.org</organization>
|
|
|
+ <organizationUrl>http://unidal.org</organizationUrl>
|
|
|
+ </developer>
|
|
|
+ </developers>
|
|
|
+ <properties>
|
|
|
+ <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
|
|
+
|
|
|
+ <!-- library versions -->
|
|
|
+ <plexus.container.version>1.6</plexus.container.version>
|
|
|
+ <plexus.utils.version>3.0.24</plexus.utils.version>
|
|
|
+ <xbean-reflect.version>4.5</xbean-reflect.version>
|
|
|
+ <aspectjrt.version>1.5.4</aspectjrt.version>
|
|
|
+ <c3p0.version>0.9.5.2</c3p0.version>
|
|
|
+ <cat.version>1.3.6</cat.version>
|
|
|
+ <commons.fileupload.version>1.3.2</commons.fileupload.version>
|
|
|
+ <guava.version>15.0</guava.version>
|
|
|
+ <gson.version>2.7</gson.version>
|
|
|
+ <netty-all.version>4.0.24.Final</netty-all.version>
|
|
|
+
|
|
|
+ <h2.version>1.4.192</h2.version>
|
|
|
+ <jetty.version>6.1.26</jetty.version>
|
|
|
+ <jetty.jsp.version>6.1.14</jetty.jsp.version>
|
|
|
+
|
|
|
+ <junit.version>4.12</junit.version>
|
|
|
+ <log4j.version>1.2.17</log4j.version>
|
|
|
+ <mysql.version>5.1.39</mysql.version>
|
|
|
+ <spring.version>4.2.7.RELEASE</spring.version>
|
|
|
+ <testng.version>6.9.10</testng.version>
|
|
|
+
|
|
|
+ <!-- plugin version -->
|
|
|
+ <codegen.plugin.version>2.5.0</codegen.plugin.version>
|
|
|
+ <plexus.plugin.version>2.5.0</plexus.plugin.version>
|
|
|
+ </properties>
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.unidal.framework</groupId>
|
|
|
+ <artifactId>foundation-service</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.unidal.framework</groupId>
|
|
|
+ <artifactId>dal-jdbc</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.unidal.framework</groupId>
|
|
|
+ <artifactId>test-framework</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.unidal.framework</groupId>
|
|
|
+ <artifactId>web-framework</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.unidal.framework</groupId>
|
|
|
+ <artifactId>java-fragment</artifactId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.dianping.cat</groupId>
|
|
|
+ <artifactId>cat-client</artifactId>
|
|
|
+ <version>${cat.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.mchange</groupId>
|
|
|
+ <artifactId>c3p0</artifactId>
|
|
|
+ <version>${c3p0.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <version>${mysql.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.h2database</groupId>
|
|
|
+ <artifactId>h2</artifactId>
|
|
|
+ <version>${h2.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>junit</groupId>
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
+ <version>${junit.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.testng</groupId>
|
|
|
+ <artifactId>testng</artifactId>
|
|
|
+ <version>${testng.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.codehaus.plexus</groupId>
|
|
|
+ <artifactId>plexus-container-default</artifactId>
|
|
|
+ <version>${plexus.container.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.codehaus.plexus</groupId>
|
|
|
+ <artifactId>plexus-utils</artifactId>
|
|
|
+ <version>${plexus.utils.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.xbean</groupId>
|
|
|
+ <artifactId>xbean-reflect</artifactId>
|
|
|
+ <version>${xbean-reflect.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.aspectj</groupId>
|
|
|
+ <artifactId>aspectjrt</artifactId>
|
|
|
+ <version>${aspectjrt.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.guava</groupId>
|
|
|
+ <artifactId>guava</artifactId>
|
|
|
+ <version>${guava.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.code.gson</groupId>
|
|
|
+ <artifactId>gson</artifactId>
|
|
|
+ <version>${gson.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.netty</groupId>
|
|
|
+ <artifactId>netty-all</artifactId>
|
|
|
+ <version>${netty-all.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>log4j</groupId>
|
|
|
+ <artifactId>log4j</artifactId>
|
|
|
+ <version>${log4j.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-fileupload</groupId>
|
|
|
+ <artifactId>commons-fileupload</artifactId>
|
|
|
+ <version>${commons.fileupload.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-beans</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-context</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mortbay.jetty</groupId>
|
|
|
+ <artifactId>jetty</artifactId>
|
|
|
+ <version>${jetty.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mortbay.jetty</groupId>
|
|
|
+ <artifactId>jsp-2.1</artifactId>
|
|
|
+ <version>${jetty.jsp.version}</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
+ <build>
|
|
|
+ <pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.unidal.maven.plugins</groupId>
|
|
|
+ <artifactId>codegen-maven-plugin</artifactId>
|
|
|
+ <version>${codegen.plugin.version}</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.unidal.maven.plugins</groupId>
|
|
|
+ <artifactId>plexus-maven-plugin</artifactId>
|
|
|
+ <version>${plexus.plugin.version}</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>3.5.1</version>
|
|
|
+ <configuration>
|
|
|
+ <source>1.6</source>
|
|
|
+ <target>1.6</target>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
+ <version>2.19.1</version>
|
|
|
+ <configuration>
|
|
|
+ <!-- use -Dmaven.surefire.debug for remote debug -->
|
|
|
+ <includes>
|
|
|
+ <include>**/AllTests.java</include>
|
|
|
+ </includes>
|
|
|
+ <threadCount>1</threadCount>
|
|
|
+ </configuration>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.maven.surefire</groupId>
|
|
|
+ <artifactId>surefire-junit47</artifactId>
|
|
|
+ <version>2.19.1</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-war-plugin</artifactId>
|
|
|
+ <version>2.6</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
+ <version>3.0.2</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-dependency-plugin</artifactId>
|
|
|
+ <version>2.10</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-eclipse-plugin</artifactId>
|
|
|
+ <version>2.10</version>
|
|
|
+ <configuration>
|
|
|
+ <downloadSources>true</downloadSources>
|
|
|
+ <ajdtVersion>none</ajdtVersion>
|
|
|
+ <additionalConfig>
|
|
|
+ <file>
|
|
|
+ <name>.settings/org.eclipse.jdt.core.prefs</name>
|
|
|
+ <content><![CDATA[
|
|
|
+ org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
|
|
+ eclipse.preferences.version=1
|
|
|
+ org.eclipse.jdt.core.compiler.source=1.6
|
|
|
+ org.eclipse.jdt.core.compiler.compliance=1.6
|
|
|
+ ]]></content>
|
|
|
+ </file>
|
|
|
+ </additionalConfig>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-release-plugin</artifactId>
|
|
|
+ <version>2.5.3</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
+ <version>3.0.1</version>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
+ <version>2.2.1</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>attach-sources</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>jar-no-fork</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
+ <version>2.9.1</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>attach-javadocs</id>
|
|
|
+ <goals>
|
|
|
+ <goal>jar</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <charset>UTF-8</charset>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ <locale>en_US</locale>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-gpg-plugin</artifactId>
|
|
|
+ <version>1.5</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>sign-artifacts</id>
|
|
|
+ <phase>verify</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>sign</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+<!-- <plugin>
|
|
|
+ <groupId>org.sonatype.plugins</groupId>
|
|
|
+ <artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
+ <version>1.6.7</version>
|
|
|
+ <extensions>true</extensions>
|
|
|
+ <configuration>
|
|
|
+ <serverId>ossrh</serverId>
|
|
|
+ <nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
|
+ <autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ --> <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-release-plugin</artifactId>
|
|
|
+ <version>2.5.3</version>
|
|
|
+ <configuration>
|
|
|
+ <autoVersionSubmodules>true</autoVersionSubmodules>
|
|
|
+ <useReleaseProfile>false</useReleaseProfile>
|
|
|
+ <releaseProfiles>release</releaseProfiles>
|
|
|
+ <goals>deploy</goals>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ <distributionManagement>
|
|
|
+ <snapshotRepository>
|
|
|
+ <id>snapshots</id>
|
|
|
+ <url>${snapshots.repo}</url>
|
|
|
+ </snapshotRepository>
|
|
|
+ <repository>
|
|
|
+ <id>releases</id>
|
|
|
+ <url>${releases.repo}</url>
|
|
|
+ </repository>
|
|
|
+ </distributionManagement>
|
|
|
+</project>
|
|
|
+
|