Skip to content

Clean up and rework dependencies in pom files #183

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

Merged
merged 16 commits into from
Jul 2, 2025
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
29 changes: 29 additions & 0 deletions .github/workflows/dependency_analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Maven Dependency Check
description: Runs Maven's dependency analysis to identify unused and undeclared dependencies and fails the build if there are any warnings.

on: [pull_request, workflow_dispatch]

jobs:
analyze-dependencies:
runs-on: ubuntu-latest
name: Analyze Dependencies
steps:
- name: Checkout source code
uses: actions/checkout@v4
# Set up Java version
- name: Set up Java 11
uses: actions/setup-java@v4
with:
distribution: adopt
java-package: jdk
java-version: 11
# Restores Maven dependencies
- name: Restore local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run dependency analysis
run: mvn dependency:analyze -DfailOnWarning
1 change: 0 additions & 1 deletion PDS/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@
<properties>
<license.dir>${project.parent.basedir}</license.dir>
</properties>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import test.aliasing.AliasingTestSetUp;

public class BasicTest extends AliasingTestSetUp {

@Test
public void branching1() {
String queryLHS = "a_q1";
Expand Down
29 changes: 27 additions & 2 deletions SynchronizedPDS/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,39 @@
<dependency>
<groupId>de.fraunhofer.iem</groupId>
<artifactId>WPDS</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>de.fraunhofer.iem</groupId>
<artifactId>PDS</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<version>${jspecify.version}</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
</dependency>
</dependencies>
</project>
Loading