Skip to content

Commit c900f42

Browse files
committed
Merge branch 'master' into branch-2.3-MVC_2
# Conflicts: # .github/workflows/codacy-analysis.yml # .github/workflows/codeql-analysis.yml # .github/workflows/label.yml # .github/workflows/stale.yml # .idea/jarRepositories.xml # README.md # pom.xml # run.sh # system.properties
2 parents df1fa73 + b0e6702 commit c900f42

File tree

10 files changed

+78
-42
lines changed

10 files changed

+78
-42
lines changed

.github/workflows/codacy-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ name: Codacy Security Scan
1010

1111
on:
1212
push:
13-
branches: [ 'master', 'heroku-deployment', 'branch-2.3-MVC' ]
13+
branches: [ "master", "heroku-deployment" ]
1414
pull_request:
15-
branches: [ 'master', 'heroku-deployment', 'branch-2.3-MVC' ]
15+
branches: [ "master", "heroku-deployment" ]
1616

1717
jobs:
1818
codacy-security-scan:

.idea/dataSources.local.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jarRepositories.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function firstSetup() {
1616
# showSettings
1717
./mvnw dependency:purge-local-repository
1818
./mvnw -e -DskipTests=true clean dependency:resolve dependency:resolve-plugins dependency:sources dependency:tree
19-
./mvnw -e -DskipTests=true clean package spring-boot:repackage site
19+
./mvnw -e -DskipTests=true clean package spring-boot:repackage site site:deploy
2020
}
2121

