Oh,

I also didn't see that.
However this error comes from our plugin. It can't find a protocol module with 
the name "omron".

Does the driver module have a dependency to the protocol module? (provided 
scope is enough) check that protocol module has the property file registering 
the protocol module and does the Java class return the name "omron"?

Chris

Gesendet von Outlook für Android<https://aka.ms/AAb9ysg>
________________________________
From: Łukasz Dywicki <l...@code-house.org>
Sent: Monday, April 14, 2025 6:36:42 PM
To: dev@plc4x.apache.org <dev@plc4x.apache.org>
Subject: Re: [pick-brains][code-generation]

Hello,
Dear contributor - sadly the pictures you have attached didn't pass. My
mail client marked your message as a spam, thus I found it only today.

Error you have seen comes from the maven, some of relations you have
created between pom.xml files do not match. To be more precise - one of pom
files didn't have <version> tag with ie. ${project.version} inside.
Overall, this is a basic build issue, which I believe you already passed.

Having said above, good luck with further development!

Łukasz

wt., 14 sty 2025 o 05:37 王志双 <zhishuang.wa...@gmail.com> napisał(a):

>
> I created the Omron protocol in plc4x/protocols and created the Omron
> module in plc4j/drivers. When I ran mvn install - P update generated code
> with java, an error occurred, as shown in the figure,May I ask what caused
> this and how can I resolve it?
>
> [image: image.png]
> [image: image.png]
>
> [image: 截屏2025-01-13 下午9.59.58 (1).png]
>
> [ERROR] Failed to execute goal
> org.apache.plc4x.plugins:plc4x-maven-plugin:1.8.0-SNAPSHOT:generate-driver
> (generate-driver) on project plc4j-driver-omron: Unable to find protocol
> specification module 'omron' with version 'undefined' on modules classpath
> -> [Help 1]
>

Reply via email to