Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
160df840
Commit
160df840
authored
Apr 27, 2021
by
michael.simon
Browse files
Update Java EE from 6 to 8
Change JAXB to maven import and change class packages from javax.jaxb to jakarta.jaxb
parent
20332a86
Changes
14
Hide whitespace changes
Inline
Side-by-side
bwreg-ear/pom.xml
View file @
160df840
...
...
@@ -136,6 +136,15 @@
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
jakarta.xml.bind
</groupId>
<artifactId>
jakarta.xml.bind-api
</artifactId>
</dependency>
<dependency>
<groupId>
com.sun.xml.bind
</groupId>
<artifactId>
jaxb-impl
</artifactId>
</dependency>
</dependencies>
<build>
...
...
bwreg-entities/pom.xml
View file @
160df840
...
...
@@ -13,10 +13,10 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>
org.
jboss
.bom
</groupId>
<artifactId>
jboss
-javaee
-6.0
-with-
hibernate
</artifactId>
<version>
1.0.1.Final
</version>
<type>
pom
</type>
<groupId>
org.
wildfly
.bom
</groupId>
<artifactId>
wildfly
-javaee
8
-with-
tools
</artifactId>
<version>
1
7
.0.1.Final
</version>
<type>
pom
</type>
<scope>
import
</scope>
<optional>
false
</optional>
</dependency>
...
...
@@ -46,11 +46,6 @@
<artifactId>
hibernate-entitymanager
</artifactId>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-validator
</artifactId>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-core
</artifactId>
...
...
bwreg-jpa/pom.xml
View file @
160df840
...
...
@@ -20,19 +20,7 @@
<version>
2.7.4
</version>
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>
org.jboss.bom
</groupId>
<artifactId>
jboss-javaee-6.0-with-hibernate
</artifactId>
<version>
1.0.1.Final
</version>
<type>
pom
</type>
<scope>
import
</scope>
<optional>
false
</optional>
</dependency>
</dependencies>
</dependencyManagement>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
...
...
@@ -64,11 +52,6 @@
<artifactId>
hibernate-entitymanager
</artifactId>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-validator
</artifactId>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-core
</artifactId>
...
...
bwreg-service/pom.xml
View file @
160df840
...
...
@@ -146,6 +146,12 @@
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
jakarta.xml.bind
</groupId>
<artifactId>
jakarta.xml.bind-api
</artifactId>
<scope>
provided
</scope>
</dependency>
</dependencies>
<build>
...
...
bwreg-service/src/main/java/edu/kit/scc/nextcloud/NextcloudAnswer.java
View file @
160df840
package
edu.kit.scc.nextcloud
;
import
ja
vax
.xml.bind.annotation.XmlElement
;
import
ja
vax
.xml.bind.annotation.XmlRootElement
;
import
ja
karta
.xml.bind.annotation.XmlElement
;
import
ja
karta
.xml.bind.annotation.XmlRootElement
;
@XmlRootElement
(
name
=
"ocs"
)
public
class
NextcloudAnswer
{
...
...
bwreg-service/src/main/java/edu/kit/scc/nextcloud/NextcloudGroups.java
View file @
160df840
...
...
@@ -2,7 +2,7 @@ package edu.kit.scc.nextcloud;
import
java.util.ArrayList
;
import
ja
vax
.xml.bind.annotation.XmlElement
;
import
ja
karta
.xml.bind.annotation.XmlElement
;
public
class
NextcloudGroups
{
...
...
bwreg-service/src/main/java/edu/kit/scc/nextcloud/NextcloudMeta.java
View file @
160df840
package
edu.kit.scc.nextcloud
;
import
ja
vax
.xml.bind.annotation.XmlElement
;
import
ja
karta
.xml.bind.annotation.XmlElement
;
public
class
NextcloudMeta
{
...
...
bwreg-service/src/main/java/edu/kit/scc/nextcloud/NextcloudUser.java
View file @
160df840
package
edu.kit.scc.nextcloud
;
import
ja
vax
.xml.bind.annotation.XmlElement
;
import
ja
karta
.xml.bind.annotation.XmlElement
;
public
class
NextcloudUser
{
...
...
bwreg-service/src/main/java/edu/kit/scc/nextcloud/NextcloudWorker.java
View file @
160df840
...
...
@@ -7,9 +7,9 @@ import java.util.ArrayList;
import
java.util.List
;
import
javax.net.ssl.SSLException
;
import
ja
vax
.xml.bind.JAXBContext
;
import
ja
vax
.xml.bind.JAXBException
;
import
ja
vax
.xml.bind.Unmarshaller
;
import
ja
karta
.xml.bind.JAXBContext
;
import
ja
karta
.xml.bind.JAXBException
;
import
ja
karta
.xml.bind.Unmarshaller
;
import
org.apache.http.HttpEntity
;
import
org.apache.http.HttpHost
;
...
...
bwreg-webapp/pom.xml
View file @
160df840
...
...
@@ -127,6 +127,12 @@
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
jakarta.xml.bind
</groupId>
<artifactId>
jakarta.xml.bind-api
</artifactId>
<scope>
provided
</scope>
</dependency>
</dependencies>
<build>
...
...
@@ -163,11 +169,6 @@
</webResources>
</configuration>
</plugin>
<!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxb2-maven-plugin</artifactId>
<version>1.3.1</version> <executions> <execution> <goals> <goal>schemagen</goal>
</goals> <phase>generate-resources</phase> <configuration> <includes> <include>edu/kit/scc/webreg/rest/dto/*.java</include>
</includes> <outputDirectory>${project.build.directory}/schemas</outputDirectory>
</configuration> </execution> </executions> </plugin> -->
</plugins>
</build>
...
...
bwreg-webapp/src/main/java/edu/kit/scc/webreg/rest/dto/AttributeQueryResponse.java
View file @
160df840
...
...
@@ -2,10 +2,10 @@ package edu.kit.scc.webreg.rest.dto;
import
java.util.List
;
import
ja
vax
.xml.bind.annotation.XmlAccessType
;
import
ja
vax
.xml.bind.annotation.XmlAccessorType
;
import
ja
vax
.xml.bind.annotation.XmlElement
;
import
ja
vax
.xml.bind.annotation.XmlRootElement
;
import
ja
karta
.xml.bind.annotation.XmlAccessType
;
import
ja
karta
.xml.bind.annotation.XmlAccessorType
;
import
ja
karta
.xml.bind.annotation.XmlElement
;
import
ja
karta
.xml.bind.annotation.XmlRootElement
;
@XmlRootElement
(
name
=
"attrq-response"
)
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
...
...
bwreg-webapp/src/main/java/edu/kit/scc/webreg/rest/dto/ECPResponse.java
View file @
160df840
...
...
@@ -2,10 +2,10 @@ package edu.kit.scc.webreg.rest.dto;
import
java.util.List
;
import
ja
vax
.xml.bind.annotation.XmlAccessType
;
import
ja
vax
.xml.bind.annotation.XmlAccessorType
;
import
ja
vax
.xml.bind.annotation.XmlElement
;
import
ja
vax
.xml.bind.annotation.XmlRootElement
;
import
ja
karta
.xml.bind.annotation.XmlAccessType
;
import
ja
karta
.xml.bind.annotation.XmlAccessorType
;
import
ja
karta
.xml.bind.annotation.XmlElement
;
import
ja
karta
.xml.bind.annotation.XmlRootElement
;
@XmlRootElement
(
name
=
"ecp-response"
)
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
...
...
bwreg-webapp/src/main/java/edu/kit/scc/webreg/rest/dto/RestError.java
View file @
160df840
package
edu.kit.scc.webreg.rest.dto
;
import
ja
vax
.xml.bind.annotation.XmlAccessType
;
import
ja
vax
.xml.bind.annotation.XmlAccessorType
;
import
ja
vax
.xml.bind.annotation.XmlElement
;
import
ja
karta
.xml.bind.annotation.XmlAccessType
;
import
ja
karta
.xml.bind.annotation.XmlAccessorType
;
import
ja
karta
.xml.bind.annotation.XmlElement
;
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
class
RestError
{
...
...
pom.xml
View file @
160df840
...
...
@@ -26,16 +26,29 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>
org.wildfly.bom
</groupId>
<artifactId>
wildfly-javaee8-with-tools
</artifactId>
<version>
17.0.1.Final
</version>
<type>
pom
</type>
<scope>
import
</scope>
<optional>
false
</optional>
</dependency>
<dependency>
<groupId>
javax
</groupId>
<artifactId>
javaee-api
</artifactId>
<version>
6
.0
</version>
<version>
8
.0
</version>
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-core
</artifactId>
<version>
4
.0.
1.Final
</version>
<groupId>
jakarta.xml.bind
</groupId>
<artifactId>
jakarta.xml.bind-api
</artifactId>
<version>
3
.0.
0
</version>
</dependency>
<dependency>
<groupId>
com.sun.xml.bind
</groupId>
<artifactId>
jaxb-impl
</artifactId>
<version>
3.0.0
</version>
</dependency>
<dependency>
<groupId>
org.opensaml
</groupId>
<artifactId>
opensaml-saml-api
</artifactId>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment