|
157 | 157 | <!-- persistence - query --> |
158 | 158 |
|
159 | 159 | <!-- Querydsl --> |
160 | | - <dependency> |
161 | | - <groupId>com.mysema.querydsl</groupId> |
162 | | - <artifactId>querydsl-core</artifactId> |
163 | | - <version>${querydsl.version}</version> |
164 | | - </dependency> |
| 160 | + <!--(temporarily disabled) --> |
| 161 | + <!-- <dependency> <groupId>com.mysema.querydsl</groupId> <artifactId>querydsl-core</artifactId> <version>${querydsl.version}</version> </dependency> |
| 162 | + <dependency> <groupId>com.mysema.querydsl</groupId> <artifactId>querydsl-apt</artifactId> <version>${querydsl.version}</version> </dependency> |
| 163 | + <dependency> <groupId>com.mysema.querydsl</groupId> <artifactId>querydsl-jpa</artifactId> <version>${querydsl.version}</version> </dependency> --> |
165 | 164 |
|
| 165 | + <!-- persistence - JPA 2 metamodel --> |
166 | 166 | <dependency> |
167 | | - <groupId>com.mysema.querydsl</groupId> |
168 | | - <artifactId>querydsl-apt</artifactId> |
169 | | - <version>${querydsl.version}</version> |
170 | | - </dependency> |
171 | | - |
172 | | - <dependency> |
173 | | - <groupId>com.mysema.querydsl</groupId> |
174 | | - <artifactId>querydsl-jpa</artifactId> |
175 | | - <version>${querydsl.version}</version> |
| 167 | + <groupId>org.hibernate</groupId> |
| 168 | + <artifactId>hibernate-jpamodelgen</artifactId> |
| 169 | + <version>1.2.0.CR1</version> |
176 | 170 | </dependency> |
177 | 171 |
|
178 | 172 | <!-- logging --> |
|
246 | 240 | <groupId>org.apache.commons</groupId> |
247 | 241 | <artifactId>commons-lang3</artifactId> |
248 | 242 | <version>${commons-lang3.version}</version> |
249 | | - <scope>test</scope> |
250 | 243 | </dependency> |
251 | 244 |
|
252 | 245 | <dependency> |
|
304 | 297 | <configuration> |
305 | 298 | <source>1.6</source> |
306 | 299 | <target>1.6</target> |
| 300 | + <compilerArgument>-proc:none</compilerArgument> |
307 | 301 | </configuration> |
308 | 302 | </plugin> |
309 | 303 |
|
|
340 | 334 | </executions> |
341 | 335 | </plugin> |
342 | 336 |
|
| 337 | + |
| 338 | + <!-- Querydsl - used to generate metadata --> |
| 339 | + <!--(temporarily disabled) --> |
| 340 | + <!-- <plugin> <groupId>com.mysema.maven</groupId> <artifactId>maven-apt-plugin</artifactId> <version>1.0.2</version> <executions> <execution> |
| 341 | + <phase>generate-sources</phase> <goals> <goal>process</goal> </goals> <configuration> <outputDirectory>target/generated-sources</outputDirectory> |
| 342 | + <processor>com.mysema.query.apt.jpa.JPAAnnotationProcessor</processor> </configuration> </execution> </executions> </plugin> --> |
| 343 | + |
| 344 | + <!-- JPA 2 metamodel --> |
| 345 | + <!-- --> |
| 346 | + <plugin> |
| 347 | + <groupId>org.bsc.maven</groupId> |
| 348 | + <artifactId>maven-processor-plugin</artifactId> |
| 349 | + <version>2.0.5</version> |
| 350 | + <executions> |
| 351 | + <execution> |
| 352 | + <id>process</id> |
| 353 | + <goals> |
| 354 | + <goal>process</goal> |
| 355 | + </goals> |
| 356 | + <phase>generate-sources</phase> |
| 357 | + <configuration> |
| 358 | + source output directory |
| 359 | + <outputDirectory>target/metamodel</outputDirectory> |
| 360 | + </configuration> |
| 361 | + </execution> |
| 362 | + </executions> |
| 363 | + </plugin> |
| 364 | + <plugin> |
| 365 | + <groupId>org.codehaus.mojo</groupId> |
| 366 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 367 | + <version>1.7</version> |
| 368 | + <executions> |
| 369 | + <execution> |
| 370 | + <id>add-source</id> |
| 371 | + <phase>generate-sources</phase> |
| 372 | + <goals> |
| 373 | + <goal>add-source</goal> |
| 374 | + </goals> |
| 375 | + <configuration> |
| 376 | + <sources> |
| 377 | + <source>target/metamodel</source> |
| 378 | + </sources> |
| 379 | + </configuration> |
| 380 | + </execution> |
| 381 | + </executions> |
| 382 | + </plugin> |
343 | 383 | </plugins> |
344 | 384 |
|
345 | 385 | <!-- generated by m2e --> |
|
372 | 412 | <ignore></ignore> |
373 | 413 | </action> |
374 | 414 | </pluginExecution> |
| 415 | + <pluginExecution> |
| 416 | + <pluginExecutionFilter> |
| 417 | + <groupId>com.mysema.maven</groupId> |
| 418 | + <artifactId>maven-apt-plugin</artifactId> |
| 419 | + <versionRange>[1.0.2,)</versionRange> |
| 420 | + <goals> |
| 421 | + <goal>process</goal> |
| 422 | + </goals> |
| 423 | + </pluginExecutionFilter> |
| 424 | + <action> |
| 425 | + <ignore></ignore> |
| 426 | + </action> |
| 427 | + </pluginExecution> |
| 428 | + <pluginExecution> |
| 429 | + <pluginExecutionFilter> |
| 430 | + <groupId>org.bsc.maven</groupId> |
| 431 | + <artifactId>maven-processor-plugin</artifactId> |
| 432 | + <versionRange>[2.0.5,)</versionRange> |
| 433 | + <goals> |
| 434 | + <goal>process</goal> |
| 435 | + </goals> |
| 436 | + </pluginExecutionFilter> |
| 437 | + <action> |
| 438 | + <ignore></ignore> |
| 439 | + </action> |
| 440 | + </pluginExecution> |
| 441 | + <pluginExecution> |
| 442 | + <pluginExecutionFilter> |
| 443 | + <groupId>org.codehaus.mojo</groupId> |
| 444 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 445 | + <versionRange>[1.3,)</versionRange> |
| 446 | + <goals> |
| 447 | + <goal>add-source</goal> |
| 448 | + </goals> |
| 449 | + </pluginExecutionFilter> |
| 450 | + <action> |
| 451 | + <ignore></ignore> |
| 452 | + </action> |
| 453 | + </pluginExecution> |
375 | 454 | </pluginExecutions> |
376 | 455 | </lifecycleMappingMetadata> |
377 | 456 | </configuration> |
|
0 commit comments