diff --git a/modules/test/install.bat b/modules/test/install.bat deleted file mode 100644 index d726fa0ad..000000000 --- a/modules/test/install.bat +++ /dev/null @@ -1,6 +0,0 @@ -@echo off -echo [INFO] Install jar to local repository. - -cd %~dp0 -call mvn clean install -Dmaven.test.skip=true -pause \ No newline at end of file diff --git a/modules/test/pom.xml b/modules/test/pom.xml deleted file mode 100644 index 9d904ed19..000000000 --- a/modules/test/pom.xml +++ /dev/null @@ -1,188 +0,0 @@ -<?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/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.springside</groupId> - <artifactId>springside-parent</artifactId> - <version>4.1.1-SNAPSHOT</version> - <relativePath>../parent/</relativePath> - </parent> - <artifactId>springside-test</artifactId> - <packaging>jar</packaging> - <name>Springside :: Module :: Test</name> - - <dependencies> - <!-- SPRING begin --> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-jdbc</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-context</artifactId> - <optional>true</optional> - </dependency> - <!-- SPRING end --> - - <!-- CACHE --> - <dependency> - <groupId>net.spy</groupId> - <artifactId>spymemcached</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>com.thimbleware.jmemcached</groupId> - <artifactId>jmemcached-core</artifactId> - <scope>compile</scope> - <optional>true</optional> - </dependency> - - <!-- SECURITY begin --> - <dependency> - <groupId>org.apache.shiro</groupId> - <artifactId>shiro-core</artifactId> - <optional>true</optional> - </dependency> - <!-- SECURITY end --> - - <!-- Mail --> - <dependency> - <groupId>com.icegreen</groupId> - <artifactId>greenmail</artifactId> - <scope>compile</scope> - <optional>true</optional> - </dependency> - - <!-- UTILS begin --> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>com.google.guava</groupId> - <artifactId>guava</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <optional>true</optional> - </dependency> - <!-- UTILS end --> - - <!-- LOGGING begin --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>ch.qos.logback</groupId> - <artifactId>logback-classic</artifactId> - <scope>compile</scope> - <optional>true</optional> - </dependency> - <!-- LOGGING end --> - - <!-- TEST MODULE begin --> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-core</artifactId> - <scope>compile</scope> - <optional>true</optional> - </dependency> - - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-test</artifactId> - <scope>compile</scope> - <optional>true</optional> - </dependency> - - <dependency> - <groupId>org.eclipse.jetty.aggregate</groupId> - <artifactId>jetty-webapp</artifactId> - <scope>compile</scope> - <optional>true</optional> - </dependency> - - <dependency> - <groupId>org.seleniumhq.selenium</groupId> - <artifactId>selenium-java</artifactId> - <scope>compile</scope> - <optional>true</optional> - </dependency> - <dependency> - <groupId>org.seleniumhq.selenium</groupId> - <artifactId>selenium-remote-driver</artifactId> - <scope>compile</scope> - <optional>true</optional> - </dependency> - <!-- TEST MODULE end --> - - <!-- TEST begin --> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>compile</scope> - <optional>true</optional> - </dependency> - - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-module-junit4</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-api-mockito</artifactId> - <optional>true</optional> - </dependency> - - <dependency> - <groupId>com.h2database</groupId> - <artifactId>h2</artifactId> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-aop</artifactId> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>jcl-over-slf4j</artifactId> - <scope>test</scope> - </dependency> - <!-- TEST end --> - </dependencies> - - <build> - <plugins> - <!-- source attach 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> - - <!-- enforcer, 规则统一定义在parent --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-enforcer-plugin</artifactId> - </plugin> - </plugins> - </build> -</project> diff --git a/modules/test/src/test/resources/logback.xml b/modules/test/src/test/resources/logback.xml deleted file mode 100644 index 8ea05885f..000000000 --- a/modules/test/src/test/resources/logback.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<configuration> - <appender name="console" class="ch.qos.logback.core.ConsoleAppender"> - <encoder> - <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> - </encoder> - </appender> - <logger name="org.springside.modules" level="INFO"/> - <root level="WARN"> - <appender-ref ref="console"/> - </root> -</configuration> \ No newline at end of file