entity-managerへの依存性を修正。hibernateの依存性がたくさん重複してたっぽいぞ>< とりあえずhibernate-entitymanagerを依存性にいれた。entitymanagerの依存性にhibernate自体がはいっているのでこれでhibernateもロードされる。
@@ -1,6 +1,5 @@ | ||
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
3 | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
2 | +<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"> | |
4 | 3 | <modelVersion>4.0.0</modelVersion> |
5 | 4 | <groupId>org.wicket-ja</groupId> |
6 | 5 | <artifactId>wicket-ja</artifactId> |
@@ -7,13 +6,9 @@ | ||
7 | 6 | <packaging>war</packaging> |
8 | 7 | <name>Wicket User Group Japan Web Site Project</name> |
9 | 8 | <version>1.0-beta1</version> |
10 | - <description> | |
11 | - <![CDATA[ | |
12 | - 日本Wicketユーザグループ(Wicket User Group Japan)のウェブサイトを、Wicketを利用して作成します。 | |
9 | + <description>日本Wicketユーザグループ(Wicket User Group Japan)のウェブサイトを、Wicketを利用して作成します。 | |
13 | 10 | このサイト自体がWicketの使用事例になり、また、このソースコードを公開することにより、これからWicketを使用する方の為の |
14 | - サンプル・チュートリアルとなることを目指します。 | |
15 | - ]]> | |
16 | - </description> | |
11 | + サンプル・チュートリアルとなることを目指します。</description> | |
17 | 12 | <url>https://sourceforge.jp/projects/wicket-ja/</url> |
18 | 13 | <!-- ITSを導入したら設定 |
19 | 14 | <issueManagement> |
@@ -48,15 +43,13 @@ | ||
48 | 43 | <developer> |
49 | 44 | <id>benbrand</id> |
50 | 45 | <name>Tsutomu YANO</name> |
51 | - <email /> | |
52 | - <url /> | |
46 | + <email>benbrand@mac.com</email> | |
47 | + <url>http://d.hatena.ne.jp/t_yano/</url> | |
53 | 48 | <timezone>+9</timezone> |
54 | 49 | </developer> |
55 | 50 | <developer> |
56 | 51 | <id>yoichiro</id> |
57 | 52 | <name>Yoichiro TANAKA</name> |
58 | - <email /> | |
59 | - <url /> | |
60 | 53 | <timezone>+9</timezone> |
61 | 54 | </developer> |
62 | 55 | <developer> |
@@ -76,8 +69,6 @@ | ||
76 | 69 | <developer> |
77 | 70 | <id>tonouchi</id> |
78 | 71 | <name>Seiji TONOUCHI</name> |
79 | - <email /> | |
80 | - <url /> | |
81 | 72 | </developer> |
82 | 73 | <developer> |
83 | 74 | <id>meso</id> |
@@ -113,7 +104,6 @@ | ||
113 | 104 | <id>codehaus snapshot repository</id> |
114 | 105 | <url>http://snapshots.repository.codehaus.org/</url> |
115 | 106 | <releases> |
116 | - <enabled>true</enabled> | |
117 | 107 | </releases> |
118 | 108 | </pluginRepository> |
119 | 109 | </pluginRepositories> |
@@ -131,28 +121,24 @@ | ||
131 | 121 | <version>${wicket.version}</version> |
132 | 122 | </dependency> |
133 | 123 | --> |
134 | - <!-- hibernate --> | |
135 | - <dependency> | |
136 | - <groupId>org.hibernate</groupId> | |
137 | - <artifactId>hibernate</artifactId> | |
138 | - <version>3.2.6.ga</version> | |
139 | - </dependency> | |
140 | - <dependency> | |
141 | - <groupId>org.hibernate</groupId> | |
142 | - <artifactId>hibernate-annotations</artifactId> | |
143 | - <version>3.3.0.ga</version> | |
144 | - </dependency> | |
145 | - <dependency> | |
146 | - <groupId>org.hibernate</groupId> | |
147 | - <artifactId>hibernate-commons-annotations</artifactId> | |
148 | - <version>3.3.0.ga</version> | |
149 | - </dependency> | |
150 | - <!-- Spring --> | |
151 | - <dependency> | |
152 | - <groupId>org.springframework</groupId> | |
153 | - <artifactId>spring</artifactId> | |
154 | - <version>${spring.version}</version> | |
155 | - </dependency> | |
124 | + <!-- java persistence api --> | |
125 | + <dependency> | |
126 | + <groupId>org.hibernate</groupId> | |
127 | + <artifactId>hibernate-entitymanager</artifactId> | |
128 | + <version>3.3.1.ga</version> | |
129 | + <exclusions> | |
130 | + <exclusion> | |
131 | + <artifactId>jta</artifactId> | |
132 | + <groupId>javax.transaction</groupId> | |
133 | + </exclusion> | |
134 | + </exclusions> | |
135 | + </dependency> | |
136 | + <!-- Spring --> | |
137 | + <dependency> | |
138 | + <groupId>org.springframework</groupId> | |
139 | + <artifactId>spring</artifactId> | |
140 | + <version>${spring.version}</version> | |
141 | + </dependency> | |
156 | 142 | |
157 | 143 | <!-- LOGGING DEPENDENCIES - LOG4J --> |
158 | 144 | <dependency> |
@@ -200,32 +186,14 @@ | ||
200 | 186 | <artifactId>jetty-management</artifactId> |
201 | 187 | <version>${jetty.version}</version> |
202 | 188 | <scope>provided</scope> |
203 | - </dependency> | |
204 | - <!-- parsistance --> | |
205 | - <dependency> | |
206 | - <groupId>org.hibernate</groupId> | |
207 | - <artifactId>hibernate</artifactId> | |
208 | - <version>3.2.5.ga</version> | |
209 | - </dependency> | |
210 | - <dependency> | |
211 | - <groupId>org.hibernate</groupId> | |
212 | - <artifactId>hibernate-entitymanager</artifactId> | |
213 | - <version>3.3.1.ga</version> | |
214 | - </dependency> | |
215 | - <dependency> | |
216 | - <groupId>org.hibernate</groupId> | |
217 | - <artifactId>hibernate-annotations</artifactId> | |
218 | - <version>3.3.0.ga</version> | |
219 | - </dependency> | |
189 | + </dependency> | |
220 | 190 | </dependencies> |
221 | 191 | <build> |
222 | 192 | <resources> |
223 | 193 | <resource> |
224 | - <filtering>false</filtering> | |
225 | 194 | <directory>src/main/resources</directory> |
226 | 195 | </resource> |
227 | 196 | <resource> |
228 | - <filtering>false</filtering> | |
229 | 197 | <directory>src/main/java</directory> |
230 | 198 | <includes> |
231 | 199 | <include>**</include> |
@@ -237,7 +205,6 @@ | ||
237 | 205 | </resources> |
238 | 206 | <testResources> |
239 | 207 | <testResource> |
240 | - <filtering>false</filtering> | |
241 | 208 | <directory>src/test/java</directory> |
242 | 209 | <includes> |
243 | 210 | <include>**</include> |
@@ -302,7 +269,7 @@ | ||
302 | 269 | </build> |
303 | 270 | <properties> |
304 | 271 | <wicket.version>1.3.2</wicket.version> |
305 | - <jetty.version>6.1.4</jetty.version> | |
272 | + <jetty.version>6.1.4</jetty.version> | |
306 | 273 | <spring.version>2.5.1</spring.version> |
307 | 274 | </properties> |
308 | -</project> | |
\ No newline at end of file | ||
275 | +</project> |