Skip to content

Commit

Permalink
Merge pull request #155 from socialsoftware/deps-update
Browse files Browse the repository at this point in the history
dependencies upgrade
  • Loading branch information
ritosilva authored Jul 12, 2022
2 parents 6c42225 + 7f4ab12 commit efad3e4
Show file tree
Hide file tree
Showing 6 changed files with 115 additions and 119 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ test-db
commands
src/main/resources/configuration.properties
.idea/
.vscode
*.iml
opt/

Expand Down
33 changes: 14 additions & 19 deletions edition-ldod/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
Expand Down Expand Up @@ -41,10 +40,6 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
Expand All @@ -64,28 +59,28 @@
</plugins>
</build>


<dependencies>
<!-- https://mvnrepository.com/artifact/org.twitter4j/twitter4j-core -->
<dependency>
<groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId>
<version>4.0.7</version>
<groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId>
<version>4.0.7</version>
</dependency>

<!-- https://mvnrepository.com/artifact/org.json/json -->
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20180813</version>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20180813</version>
</dependency>

<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
</dependency>

</dependencies>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public ModelAndView error() {
return modelAndView;
}

@Override
public String getErrorPath() {
return PATH;
}
Expand Down
7 changes: 6 additions & 1 deletion edition-ldod/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,9 @@ registration.confirmation.mail.smtp.host=smtp.gmail.com
registration.confirmation.mail.smtp.port=587

test.files.dir=src/test/resources/files/
load.files.dir=src/main/resources/files/
load.files.dir=src/main/resources/files/


spring.main.allow-bean-definition-overriding=true
server.servlet.register-default-servlet=true
spring.main.allow-circular-references=true
164 changes: 84 additions & 80 deletions edition-ldod/src/main/webapp/WEB-INF/jsp/common/meta-head.jsp
Original file line number Diff line number Diff line change
@@ -1,85 +1,89 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LdoD</title>
<link rel="stylesheet" type="text/css" href="/resources/css/style.css" />
<link rel="stylesheet" type="text/css" href="/resources/css/ldod.css" />
<link rel="stylesheet" type="text/css"
href="/resources/css/font-awesome.min.css" />
<link rel="stylesheet"
href="/webjars/bootstrap/3.3.7-1/css/bootstrap.min.css" />
<script src="/webjars/jquery/1.11.3/jquery.min.js"></script>
<script src="/webjars/bootstrap/3.3.7-1/js/bootstrap.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-111295843-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LdoD</title>
<link rel="stylesheet" type="text/css" href="/resources/css/style.css" />
<link rel="stylesheet" type="text/css" href="/resources/css/ldod.css" />
<link rel="stylesheet" type="text/css" href="/resources/css/font-awesome.min.css" />
<link rel="stylesheet" href="/webjars/bootstrap/3.3.7-1/css/bootstrap.min.css" />
<script src="/webjars/jquery/3.6.0/jquery.min.js"></script>
<script src="/webjars/bootstrap/3.3.7-1/js/bootstrap.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-111295843-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
gtag('config', 'UA-111295843-1');
</script>
<style>
@media ( max-width : 767px) {
.text-xs-left {
text-align: left;
}
.text-xs-right {
text-align: right;
}
.text-xs-center {
text-align: center;
}
.text-xs-justify {
text-align: justify;
}
}
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
@media ( min-width : 768px) and (max-width: 991px) { /* sm */
.text-sm-left {
text-align: left;
}
.text-sm-right {
text-align: right;
}
.text-sm-center {
text-align: center;
}
.text-sm-justify {
text-align: justify;
}
}
gtag('config', 'UA-111295843-1');
</script>
<style>
@media ( max-width: 767px) {
.text-xs-left {
text-align: left;
}
.text-xs-right {
text-align: right;
}
.text-xs-center {
text-align: center;
}
.text-xs-justify {
text-align: justify;
}
}
@media ( min-width: 768px) and (max-width: 991px) {
/* sm */
.text-sm-left {
text-align: left;
}
.text-sm-right {
text-align: right;
}
.text-sm-center {
text-align: center;
}
.text-sm-justify {
text-align: justify;
}
}
@media ( min-width: 992px) and (max-width: 1199px) {
/* md */
.text-md-left {
text-align: left;
}
.text-md-right {
text-align: right;
}
.text-md-center {
text-align: center;
}
.text-md-justify {
text-align: justify;
}
}
@media ( min-width: 1200px) {
/* lg */
.text-lg-left {
text-align: left;
}
.text-lg-right {
text-align: right;
}
.text-lg-center {
text-align: center;
}
.text-lg-justify {
text-align: justify;
}
}
</style>

