Skip to content

Commit 9ec6e18

Browse files
KevinGilmorepivovarit
authored andcommitted
BAEL-592: Cleanup and refactor (eugenp#1823)
* Add files via upload * Update pom.xml * Update RunGuice.java * Update Communication.java * Update CommunicationMode.java * Update DefaultCommunicator.java * Update EmailCommunicationMode.java * Update IMCommunicationMode.java * Update SMSCommunicationMode.java * Update MessageLogger.java * Update MessageSentLoggable.java * Update AOPModule.java * Update BasicModule.java * Update CommunicationModel.java * Update Communicator.java * Update BasicModule.java * Update RunGuice.java * Update MessageLogger.java * Update Communicator.java * Update pom.xml * BAEL-278: Updated README.md * BAEL-554: Add and update README.md files * Update pom.xml * Update pom.xml * Update pom.xml * BAEL-345: fixed assertion * BAEL-109: Updated README.md * BAEL-345: Added README.md * Reinstating reactor-core module in root-level pom * BAEL-393: Adding guide-intro module to root pom * BAEL-9: Updated README.md * BAEL-157: README.md updated * Changed project name * Update RunGuice.java Removed references to message logging and output * Update Communication.java Removed message logging-related code * BAEL-566: Updated README.md * New project name * BAEL-393: removing guice-intro directory * BAEL-393: renamed module guice-intro to guice in root pom.xml * BAEL-393 and BAEL-541 README.md files * BAEL-731: Updated README.md * BAEL-680: renamed test methods * BAEL-714: Updated README.md * BAEL-737: Updated README.md * BAEL-680 and BAEL-756 README.md updates * BAEL-666: Updated README * BAEL-415: Custom Scope * BAEL-415: Custom Scope - renamed classes to reflect TenantScope * README file updates for BAEL-723, BAEL-763, and BAEL-415 * BAEL-735: README * BAEL-567: README * BAEL-736: README * BAEL-766: Update README * BAEL-555: README update * BAEL-761: README update * BAEL-742: Stripe API for Java README file * BAEL-86: Correction to README file * BAEL-828: Updated README.md * BAEL-830: Updated README * BAEL-870: Switched from TestNG to JUnit due to build errors * BAEL-870: Update README * BAEL-592: Cleanup files that were copied from spring-hibernate4 module * BAEL-592: Cleanup files that were copied from spring-hibernate4 module and add new basic test
1 parent 7b93d18 commit 9ec6e18

80 files changed

Lines changed: 90 additions & 3830 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎spring-hibernate5/pom.xml‎

Lines changed: 60 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@
3333
<artifactId>spring-aspects</artifactId>
3434
<version>${org.springframework.version}</version>
3535
</dependency>
36-
<dependency>
37-
<groupId>org.springframework.security</groupId>
38-
<artifactId>spring-security-core</artifactId>
39-
<version>${org.springframework.security.version}</version>
40-
</dependency>
4136

4237
<!-- persistence -->
4338

@@ -56,21 +51,11 @@
5651
<artifactId>hibernate-core</artifactId>
5752
<version>${hibernate.version}</version>
5853
</dependency>
59-
<dependency>
60-
<groupId>org.hibernate</groupId>
61-
<artifactId>hibernate-envers</artifactId>
62-
<version>${hibernate-envers.version}</version>
63-
</dependency>
6454
<dependency>
6555
<groupId>javax.transaction</groupId>
6656
<artifactId>jta</artifactId>
6757
<version>${jta.version}</version>
6858
</dependency>
69-
<dependency>
70-
<groupId>mysql</groupId>
71-
<artifactId>mysql-connector-java</artifactId>
72-
<version>${mysql-connector-java.version}</version>
73-
</dependency>
7459

7560
<dependency>
7661
<groupId>org.apache.tomcat</groupId>
@@ -80,17 +65,6 @@
8065

8166
<!-- validation -->
8267

83-
<dependency>
84-
<groupId>org.hibernate</groupId>
85-
<artifactId>hibernate-validator</artifactId>
86-
<version>${hibernate-validator.version}</version>
87-
</dependency>
88-
<dependency>
89-
<groupId>javax.el</groupId>
90-
<artifactId>javax.el-api</artifactId>
91-
<version>${javax.el-api.version}</version>
92-
</dependency>
93-
9468
<!-- utils -->
9569

9670
<dependency>
@@ -115,6 +89,11 @@
11589
<scope>test</scope>
11690
</dependency>
11791

92+
<dependency>
93+
<groupId>org.hamcrest</groupId>
94+
<artifactId>hamcrest-core</artifactId>
95+
<version>${org.hamcrest.version}</version>
96+
</dependency>
11897
<dependency>
11998
<groupId>org.springframework.security</groupId>
12099
<artifactId>spring-security-test</artifactId>
@@ -129,12 +108,25 @@
129108
<scope>test</scope>
130109
</dependency>
131110

111+
<dependency>
112+
<groupId>org.hamcrest</groupId>
113+
<artifactId>hamcrest-library</artifactId>
114+
<version>${org.hamcrest.version}</version>
115+
<scope>test</scope>
116+
</dependency>
117+
132118
<dependency>
133119
<groupId>org.hsqldb</groupId>
134120
<artifactId>hsqldb</artifactId>
135121
<version>${hsqldb.version}</version>
136122
</dependency>
137123

124+
<dependency>
125+
<groupId>com.h2database</groupId>
126+
<artifactId>h2</artifactId>
127+
<version>${h2.version}</version>
128+
</dependency>
129+
138130
</dependencies>
139131

140132
<build>
@@ -146,22 +138,55 @@
146138
</resource>
147139
</resources>
148140

141+
<plugins>
142+
143+
<plugin>
144+
<groupId>org.apache.maven.plugins</groupId>
145+
<artifactId>maven-compiler-plugin</artifactId>
146+
<version>${maven-compiler-plugin.version}</version>
147+
<configuration>
148+
<source>1.8</source>
149+
<target>1.8</target>
150+
</configuration>
151+
</plugin>
152+
153+
<plugin>
154+
<groupId>org.apache.maven.plugins</groupId>
155+
<artifactId>maven-surefire-plugin</artifactId>
156+
<version>${maven-surefire-plugin.version}</version>
157+
<configuration>
158+
<excludes>
159+
<exclude>**/*IntegrationTest.java</exclude>
160+
</excludes>
161+
</configuration>
162+
</plugin>
163+
164+
</plugins>
165+
149166
</build>
150167

151168
<properties>
152169
<!-- Spring -->
153170
<org.springframework.version>4.3.5.RELEASE</org.springframework.version>
171+
172+
<org.springframework.data.version>1.10.6.RELEASE</org.springframework.data.version>
173+
154174
<org.springframework.security.version>4.2.1.RELEASE</org.springframework.security.version>
155175
<org.springframework.data.version>1.10.6.RELEASE</org.springframework.data.version>
156176

177+
157178
<!-- persistence -->
158-
<hibernate.version>5.2.8.Final</hibernate.version>
159-
<hibernate-envers.version>${hibernate.version}</hibernate-envers.version>
160-
<mysql-connector-java.version>6.0.5</mysql-connector-java.version>
161-
<tomcat-dbcp.version>8.5.11</tomcat-dbcp.version>
179+
<hibernate.version>5.2.10.Final</hibernate.version>
180+
<tomcat-dbcp.version>8.5.15</tomcat-dbcp.version>
162181
<jta.version>1.1</jta.version>
163182
<hsqldb.version>2.3.4</hsqldb.version>
183+
<h2.version>1.4.195</h2.version>
164184

185+
186+
<!-- logging -->
187+
<org.slf4j.version>1.7.21</org.slf4j.version>
188+
<logback.version>1.1.7</logback.version>
189+
165190
<!-- various -->
166191
<hibernate-validator.version>5.4.0.Final</hibernate-validator.version>
167192
<javax.el-api.version>2.2.5</javax.el-api.version>
@@ -170,6 +195,11 @@
170195
<guava.version>21.0</guava.version>
171196
<commons-lang3.version>3.5</commons-lang3.version>
172197

198+
199+
<!-- testing -->
200+
<org.hamcrest.version>1.3</org.hamcrest.version>
201+
<junit.version>4.12</junit.version>
202+
173203
<httpcore.version>4.4.1</httpcore.version>
174204
<httpclient.version>4.5</httpclient.version>
175205

‎spring-hibernate5/src/main/java/com/baeldung/hibernate/criteria/model/Item.java‎

Lines changed: 0 additions & 81 deletions
This file was deleted.

‎spring-hibernate5/src/main/java/com/baeldung/hibernate/criteria/util/HibernateUtil.java‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)