Skip to content

Commit 1fa7bc8

Browse files
Merge pull request #292 from com-pas/develop
Develop to Main
2 parents fe12ba7 + c1ac3b7 commit 1fa7bc8

File tree

61 files changed

+3830
-1726
lines changed

Some content is hidden

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

61 files changed

+3830
-1726
lines changed

pom.xml

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,18 @@
3636
<sonar.coverage.exclusions>sct-coverage/**</sonar.coverage.exclusions>
3737
<aggregate.report.dir>../sct-coverage/target/site/jacoco-aggregate/jacoco.xml</aggregate.report.dir>
3838
<sonar.coverage.jacoco.xmlReportPaths>${basedir}/${aggregate.report.dir}</sonar.coverage.jacoco.xmlReportPaths>
39-
<compas-core.version>0.14.0</compas-core.version>
39+
<compas-core.version>0.15.0</compas-core.version>
4040
<compas-scl-xsd.version>0.0.4</compas-scl-xsd.version>
4141
<maven.plugin.javadoc>3.4.1</maven.plugin.javadoc>
4242
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
4343
<junit-version>5.9.0</junit-version>
4444
<logback-classic.version>1.4.5</logback-classic.version>
4545
<assertj.version>3.22.0</assertj.version>
4646
<lombok.version>1.18.24</lombok.version>
47+
<jackson-databind.version>2.13.4.1</jackson-databind.version>
4748
</properties>
4849

4950
<dependencies>
50-
<dependency>
51-
<groupId>org.lfenergy.compas.core</groupId>
52-
<artifactId>scl2007b4</artifactId>
53-
</dependency>
54-
<dependency>
55-
<groupId>org.lfenergy.compas.core</groupId>
56-
<artifactId>scl-extension</artifactId>
57-
</dependency>
5851
<dependency>
5952
<groupId>ch.qos.logback</groupId>
6053
<artifactId>logback-classic</artifactId>
@@ -85,11 +78,6 @@
8578
<version>${junit-version}</version>
8679
<scope>test</scope>
8780
</dependency>
88-
<dependency>
89-
<groupId>org.lfenergy.compas.core</groupId>
90-
<artifactId>scl2007b4</artifactId>
91-
<version>${compas-core.version}</version>
92-
</dependency>
9381
<dependency>
9482
<groupId>org.lfenergy.compas.core</groupId>
9583
<artifactId>scl-extension</artifactId>
@@ -110,6 +98,11 @@
11098
<artifactId>assertj-core</artifactId>
11199
<version>${assertj.version}</version>
112100
</dependency>
101+
<dependency>
102+
<groupId>com.fasterxml.jackson.core</groupId>
103+
<artifactId>jackson-databind</artifactId>
104+
<version>${jackson-databind.version}</version>
105+
</dependency>
113106
</dependencies>
114107
</dependencyManagement>
115108
<modules>
@@ -122,16 +115,6 @@
122115
<build>
123116
<pluginManagement>
124117
<plugins>
125-
<plugin>
126-
<groupId>org.lfenergy.compas.xsd</groupId>
127-
<artifactId>compas-scl-xsd</artifactId>
128-
<version>${compas-scl-xsd.version}</version>
129-
</plugin>
130-
<plugin>
131-
<groupId>org.lfenergy.compas.core</groupId>
132-
<artifactId>scl-extension</artifactId>
133-
<version>${compas-core.version}</version>
134-
</plugin>
135118
<plugin>
136119
<groupId>org.apache.maven.plugins</groupId>
137120
<artifactId>maven-compiler-plugin</artifactId>

sct-commons/pom.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
<artifactId>commons-lang3</artifactId>
3636
<version>3.12.0</version>
3737
</dependency>
38+
<dependency>
39+
<groupId>com.fasterxml.jackson.core</groupId>
40+
<artifactId>jackson-databind</artifactId>
41+
</dependency>
3842
<dependency>
3943
<groupId>jakarta.xml.bind</groupId>
4044
<artifactId>jakarta.xml.bind-api</artifactId>
@@ -170,7 +174,7 @@
170174
<artifactId>scl-extension</artifactId>
171175
</artifactItem>
172176
</artifactItems>
173-
<outputDirectory>${project.build.directory}</outputDirectory>
177+
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
174178
</configuration>
175179
</execution>
176180
</executions>
@@ -189,8 +193,8 @@
189193
</executions>
190194
<configuration>
191195
<sources>
192-
<source>${project.build.directory}/xsd/SCL2007B4/SCL.xsd</source>
193-
<source>${project.build.directory}/xsd/SCL_CoMPAS.xsd</source>
196+
<source>${project.build.outputDirectory}/xsd/SCL2007B4/SCL.xsd</source>
197+
<source>${project.build.outputDirectory}/xsd/SCL_CoMPAS.xsd</source>
194198
</sources>
195199
<xjbSources>
196200
<xjbSource>${project.basedir}/src/main/resources/binding_configuration.xjb</xjbSource>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// SPDX-FileCopyrightText: 2023 RTE FRANCE
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
5+
@XmlSchema(
6+
namespace = "http://www.iec.ch/61850/2003/SCL",
7+
xmlns = {
8+
@XmlNs(namespaceURI = "http://www.iec.ch/61850/2003/SCL", prefix = ""),
9+
@XmlNs(namespaceURI = "https://www.lfenergy.org/compas/extension/v1", prefix = "compas")
10+
},
11+
elementFormDefault = XmlNsForm.QUALIFIED)
12+
13+
14+
package org.lfenergy.compas.scl2007b4.model;
15+
16+
import javax.xml.bind.annotation.XmlNs;
17+
import javax.xml.bind.annotation.XmlNsForm;
18+
import javax.xml.bind.annotation.XmlSchema;
19+
20+
/* This file is used by the Marshaller to set prefix "compas" for Compas Privates when marshalling JAXB objects */

0 commit comments

Comments
 (0)