@media ( min-width : 992px) and (max-width: 1199px) { /* md */
.text-md-left {
text-align: left;
}
.text-md-right {
text-align: right;
}
.text-md-center {
text-align: center;
}
.text-md-justify {
text-align: justify;
}
}

@media ( min-width : 1200px) { /* lg */
.text-lg-left {
text-align: left;
}
.text-lg-right {
text-align: right;
}
.text-lg-center {
text-align: center;
}
.text-lg-justify {
text-align: justify;
}
}
</style>


<c:set var="contextPath" value="${pageContext.request.contextPath}" />
<c:set var="contextPath" value="${pageContext.request.contextPath}" />
28 changes: 10 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>pt.ist.socialsoftware</groupId>
Expand All @@ -12,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.12.RELEASE</version>
<version>2.7.1</version>
</parent>

<name>edition</name>
Expand Down Expand Up @@ -41,7 +40,7 @@
<io.jsonwebtoken.jjwt>0.9.0</io.jsonwebtoken.jjwt>

<version.org.webjars.bootstrap>3.3.7-1</version.org.webjars.bootstrap>
<version.org.webjars.jquery>1.11.3</version.org.webjars.jquery>
<version.org.webjars.jquery>3.6.0</version.org.webjars.jquery>

<version.javax.mail>1.6.2</version.javax.mail>
<version.commons.lang.commons.lang>2.6</version.commons.lang.commons.lang>
Expand All @@ -57,7 +56,7 @@
</fenix.framework.codeGeneratorClassName>
<fenix.framework.backend>jvstm-ojb</fenix.framework.backend>

<version.jacoco.maven.plugin>0.8.6</version.jacoco.maven.plugin>
<version.jacoco.maven.plugin>0.8.8</version.jacoco.maven.plugin>
<coverage.class.ratio>0.15</coverage.class.ratio>
<coverage.instruction.ratio>0.15</coverage.instruction.ratio>
<coverage.method.ratio>0.15</coverage.method.ratio>
Expand Down Expand Up @@ -94,14 +93,7 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>

<!-- Compile -->
<plugin>
<!-- The gmavenplus plugin is used to compile Groovy code. To learn
Expand Down Expand Up @@ -375,7 +367,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<!-- weird dependency but necessary to avoid Mockito cannot mock this class-->
<!-- weird dependency but necessary to avoid Mockito cannot mock this class-->
<version>2.22.0</version>
<scope>test</scope>
</dependency>
Expand All @@ -387,25 +379,25 @@
<version>${version.spock}</version>
<scope>test</scope>
</dependency>
<dependency> <!-- use a specific Groovy version rather than the one specified by spock-core -->
<dependency> <!-- use a specific Groovy version rather than the one specified by spock-core -->
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>${version.groovy}</version>
</dependency>
<dependency> <!-- enables mocking of classes (in addition to interfaces) -->
<dependency> <!-- enables mocking of classes (in addition to interfaces) -->
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${net.bytebuddy.version}</version>
<scope>test</scope>
</dependency>
<dependency> <!-- enables mocking of classes without default constructor (together with
<dependency> <!-- enables mocking of classes without default constructor (together with
CGLIB) -->
<groupId>org.objenesis</groupId>
<artifactId>objenesis</artifactId>
<version>${org.objenesis.version}</version>
<scope>test</scope>
</dependency>
<dependency> <!-- only required if Hamcrest matchers are used -->
<dependency> <!-- only required if Hamcrest matchers are used -->
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>1.3</version>
Expand Down

0 comments on commit efad3e4

Please sign in to comment.