Skip to content

Commit

Permalink
closes #15; fixes pom.xml by adding missing dependecies required by j…
Browse files Browse the repository at this point in the history
…ava 9+
  • Loading branch information
mantczak committed Jul 8, 2024
1 parent 633af09 commit 7bdede7
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 9 deletions.
2 changes: 0 additions & 2 deletions build-and-tests-java-8.sh

This file was deleted.

2 changes: 2 additions & 0 deletions build-and-tests-java-9.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
mvn package -P java-9
2 changes: 0 additions & 2 deletions build-only-java-8.sh

This file was deleted.

2 changes: 2 additions & 0 deletions build-only-java-9.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
mvn package -DskipTests -P java-9
24 changes: 19 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
</developers>

<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.release>9</maven.compiler.release>
<maven.compiler.source>1.9</maven.compiler.source>
<maven.compiler.target>1.9</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.main.class>edu.put.ma.Assessment</project.main.class>
<slf4j.version>1.7.12</slf4j.version>
Expand All @@ -45,6 +46,18 @@
</properties>

<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.1</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down Expand Up @@ -96,7 +109,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.6</version>
<version>1.16.22</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -133,8 +146,9 @@
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.12.0</version>
<configuration>
<release>${maven.compiler.release}</release>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<encoding>${project.build.sourceEncoding}</encoding>
Expand Down Expand Up @@ -205,7 +219,7 @@
</build>
<profiles>
<profile>
<id>java-8</id>
<id>java-9</id>
<dependencies>
<dependency>
<groupId>xerces</groupId>
Expand Down

0 comments on commit 7bdede7

Please sign in to comment.