From 572771094441b552a9c08b105cf25f7845a27ffb Mon Sep 17 00:00:00 2001 From: RODRIGUEZ lucas Date: Tue, 5 Mar 2024 11:40:30 +0100 Subject: [PATCH] Adapt Maven config file to be able to compile the IDFM parser --- pom.xml | 19 ++++++++++++++++++- .../u_paris/gla/project/idfm/TraceEntry.java | 3 ++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 787e8a2..6eb663f 100644 --- a/pom.xml +++ b/pom.xml @@ -37,6 +37,22 @@ + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + prepare-package + + copy-dependencies + + + ${project.build.directory}/${project.build.finalName}.lib + + + + org.apache.maven.plugins maven-jar-plugin @@ -45,7 +61,8 @@ true - fr.u_paris.gla.project.App + ${project.build.finalName}.lib/ + fr.u_paris.gla.project.idfm.IDFMNetworkExtractor diff --git a/src/main/java/fr/u_paris/gla/project/idfm/TraceEntry.java b/src/main/java/fr/u_paris/gla/project/idfm/TraceEntry.java index 92ee5bf..ee0f2e7 100644 --- a/src/main/java/fr/u_paris/gla/project/idfm/TraceEntry.java +++ b/src/main/java/fr/u_paris/gla/project/idfm/TraceEntry.java @@ -25,7 +25,8 @@ public final class TraceEntry { // FIXME list of lists are bad practice in direct access... /** @return the list of paths */ public List> getPaths() { - return Collections.unmodifiableList(paths); + // TODO Ne pas retourner directement la liste + return paths; } public void addPath(List path) {