Skip to content

Commit

Permalink
[Java] Fix joynr-generator-standalone module failure in joynr-java-te…
Browse files Browse the repository at this point in the history
…sts job
  • Loading branch information
Dmytro Baranov authored and szymondabrowskipartner committed Jan 10, 2025
1 parent 7d3495c commit 6b01958
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 44 deletions.
4 changes: 4 additions & 0 deletions tools/generator/framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

import static io.joynr.generator.util.FileSystemAccessUtil.createFileSystemAccess;

import java.util.logging.Level;
import java.util.logging.Logger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import org.eclipse.emf.ecore.resource.Resource.Diagnostic;
import org.eclipse.emf.ecore.resource.Resource;
Expand All @@ -41,7 +41,7 @@

public class Executor {

private final Logger logger = Logger.getLogger("io.joynr.generator.Executor");
private final Logger logger = LoggerFactory.getLogger(Executor.class);
private final InvocationArguments arguments;
private final IGenerator generator;
private final IFileSystemAccess outputFileSystem;
Expand Down Expand Up @@ -131,7 +131,7 @@ public void generate() {
for (Diagnostic error : resource.getErrors()) {
errorMsg.append(error.getMessage());
}
logger.log(Level.SEVERE, errorMsg.toString());
logger.error(errorMsg.toString());
System.exit(-1);
} else {
joynrGenerator.updateCommunicationModelGeneration(resource);
Expand Down
40 changes: 0 additions & 40 deletions tools/generator/joynr-generator-standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -329,14 +329,6 @@
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs</artifactId>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.apache.bcel</groupId>
<artifactId>bcel</artifactId>
Expand Down Expand Up @@ -515,10 +507,6 @@
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.equinox.registry</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.xtend</groupId>
<artifactId>org.eclipse.xtend.core</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.xtend</groupId>
<artifactId>org.eclipse.xtend.lib</artifactId>
Expand All @@ -531,18 +519,10 @@
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.common.types</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.util</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.xbase</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.xbase.lib</artifactId>
Expand Down Expand Up @@ -575,26 +555,6 @@
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-analysis</artifactId>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-util</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down

0 comments on commit 6b01958

Please sign in to comment.