2222
function setupTravis() {
@@ -28,7 +28,7 @@ function setupTravis() {
2828
./mvnw -e -DskipTests=true -B -V dependency:resolve dependency:resolve-plugins dependency:sources && \
2929
./mvnw -e -DskipTests=true -B -V dependency:tree && \
3030
./mvnw -e -DskipTests=true -B -V clean package spring-boot:repackage && \
31-
./mvnw -e -DskipTests=true -B -V site
31+
./mvnw -e -DskipTests=true -B -V site site:deploy
3232
}
3333

3434
function main() {

etc/TODO.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,29 @@ Caused by: org.postgresql.util.PSQLException: ERROR: relation "spring_session" d
135135
## 2.3.26
136136
* fixed #249 TaskRepository: move the JQL Query-String to Entity as Prepared Statement
137137

138-
## 2.3.27
139-
* Issue #234 Taskstate: Task Edit Form -> change Project via DropDown
140-
* Issue #235 Project/Root: Task Edit Form -> change Project via DropDown
141-
* Issue #236 Project/id: Task Edit Form -> change Project via DropDown
138+
## 3.0.0
139+
* fixed #97 evaluate JSF PrimeFaces Spring Boot AutoConfigure
140+
* fixed #96 add JSF PrimeFaces Spring Boot AutoConfigure
141+
* fixed #95 evaluate JSF JavaxFaces Spring Boot AutoConfigure
142+
* fixed #94 add JSF JavaxFaces Spring Boot AutoConfigure
143+
* fixed #93 add JSF JavaxFaces Spring Boot AutoConfigure
144+
* fixed #92 try jars
145+
* fixed #288 create Branch JSF_Version from Release 2.3.26
146+
* Issue #291 Evaluate Joinfaces
147+
* Issue #292 app starts with joinfaces
148+
* Issue #293 app run with joinfaces but with MVC Templates
149+
* Issue #294 Logging with logback only
150+
151+
## 3.0.1
152+
* Issue #295 try to remove dependencies and version-properties from pom.xml
153+
154+
## Joinfaces
155+
* https://github.com/joinfaces/joinfaces
156+
* http://joinfaces.org/
157+
* https://docs.joinfaces.org/4.3.4/reference/
158+
* https://docs.joinfaces.org/current/reference/
159+
160+
142161

143162
## 2.3.28
144163
* fixed #302 update Spring-Boot to Version to 2.3.7

pom.xml

Lines changed: 37 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<name>simpleworklist</name>
2424
<description>Your Todo-List for Getting Things Done</description>
25-
<url>https://woehlke.org/java/simpleworklist</url>
25+
<url>https://homepage.ruhr-uni-bochum.de/Thomas.Woehlke/java/simpleworklist</url>
2626
<inceptionYear>2012</inceptionYear>
2727

2828
<organization>
@@ -68,7 +68,7 @@
6868

6969
<properties>
7070
<java.version>15</java.version>
71-
<version.maven>3.6.2</version.maven>
71+
<version.maven>3.6.3</version.maven>
7272
<pmdVersion>6.28.0</pmdVersion>
7373

7474
<!-- SCM and Releasing with Maven -->
@@ -159,6 +159,11 @@
159159
<name>Spring Lib M Repository</name>
160160
<url>https://repo.spring.io/libs-milestone/</url>
161161
</repository>
162+
<repository>
163+
<id>apache-releases</id>
164+
<name>Apache Releases</name>
165+
<url>https://repository.apache.org/content/repositories/releases/</url>
166+
</repository>
162167
<repository>
163168
<id>atlassian-public</id>
164169
<name>Atlassian Repository</name>
@@ -229,6 +234,11 @@
229234
<id>spring-milestones</id>
230235
<url>https://repo.spring.io/milestone</url>
231236
</pluginRepository>
237+
<pluginRepository>
238+
<id>apache-releases</id>
239+
<name>Apache Releases</name>
240+
<url>https://repository.apache.org/content/repositories/releases/</url>
241+
</pluginRepository>
232242
<pluginRepository>
233243
<id>atlassian-public</id>
234244
<name>Atlassian Repository</name>
@@ -277,6 +287,13 @@
277287
<type>pom</type>
278288
<scope>import</scope>
279289
</dependency>
290+
<dependency>
291+
<groupId>org.springframework.security</groupId>
292+
<artifactId>spring-security-bom</artifactId>
293+
<version>${spring-security.version}</version>
294+
<type>pom</type>
295+
<scope>import</scope>
296+
</dependency>
280297
<!-- webjars -->
281298
<dependency>
282299
<groupId>org.webjars</groupId>
@@ -509,6 +526,10 @@
509526
<groupId>org.springframework.boot</groupId>
510527
<artifactId>spring-boot-starter-security</artifactId>
511528
</dependency>
529+
<dependency>
530+
<groupId>org.springframework.boot</groupId>
531+
<artifactId>spring-boot-starter-logging</artifactId>
532+
</dependency>
512533
<dependency>
513534
<groupId>org.springframework.security</groupId>
514535
<artifactId>spring-security-core</artifactId>
@@ -531,7 +552,10 @@
531552
<groupId>org.springframework.security</groupId>
532553
<artifactId>spring-security-data</artifactId>
533554
</dependency>
534-
555+
<dependency>
556+
<groupId>org.joinfaces</groupId>
557+
<artifactId>security-spring-boot-starter</artifactId>
558+
</dependency>
535559
<dependency>
536560
<groupId>org.postgresql</groupId>
537561
<artifactId>postgresql</artifactId>
@@ -546,6 +570,7 @@
546570
<groupId>org.projectlombok</groupId>
547571
<artifactId>lombok</artifactId>
548572
<optional>false</optional>
573+
<scope>provided</scope>
549574
</dependency>
550575
<dependency>
551576
<groupId>org.webjars</groupId>
@@ -971,7 +996,7 @@
971996
<overWriteSnapshots>true</overWriteSnapshots>
972997
<outputFile>${project.build.outputDirectory}/classes/</outputFile>
973998
<excludeTypes>pom,maven-plugin</excludeTypes>
974-
<excludeGroupIds>antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm</excludeGroupIds>
999+
<excludeGroupIds>antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm,org.jruby</excludeGroupIds>
9751000
<excludeArtifactIds>weld-probe-core,antlr,bsh,velocity-tools,liquibase-core,jruby-complete</excludeArtifactIds>
9761001
</configuration>
9771002
</execution>
@@ -990,8 +1015,8 @@
9901015
<overWriteSnapshots>true</overWriteSnapshots>
9911016
<outputFile>${project.build.outputDirectory}/classes/</outputFile>
9921017
<excludeTypes>pom,maven-plugin</excludeTypes>
993-
<excludeGroupIds>antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm</excludeGroupIds>
994-
<excludeArtifactIds>weld-probe-core,antlr,bsh,velocity-tools,liquibase-core,jruby-complete</excludeArtifactIds>
1018+
<excludeGroupIds>antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm,org.jruby</excludeGroupIds>
1019+
<excludeArtifactIds>weld-probe-core,antlr,bsh,velocity-tools,liquibase-core,jruby-complete,cdi-api</excludeArtifactIds>
9951020
</configuration>
9961021
</execution>
9971022
<execution>
@@ -1016,17 +1041,10 @@
10161041
<failOnWarning>false</failOnWarning>
10171042
<ignoreNonCompile>true</ignoreNonCompile>
10181043
<excludeTypes>pom</excludeTypes>
1019-
<excludeGroupIds>org.webjars,antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm</excludeGroupIds>
1020-
<excludeArtifactIds>weld-probe-core,antlr,bsh,velocity-tools,liquibase-core,jruby-complete</excludeArtifactIds>
1044+
<excludeGroupIds>org.webjars,antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm,org.jruby</excludeGroupIds>
1045+
<excludeArtifactIds>weld-probe-core,antlr,bsh,velocity-tools,liquibase-core,jruby-complete,cdi-api</excludeArtifactIds>
10211046
<ignoredDependencies>
10221047
<ignoredDependency>org.apache.maven.plugins:maven-surefire-plugin</ignoredDependency>
1023-
<!--
1024-
<ignoredDependency>org.apache.maven.scm:maven-scm</ignoredDependency>
1025-
<ignoredDependency>org.apache.maven.scm:maven-scm-providers-git</ignoredDependency>
1026-
<ignoredDependency>org.apache.maven.scm:maven-scm-providers-standard</ignoredDependency>
1027-
<ignoredDependency>org.apache.maven.scm:maven-scm-providers</ignoredDependency>
1028-
<ignoredDependency>org.apache.maven.scm:maven-scm-managers</ignoredDependency>
1029-
-->
10301048
</ignoredDependencies>
10311049
<ignoredUsedUndeclaredDependencies>
10321050
<ignoredUsedUndeclaredDependency>org.apache.maven.plugins:maven-surefire-plugin</ignoredUsedUndeclaredDependency>
@@ -1067,8 +1085,8 @@
10671085
<phase>site</phase>
10681086
<configuration>
10691087
<excludeGroupIds>org.webjars</excludeGroupIds>
1070-
<excludeGroupIds>org.webjars,org.jclouds,org.jboss.as,xml-resolver,commons-configuration,org.codehaus.plexus,commons-digester,junit,log4j,io.openliberty.features,antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm</excludeGroupIds>
1071-
<excludeArtifactIds>weld-probe-core,commons-configuration,jdk.tools,maven-antrun-plugin,antlr,bsh,velocity-tools,liquibase-core,jruby-complete</excludeArtifactIds>
1088+
<excludeGroupIds>org.webjars,org.jclouds,org.jboss.as,xml-resolver,commons-configuration,org.codehaus.plexus,commons-digester,junit,log4j,io.openliberty.features,antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm,org.jruby</excludeGroupIds>
1089+
<excludeArtifactIds>weld-probe-core,commons-configuration,jdk.tools,maven-antrun-plugin,antlr,bsh,velocity-tools,liquibase-core,jruby-complete,cdi-api</excludeArtifactIds>
10721090
<failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
10731091
<reportSets>
10741092
<reportSet>
@@ -1093,8 +1111,8 @@
10931111
<configuration>
10941112
<classifier>sources</classifier>
10951113
<excludeTypes>pom,maven-plugin</excludeTypes>
1096-
<excludeGroupIds>org.webjars,antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm</excludeGroupIds>
1097-
<excludeArtifactIds>weld-probe-core,antlr,bsh,velocity-tools,liquibase-core,jruby-complete</excludeArtifactIds>
1114+
<excludeGroupIds>org.webjars,antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm,org.jruby</excludeGroupIds>
1115+
<excludeArtifactIds>weld-probe-core,antlr,bsh,velocity-tools,liquibase-core,jruby-complete,cdi-api</excludeArtifactIds>
10981116
<failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
10991117
<outputDirectory>${project.build.directory}/dependency-sources/</outputDirectory>
11001118
</configuration>
@@ -1205,7 +1223,6 @@
12051223

12061224
<reporting>
12071225
<plugins>
1208-
<!-- Same like Build or Inherited from Build -->
12091226
<plugin>
12101227
<groupId>org.apache.maven.plugins</groupId>
12111228
<artifactId>maven-enforcer-plugin</artifactId>

run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ function buildLikeHerokuWithSite() {
2929
}
3030

3131
function buildLikeHeroku() {
32-
./mvnw -DskipTests clean dependency:list install
32+
#./mvnw -DskipTests clean dependency:list install
33+
./mvnw clean dependency:list install
3334
}
3435

3536
function runHerokuLocal() {

src/main/java/org/woehlke/simpleworklist/domain/task/TaskStateTabController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.woehlke.simpleworklist.domain.task;
22

3-
import lombok.extern.slf4j.Slf4j;
43
import org.springframework.beans.factory.annotation.Autowired;
54
import org.springframework.data.domain.Pageable;
65
import org.springframework.data.domain.Sort;
@@ -15,6 +14,7 @@
1514
import org.woehlke.simpleworklist.services.TaskStateControllerService;
1615
import org.woehlke.simpleworklist.user.session.UserSessionBean;
1716

17+
import lombok.extern.slf4j.Slf4j;
1818
import javax.validation.constraints.NotNull;
1919
import java.util.Locale;
2020

src/main/java/org/woehlke/simpleworklist/domain/task/TaskStateTaskController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.woehlke.simpleworklist.domain.task;
22

3-
import lombok.extern.slf4j.Slf4j;
3+
44
import org.springframework.stereotype.Controller;
55
import org.springframework.ui.Model;
66
import org.springframework.validation.BindingResult;
@@ -19,6 +19,7 @@
1919
import org.springframework.beans.factory.annotation.Autowired;
2020
import org.woehlke.simpleworklist.user.account.UserAccount;
2121

22+
import lombok.extern.slf4j.Slf4j;
2223
import javax.validation.Valid;
2324
import javax.validation.constraints.NotNull;
2425
import java.util.List;

src/main/resources/application.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ server:
77
min-response-size: 2048
88
spring:
99
datasource:
10-
url: jdbc:postgresql://localhost:5432//simpleworklist
10+
url: jdbc:postgresql://localdbhost:5432//simpleworklist
1111
username: simpleworklist
1212
password: simpleworklistpwd
1313
driverClassName: org.postgresql.Driver
@@ -86,12 +86,12 @@ org:
8686
spring:
8787
profiles: default
8888
datasource:
89-
url: jdbc:postgresql://localhost:5432/simpleworklist
89+
url: jdbc:postgresql://localdbhost:5432/simpleworklist
9090
---
9191
spring:
9292
profiles: developing
9393
datasource:
94-
url: jdbc:postgresql://localhost:5432/simpleworklist_developing
94+
url: jdbc:postgresql://localdbhost:5432/simpleworklist_developing
9595
jpa:
9696
hibernate:
9797
ddl-auto: update
@@ -100,7 +100,7 @@ spring:
100100
spring:
101101
profiles: travis
102102
datasource:
103-
url: jdbc:postgresql://localhost:5432/simpleworklist_travis
103+
url: jdbc:postgresql://localdbhost:5432/simpleworklist_travis
104104
continue-on-error: true
105105
jpa:
106106
show-sql: false
@@ -114,7 +114,7 @@ server:
114114
spring:
115115
profiles: testing
116116
datasource:
117-
url: jdbc:postgresql://localhost:5432/simpleworklist_testing
117+
url: jdbc:postgresql://localdbhost:5432/simpleworklist_testing
118118
jpa:
119119
show-sql: false
120120
hibernate:
@@ -125,7 +125,6 @@ server:
125125
enabled: false
126126
logging:
127127
config: classpath:logback.xml
128-
file: logging-test.log
129128
level:
130129
org:
131130
woehlke:
@@ -150,7 +149,7 @@ logging:
150149
spring:
151150
profiles: qa
152151
datasource:
153-
url: jdbc:postgresql://localhost:5432/simpleworklist_qa
152+
url: jdbc:postgresql://localdbhost:5432/simpleworklist_qa
154153
continue-on-error: true
155154
jpa:
156155
show-sql: false
@@ -162,7 +161,6 @@ server:
162161
enabled: false
163162
logging:
164163
config: classpath:logback.xml
165-
file: logging-qa.log
166164
level:
167165
org:
168166
woehlke:
@@ -187,7 +185,7 @@ logging:
187185
spring:
188186
profiles: heroku
189187
datasource:
190-
url: jdbc:postgresql://localhost:5432/simpleworklist_heroku
188+
url: jdbc:postgresql://localdbhost:5432/simpleworklist_heroku
191189
continue-on-error: true
192190
jpa:
193191
show-sql: false

0 commit comments

Comments
 (0)