1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <parent >
6+ <artifactId >stateless-auth</artifactId >
7+ <groupId >com.fd</groupId >
8+ <version >1.0-SNAPSHOT</version >
9+ </parent >
10+ <modelVersion >4.0.0</modelVersion >
11+
12+ <artifactId >spring-session-auth</artifactId >
13+
14+ <properties >
15+ <mapstruct .version>1.2.0.Final</mapstruct .version>
16+ <hibernate .jpamodelgen-version>5.3.2.Final</hibernate .jpamodelgen-version>
17+ <jaxb .version>2.3.0</jaxb .version>
18+ </properties >
19+
20+ <dependencies >
21+ <dependency >
22+ <groupId >org.springframework.boot</groupId >
23+ <artifactId >spring-boot-starter-web</artifactId >
24+ <exclusions >
25+ <exclusion >
26+ <groupId >ch.qos.logback</groupId >
27+ <artifactId >logback-classic</artifactId >
28+ </exclusion >
29+
30+ <exclusion >
31+ <groupId >org.apache.logging.log4j</groupId >
32+ <artifactId >log4j-to-slf4j</artifactId >
33+ </exclusion >
34+ </exclusions >
35+ </dependency >
36+
37+ <dependency >
38+ <groupId >org.springframework.boot</groupId >
39+ <artifactId >spring-boot-starter-security</artifactId >
40+ <exclusions >
41+ <exclusion >
42+ <groupId >ch.qos.logback</groupId >
43+ <artifactId >logback-classic</artifactId >
44+ </exclusion >
45+
46+ <exclusion >
47+ <groupId >org.apache.logging.log4j</groupId >
48+ <artifactId >log4j-to-slf4j</artifactId >
49+ </exclusion >
50+ </exclusions >
51+ </dependency >
52+
53+ <dependency >
54+ <groupId >org.springframework.boot</groupId >
55+ <artifactId >spring-boot-starter-data-jpa</artifactId >
56+ <exclusions >
57+ <exclusion >
58+ <groupId >ch.qos.logback</groupId >
59+ <artifactId >logback-classic</artifactId >
60+ </exclusion >
61+
62+ <exclusion >
63+ <groupId >org.apache.logging.log4j</groupId >
64+ <artifactId >log4j-to-slf4j</artifactId >
65+ </exclusion >
66+ </exclusions >
67+ </dependency >
68+
69+ <dependency >
70+ <groupId >org.springframework.session</groupId >
71+ <artifactId >spring-session-data-redis</artifactId >
72+ </dependency >
73+
74+ <dependency >
75+ <groupId >io.lettuce</groupId >
76+ <artifactId >lettuce-core</artifactId >
77+ </dependency >
78+
79+ <dependency >
80+ <groupId >org.hibernate</groupId >
81+ <artifactId >hibernate-c3p0</artifactId >
82+ </dependency >
83+
84+ <dependency >
85+ <groupId >org.postgresql</groupId >
86+ <artifactId >postgresql</artifactId >
87+ </dependency >
88+
89+ <dependency >
90+ <groupId >org.mapstruct</groupId >
91+ <artifactId >mapstruct-jdk8</artifactId >
92+ <version >${mapstruct.version} </version >
93+ </dependency >
94+
95+ <dependency >
96+ <groupId >javax.xml.bind</groupId >
97+ <artifactId >jaxb-api</artifactId >
98+ <version >${jaxb.version} </version >
99+ </dependency >
100+
101+ <dependency >
102+ <groupId >com.fd</groupId >
103+ <artifactId >stateless-auth-dto</artifactId >
104+ <version >1.0-SNAPSHOT</version >
105+ </dependency >
106+ </dependencies >
107+
108+ <build >
109+ <plugins >
110+
111+ <!-- MAVEN COMPILER PLUGIN -->
112+ <plugin >
113+ <groupId >org.apache.maven.plugins</groupId >
114+ <artifactId >maven-compiler-plugin</artifactId >
115+ <version >${maven.plugin.compiler.version} </version >
116+ <configuration >
117+ <source >${java-version} </source >
118+ <target >${java-version} </target >
119+ <encoding >UTF-8</encoding >
120+
121+ <annotationProcessorPaths >
122+ <path >
123+ <groupId >org.mapstruct</groupId >
124+ <artifactId >mapstruct-processor</artifactId >
125+ <version >${mapstruct.version} </version >
126+ </path >
127+ <path >
128+ <groupId >org.projectlombok</groupId >
129+ <artifactId >lombok</artifactId >
130+ <version >${lombok-version} </version >
131+ </path >
132+ </annotationProcessorPaths >
133+ </configuration >
134+ </plugin >
135+
136+ <!-- MAVEN ADD GENERATED-SOURCES TO CLASSPATH -->
137+ <plugin >
138+ <groupId >org.codehaus.mojo</groupId >
139+ <artifactId >build-helper-maven-plugin</artifactId >
140+ <version >${maven.plugin.build-helper.version} </version >
141+ <executions >
142+ <execution >
143+ <phase >generate-sources</phase >
144+ <goals >
145+ <goal >add-source</goal >
146+ </goals >
147+ <configuration >
148+ <sources >
149+ <source >target/generated-sources/annotations</source >
150+ </sources >
151+ </configuration >
152+ </execution >
153+ </executions >
154+ </plugin >
155+
156+ <!-- Hibernate Type Safe metamodel -->
157+ <plugin >
158+ <groupId >org.bsc.maven</groupId >
159+ <artifactId >maven-processor-plugin</artifactId >
160+ <version >${maven.plugin.processor.version} </version >
161+ <executions >
162+ <execution >
163+ <id >process</id >
164+ <goals >
165+ <goal >process</goal >
166+ </goals >
167+ <phase >generate-sources</phase >
168+ <configuration >
169+ <processors >
170+ <processor >org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor >
171+ </processors >
172+ <outputDirectory >target/generated-sources/annotations</outputDirectory >
173+ </configuration >
174+ </execution >
175+ </executions >
176+ <dependencies >
177+ <dependency >
178+ <groupId >org.hibernate</groupId >
179+ <artifactId >hibernate-jpamodelgen</artifactId >
180+ <version >${hibernate.jpamodelgen-version} </version >
181+ </dependency >
182+ </dependencies >
183+ </plugin >
184+ </plugins >
185+ </build >
186+
187+ </project >
0 commit comments