Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Install JSON with latest versions #61

Open
ManyRouc opened this issue Jan 7, 2024 · 1 comment
Open

Install JSON with latest versions #61

ManyRouc opened this issue Jan 7, 2024 · 1 comment

Comments

@ManyRouc
Copy link

ManyRouc commented Jan 7, 2024

Hi there !

Sorry to bother wiht my question but wondering has anyone installed the plugin with Maven 3.9.6 and Java 17 ?

Running into some issues to publish the plugin into mule repo.

Thanks !

@ManyRouc
Copy link
Author

ManyRouc commented Jan 7, 2024

for more info, the trace :
diagnostic: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\destinations\AMQDestination.java:5: error: package org.mule.extension.jsonlogger.internal.destinations.amq.client does not exist import org.mule.extension.jsonlogger.internal.destinations.amq.client.MuleBasedAnypointMQClientFactory; ^ [ERROR] diagnostic: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\singleton\LogEventSingleton.java:10: error: package org.mule.extension.jsonlogger.internal.destinations.events does not exist import org.mule.extension.jsonlogger.internal.destinations.events.LogEvent; ^ [ERROR] diagnostic: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\singleton\LogEventSingleton.java:11: error: package org.mule.extension.jsonlogger.internal.destinations.events does not exist import org.mule.extension.jsonlogger.internal.destinations.events.LogEventHandler; ^ [ERROR] diagnostic: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\singleton\LogEventSingleton.java:37: error: cannot find symbol private Disruptor<LogEvent> disruptor; ^ symbol: class LogEvent location: class org.mule.extension.jsonlogger.internal.singleton.LogEventSingleton [ERROR] diagnostic: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\singleton\LogEventSingleton.java:38: error: cannot find symbol private RingBuffer<LogEvent> ringBuffer; ^ symbol: class LogEvent location: class org.mule.extension.jsonlogger.internal.singleton.LogEventSingleton [ERROR] diagnostic: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\singleton\LogEventSingleton.java:39: error: cannot find symbol private LogEventHandler logEventHandler; ^ symbol: class LogEventHandler location: class org.mule.extension.jsonlogger.internal.singleton.LogEventSingleton [ERROR] diagnostic: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\singleton\LogEventSingleton.java:41: error: cannot find symbol public static void translate(LogEvent logEvent, long sequence, String correlationId, String log, String configName) { ^ symbol: class LogEvent location: class org.mule.extension.jsonlogger.internal.singleton.LogEventSingleton [ERROR] diagnostic: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\JsonloggerOperations.java:79: error: cannot find symbol @Execution(ExecutionType.CPU_LIGHT_ASYNC) ^ symbol: variable CPU_LIGHT_ASYNC location: class org.mule.runtime.api.meta.model.operation.ExecutionType [ERROR] diagnostic: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\JsonloggerOperations.java:241: error: cannot find symbol @Execution(ExecutionType.CPU_LIGHT_ASYNC) ^ symbol: variable CPU_LIGHT_ASYNC location: class org.mule.runtime.api.meta.model.operation.ExecutionType [ERROR] diagnostic: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\destinations\AMQDestination.java:173: error: cannot find symbol this.amqClient = new MuleBasedAnypointMQClientFactory(this.httpClient, schedulerService.ioScheduler()) ^ symbol: class MuleBasedAnypointMQClientFactory location: class org.mule.extension.jsonlogger.internal.destinations.AMQDestination [ERROR] diagnostic: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\singleton\LogEventSingleton.java:58: error: cannot find symbol this.disruptor = new Disruptor<>(LogEvent::new, BUFFER_SIZE, DaemonThreadFactory.INSTANCE, ProducerType.SINGLE, waitStrategy); ^ symbol: class LogEvent location: class org.mule.extension.jsonlogger.internal.singleton.LogEventSingleton [ERROR] diagnostic: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\singleton\LogEventSingleton.java:64: error: cannot find symbol this.logEventHandler = new LogEventHandler(this.destinations); ^ symbol: class LogEventHandler location: class org.mule.extension.jsonlogger.internal.singleton.LogEventSingleton [DEBUG] diagnostic: Note: C:\WS\json-logger\json-logger\src\main\java\org\mule\extension\jsonlogger\internal\JsonloggerOperations.java uses unchecked or unsafe operations. [DEBUG] diagnostic: Note: Recompile with -Xlint:unchecked for details. [ERROR] error on execute: error during compilation [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.559 s [INFO] Finished at: 2024-01-07T22:36:55+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.bsc.maven:maven-processor-plugin:2.2.4:process (process) on project json-logger: Error executing: error during compilation -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.bsc.maven:maven-processor-plugin:2.2.4:process (process) on project json-logger: Error executing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant