File tree 2 files changed +28
-29
lines changed
src/main/resources/META-INF
2 files changed +28
-29
lines changed Original file line number Diff line number Diff line change 151
151
<finalName >blogapp</finalName >
152
152
<plugins >
153
153
<plugin >
154
- <groupId >org.codehaus.mojo</groupId >
155
- <artifactId >hibernate3-maven-plugin</artifactId >
156
- <version >2.2</version >
154
+ <artifactId >maven-compiler-plugin</artifactId >
155
+ <version >2.3.2</version >
156
+ <configuration >
157
+ <source >1.6</source >
158
+ <target >1.6</target >
159
+ <compilerArgument >-proc:none</compilerArgument >
160
+ </configuration >
161
+ </plugin >
162
+ <plugin >
163
+ <groupId >org.bsc.maven</groupId >
164
+ <artifactId >maven-processor-plugin</artifactId >
165
+ <version >2.0.5</version >
157
166
<executions >
158
- <execution >
159
- <phase >generate-sources</phase >
160
- <goals >
161
- <goal >hbm2java</goal >
162
- </goals >
163
- <inherited >false</inherited >
164
- <configuration >
165
- <components >
166
- <component >
167
- <name >hbm2ddl</name >
168
- <implementation >annotationconfiguration</implementation >
169
- </component >
170
- </components >
171
- <componentProperties >
172
- <export >true</export >
173
- <jdk5 >true</jdk5 >
174
- <drop >true</drop >
175
- <create >true</create >
176
- <haltonerror >false</haltonerror >
177
- <autocommit >false</autocommit >
178
- <format >true</format >
179
- </componentProperties >
180
- </configuration >
167
+ <execution >
168
+ <goals >
169
+ <goal >process</goal >
170
+ </goals >
171
+ <phase >process-sources</phase >
181
172
</execution >
182
173
</executions >
183
-
174
+ <dependencies >
175
+ <dependency >
176
+ <groupId >org.hibernate</groupId >
177
+ <artifactId >hibernate-jpamodelgen</artifactId >
178
+ <version >1.1.1.Final</version >
179
+ <scope >compile</scope >
180
+ </dependency >
181
+ </dependencies >
184
182
</plugin >
185
183
</plugins >
186
184
</build >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" standalone =" no" ?>
2
2
<persistence xmlns =" http://java.sun.com/xml/ns/persistence" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
- version=" 1.0" xsi : schemaLocation =" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" >
3
+ xsi:schemaLocation=" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
4
+ version=" 2.0" >
4
5
<persistence-unit name =" blogapp" >
5
6
<class >com.goeswhere.frameworkgame.blogapp.domain.Post</class >
6
7
<class >com.goeswhere.frameworkgame.blogapp.domain.Comment</class >
7
8
<class >com.goeswhere.frameworkgame.blogapp.domain.Category</class >
8
9
</persistence-unit >
9
- </persistence >
10
+ </persistence >
You can’t perform that action at this time.
0 commit comments