From bf3860360e940865349894380ae13b4d4150a6ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BF=8A=E6=9D=B0Jerry?= Date: Thu, 28 Aug 2014 17:05:01 +0800 Subject: [PATCH] up --- pom.xml | 73 +++++---- src/main/java/applicationContext.xml | 149 ----------------- src/main/resources/applicationContext.xml | 152 ++++++++++++++++++ src/main/{java => resources}/jdbc.properties | 0 .../jgframework.properties | 0 src/main/{java => resources}/log4j.properties | 0 src/main/{java => resources}/services.xml | 0 7 files changed, 194 insertions(+), 180 deletions(-) delete mode 100644 src/main/java/applicationContext.xml create mode 100644 src/main/resources/applicationContext.xml rename src/main/{java => resources}/jdbc.properties (100%) rename src/main/{java => resources}/jgframework.properties (100%) rename src/main/{java => resources}/log4j.properties (100%) rename src/main/{java => resources}/services.xml (100%) diff --git a/pom.xml b/pom.xml index 5764f0f..edca4aa 100644 --- a/pom.xml +++ b/pom.xml @@ -1,33 +1,44 @@ - 4.0.0 - JgWeb - JgWeb - war - 0.0.1-SNAPSHOT - JgWeb - http://maven.apache.org - - - javax.servlet - servlet-api - 2.5 - compile - true - - - - org.java-websocket - Java-WebSocket - 1.3.0 - - - JgFramework - JgFramework - 0.0.1-SNAPSHOT - - - - JgWeb - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + 4.0.0 + JgWeb + JgWeb + war + 0.0.1-SNAPSHOT + JgWeb + http://maven.apache.org + + JgWeb + + + org.apache.maven.plugins + maven-compiler-plugin + 2.3.2 + + 1.7 + 1.7 + + + + + + + javax.servlet + servlet-api + 2.5 + compile + true + + + + org.java-websocket + Java-WebSocket + 1.3.0 + + + JgFramework + JgFramework + 0.0.1-SNAPSHOT + + diff --git a/src/main/java/applicationContext.xml b/src/main/java/applicationContext.xml deleted file mode 100644 index b86ba47..0000000 --- a/src/main/java/applicationContext.xml +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - org.hibernate.dialect.MySQLInnoDBDialect - false - none - - - - - classpath*:com/zhaidaosi/game/server/sdm/model/*.class - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/applicationContext.xml b/src/main/resources/applicationContext.xml new file mode 100644 index 0000000..faef883 --- /dev/null +++ b/src/main/resources/applicationContext.xml @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + org.hibernate.dialect.MySQLInnoDBDialect + false + none + + + + + + classpath*:com/zhaidaosi/game/server/sdm/model/*.class + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/jdbc.properties b/src/main/resources/jdbc.properties similarity index 100% rename from src/main/java/jdbc.properties rename to src/main/resources/jdbc.properties diff --git a/src/main/java/jgframework.properties b/src/main/resources/jgframework.properties similarity index 100% rename from src/main/java/jgframework.properties rename to src/main/resources/jgframework.properties diff --git a/src/main/java/log4j.properties b/src/main/resources/log4j.properties similarity index 100% rename from src/main/java/log4j.properties rename to src/main/resources/log4j.properties diff --git a/src/main/java/services.xml b/src/main/resources/services.xml similarity index 100% rename from src/main/java/services.xml rename to src/main/resources/services.xml