Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 6.14.0 #8

Merged
merged 6 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ jobs:
compile:
uses: RegioneER/parer-github-template/.github/workflows/compile.yml@v1
with:
java: '8'
java: '11'
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
uses: RegioneER/parer-github-template/.github/workflows/release.yml@v1
with:
version: ${{ inputs.version }}
java: '8'
java: '11'
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

## 5.14.0 (30-04-2024)
## 6.14.0 (07-06-2024)

### Novità: 1
- [#31873](https://parermine.regione.emilia-romagna.it/issues/31873) Allineamento alla versione 4.14.0
- [#29991](https://parermine.regione.emilia-romagna.it/issues/29991) Aggiornamento a Java 11

## 5.13.0 (20-12-2023)

Expand Down
4 changes: 2 additions & 2 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 5.14.0 (30-04-2024)
## 6.14.0 (07-06-2024)

### Novità: 1
- [#31873](https://parermine.regione.emilia-romagna.it/issues/31873) Allineamento alla versione 4.14.0
- [#29991](https://parermine.regione.emilia-romagna.it/issues/29991) Aggiornamento a Java 11
Binary file modified pdfdocs/CHANGELOG.pdf
Binary file not shown.
Binary file modified pdfdocs/RELEASE-NOTES.pdf
Binary file not shown.
47 changes: 31 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<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">
<modelVersion>4.0.0</modelVersion>
<artifactId>spagofat</artifactId>
<version>5.14.1-SNAPSHOT</version>
<version>6.14.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Spagolite</name>
<description>Framework utilizzato dalle applicazioni web, si tratta di uno strato software comune contenente anche le dipendenze di terze parti ed ereditato come bom.</description>
Expand All @@ -10,7 +10,7 @@
<parent>
<groupId>it.eng.parer</groupId>
<artifactId>parer-pom</artifactId>
<version>5.2.1</version>
<version>6.3.0</version>
</parent>

<scm>
Expand Down Expand Up @@ -41,10 +41,10 @@
<hibernate-core-version>5.3.20.Final-redhat-00001</hibernate-core-version>
<hibernate-validator-version>6.0.22.Final-redhat-00002</hibernate-validator-version>
<hibernate-jpamodelgen-version>5.6.14.Final-redhat-00001</hibernate-jpamodelgen-version>
<dom4j.version>2.1.3.redhat-00001</dom4j.version>
<dom4j.version>2.1.4</dom4j.version>
<keycloak-filter.version>21.1.1</keycloak-filter.version>
<xml-apis.version>1.4.01</xml-apis.version>
<xmlbeans.version>3.1.0</xmlbeans.version>
<xmlbeans.version>5.1.1</xmlbeans.version>
<!-- webjars (framework spago) -->
<jquery.version>3.6.4</jquery.version>
<jquery-ui.version>1.13.2</jquery-ui.version>
Expand Down Expand Up @@ -302,15 +302,30 @@
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
</dependency>

<!--JDK 11 -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<version>${jaxws-api.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-tools</artifactId>
<version>${jaxws-tools.version}</version>
</dependency>
<!-- Servlet API -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${javax.servlet-api.version}</version>
</dependency>

<!-- JBoss -->
<!-- JBoss -->
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-jakartaee-8.0</artifactId>
Expand All @@ -324,7 +339,7 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Apache commons -->
<!-- Apache commons -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
Expand All @@ -341,7 +356,7 @@
<version>${commons-net.version}</version>
</dependency>

<!-- Hibernate -->
<!-- Hibernate -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
Expand All @@ -366,8 +381,8 @@
<version>${hibernate-jpamodelgen-version}</version>
<scope>provided</scope>
</dependency>
<!-- Altro -->

<!-- Altro -->
<dependency>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
Expand Down Expand Up @@ -397,7 +412,7 @@
<version>${poi.version}</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>${xmlbeans.version}</version>
<exclusions>
Expand Down Expand Up @@ -433,22 +448,22 @@
<artifactId>commons-text</artifactId>
<version>${commons-text.version}</version>
</dependency>
<!-- OWASP -->
<!-- OWASP -->
<dependency>
<groupId>org.owasp.esapi</groupId>
<artifactId>esapi</artifactId>
<version>${owasp.version}</version>
</dependency>

<!-- Junit -->
<!-- Junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>

<!-- WEBJARS -->
<!-- WEBJARS -->
<dependency>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
Expand Down Expand Up @@ -494,12 +509,12 @@
<artifactId>highlightjs-badgejs</artifactId>
<version>${highlightjs-badgejs.version}</version>
</dependency>
<!-- UTILS -->
<!-- UTILS -->
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-servlet-filter-adapter</artifactId>
<version>${keycloak-filter.version}</version>
</dependency>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies />
Expand Down
10 changes: 7 additions & 3 deletions spagolite-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>it.eng.parer</groupId>
<artifactId>spagofat</artifactId>
<version>5.14.1-SNAPSHOT</version>
<version>6.14.1-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
Expand Down Expand Up @@ -48,6 +48,10 @@
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-servlet-filter-adapter</artifactId>
</dependency>
</dependencies>
</dependency>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
</dependency>
</dependencies>
</project>
43 changes: 36 additions & 7 deletions spagolite-middle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,54 @@
<parent>
<groupId>it.eng.parer</groupId>
<artifactId>spagofat</artifactId>
<version>5.14.1-SNAPSHOT</version>
<version>6.14.1-SNAPSHOT</version>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xmlbeans-maven-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>createXmlBeansDir</id>
<phase>generate-sources</phase>
<configuration>
<target>
<mkdir dir="${project.build.directory}/generated-sources/xmlbeans" />
</target>
</configuration>
<goals>
<goal>xmlbeans</goal>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>5.1.1</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<inherited>true</inherited>
<configuration>
<schemaDirectory>src/main/resources/xmlbeans-xsd</schemaDirectory>
<!-- Directory contenente i file XSD -->
<sourceDir>${project.basedir}/src/main/resources/xmlbeans-xsd</sourceDir>
<!-- Directory di destinazione per le classi generate -->
<javaTargetDir>${project.build.directory}/generated-sources/xmlbeans</javaTargetDir>
<repackage>it.eng.parer.spagolite.metadata</repackage>
<name>middle</name>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.18.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
Expand Down Expand Up @@ -116,7 +146,6 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@
*
* @author Enrico Grillini
*
* @param <T>
*
*/
public class ProfileElement<T extends ProfileElement<?>> extends FrameElement implements Iterable<T> {

private static final long serialVersionUID = 1L;
private String name;
private String description;

private Map<String, T> childs;
private final Map<String, T> childs;

public ProfileElement(String name, String description) {
this.name = name;
Expand All @@ -60,6 +62,7 @@ public void setDescription(String description) {
this.description = description;
}

@Override
public Iterator<T> iterator() {
return childs.values().iterator();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
*
*
*/
@Deprecated
public class ListNavBackTag extends AbstractListNavBarTag {

private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ protected void writeNext() throws JspException {
* @throws JspException
* eccezione generica
*/
@Deprecated
protected String getLink(String navigationEvent, String linkClass, String title, String step, String textInnerLink)
throws JspException {
String submitName = "operation" + Values.OPERATION_SEPARATOR + "wizardNavigationOnClick"
Expand Down
6 changes: 3 additions & 3 deletions spagolite-middle/src/main/java/it/eng/util/SpagoLiteTool.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import it.eng.util.actionWriter.ActionWriter;
import it.eng.util.constantWriter.ConstantWriter;
import it.eng.util.formWriter.FormWriter;
import org.apache.xmlbeans.XmlException;

public class SpagoLiteTool {

Expand Down Expand Up @@ -170,17 +171,16 @@ public void run() {
constantWriter.write(writer);
writer.close();

} catch (Exception e) {
} catch (IOException | XmlException e) {
e.printStackTrace();
return;
}

}

public static String getGeneratedAnnotation(String className) {
StringBuilder writer = new StringBuilder();
writer.append(" @Generated(\n");
writer.append(" value = \"" + className + "\",\n");
writer.append(" value = \"").append(className).append("\",\n");
writer.append(" comments = \"Questa classe e' stata generata dal SipsTool\"\n");
writer.append(" )\n");
return writer.toString();
Expand Down
2 changes: 1 addition & 1 deletion spagolite-paginator-ejb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>it.eng.parer</groupId>
<artifactId>spagofat</artifactId>
<version>5.14.1-SNAPSHOT</version>
<version>6.14.1-SNAPSHOT</version>
</parent>

<dependencyManagement>
Expand Down
2 changes: 1 addition & 1 deletion spagolite-paginator-gf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>it.eng.parer</groupId>
<artifactId>spagofat</artifactId>
<version>5.14.1-SNAPSHOT</version>
<version>6.14.1-SNAPSHOT</version>
</parent>

<dependencyManagement>
Expand Down
Loading
Loading