1
1
<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
3
- <modelVersion >4.0.0</modelVersion >
4
-
5
- <artifactId >spring-data-jpa-showcase</artifactId >
6
-
7
- <parent >
8
- <groupId >org.springframework.data.jpa.examples</groupId >
2
+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
3
+ <modelVersion >4.0.0</modelVersion >
4
+
5
+ <artifactId >spring-data-jpa-showcase</artifactId >
6
+
7
+ <parent >
8
+ <groupId >org.springframework.data.jpa.examples</groupId >
9
9
<artifactId >spring-data-jpa-examples-parent</artifactId >
10
- <version >1.0.0 .BUILD-SNAPSHOT</version >
10
+ <version >1.0.2 .BUILD-SNAPSHOT</version >
11
11
<relativePath >../pom.xml</relativePath >
12
- </parent >
13
-
14
- <name >Spring Data JPA showcase</name >
15
- <description >Sample project showing how Spring Data JPA eases implementing repositories over a plain JPA/Spring approach</description >
16
-
17
- <properties >
18
- <querydsl .version>2.1.1</querydsl .version>
19
- </properties >
12
+ </parent >
13
+
14
+ <name >Spring Data JPA showcase</name >
15
+ <description >Sample project showing how Spring Data JPA eases implementing repositories over a plain JPA/Spring approach</description >
16
+
17
+ <properties >
18
+ <querydsl .version>2.2.5</querydsl .version>
19
+ </properties >
20
+
21
+ <build >
22
+
23
+ <resources >
24
+ <resource >
25
+ <directory >src/main/resources</directory >
26
+ </resource >
27
+ <resource >
28
+ <directory >src/snippets/resources</directory >
29
+ </resource >
30
+ </resources >
31
+
32
+ <plugins >
20
33
21
- <build >
22
-
23
- <resources >
24
- <resource >
25
- <directory >src/main/resources</directory >
26
- </resource >
27
- <resource >
28
- <directory >src/snippets/resources</directory >
29
- </resource >
30
- </resources >
31
-
32
- <plugins >
33
-
34
- <plugin >
35
- <groupId >org.codehaus.mojo</groupId >
36
- <artifactId >build-helper-maven-plugin</artifactId >
37
- <version >1.5</version >
38
- <executions >
39
- <execution >
40
- <id >add-source</id >
41
- <phase >generate-sources</phase >
42
- <goals >
43
- <goal >add-source</goal >
44
- </goals >
45
- <configuration >
46
- <sources >
47
- <source >${basedir} /src/snippets/java</source >
48
- </sources >
49
- </configuration >
50
- </execution >
51
- <execution >
52
- <id >add-test-source</id >
53
- <phase >generate-sources</phase >
54
- <goals >
55
- <goal >add-test-source</goal >
56
- </goals >
57
- <configuration >
58
- <sources >
59
- <source >${basedir} /src/test-snippets/java</source >
60
- </sources >
61
- </configuration >
62
- </execution >
63
- </executions >
64
- </plugin >
65
-
66
- <plugin >
34
+ <plugin >
35
+ <groupId >org.codehaus.mojo</groupId >
36
+ <artifactId >build-helper-maven-plugin</artifactId >
37
+ <version >1.5</version >
38
+ <executions >
39
+ <execution >
40
+ <id >add-source</id >
41
+ <phase >generate-sources</phase >
42
+ <goals >
43
+ <goal >add-source</goal >
44
+ </goals >
45
+ <configuration >
46
+ <sources >
47
+ <source >${basedir} /src/snippets/java</source >
48
+ </sources >
49
+ </configuration >
50
+ </execution >
51
+ <execution >
52
+ <id >add-test-source</id >
53
+ <phase >generate-sources</phase >
54
+ <goals >
55
+ <goal >add-test-source</goal >
56
+ </goals >
57
+ <configuration >
58
+ <sources >
59
+ <source >${basedir} /src/test-snippets/java</source >
60
+ </sources >
61
+ </configuration >
62
+ </execution >
63
+ </executions >
64
+ </plugin >
65
+
66
+ <plugin >
67
67
<groupId >org.apache.maven.plugins</groupId >
68
68
<artifactId >maven-surefire-plugin</artifactId >
69
69
<version >2.4.3</version >
73
73
</excludes >
74
74
</configuration >
75
75
</plugin >
76
- </plugins >
77
- </build >
78
-
79
- <profiles >
80
- <profile >
81
- <id >querydsl</id >
82
- <activation >
83
- <activeByDefault >true</activeByDefault >
84
- </activation >
85
- <dependencies >
86
- <!-- QueryDsl -->
76
+ </plugins >
77
+ </build >
78
+
79
+ <profiles >
80
+ <profile >
81
+ <id >querydsl</id >
82
+ <activation >
83
+ <activeByDefault >true</activeByDefault >
84
+ </activation >
85
+ <dependencies >
86
+
87
+ <!-- QueryDsl -->
87
88
<dependency >
88
89
<groupId >com.mysema.querydsl</groupId >
89
90
<artifactId >querydsl-apt</artifactId >
90
91
<version >${querydsl.version} </version >
91
92
<scope >provided</scope >
92
93
</dependency >
93
-
94
+
94
95
<dependency >
95
96
<groupId >com.mysema.querydsl</groupId >
96
97
<artifactId >querydsl-jpa</artifactId >
97
98
<version >${querydsl.version} </version >
98
99
</dependency >
99
- </dependencies >
100
-
101
- <repositories >
102
- <repository >
100
+ </dependencies >
101
+
102
+ <repositories >
103
+ <repository >
103
104
<id >querydsl</id >
104
105
<name >QueryDsl</name >
105
106
<url >http://source.mysema.com/maven2/releases</url >
106
107
</repository >
107
- </repositories >
108
-
109
- <build >
110
- <plugins >
111
- <plugin >
108
+ </repositories >
109
+
110
+ <build >
111
+ <plugins >
112
+ <plugin >
112
113
<groupId >com.mysema.maven</groupId >
113
114
<artifactId >maven-apt-plugin</artifactId >
114
115
<version >1.0</version >
125
126
</execution >
126
127
</executions >
127
128
</plugin >
128
- </plugins >
129
- </build >
130
- </profile >
131
- </profiles >
129
+ </plugins >
130
+ </build >
131
+ </profile >
132
+ </profiles >
132
133
133
134
</project >
0 commit comments