Skip to content
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

feat(plc4j/drivers): Create maven meta package to include all drivers #1166

Merged
merged 3 commits into from
Oct 21, 2023

Conversation

takraj
Copy link
Contributor

@takraj takraj commented Oct 19, 2023

This way users do not need to explicitly list all drivers in their projects, and to update it whenever a driver is added or removed.

This way users do not need to explicitly list all drivers in their
projects, and to update it whenever a driver is added or removed.
plc4j/drivers/all/pom.xml Outdated Show resolved Hide resolved
plc4j/examples/plc4j-s7event/pom.xml Outdated Show resolved Hide resolved
@@ -88,15 +88,16 @@

<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-simulated</artifactId>
<artifactId>plc4j-driver-plc4x</artifactId>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woudln't the plc4x driver be part of the all package?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but in plc4x-server this is the only driver that is needed at compile time too, not just runtime, because this application uses types from that driver.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Odd ... why is this driver needed at compile-time?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL ... forgett it ... stupid me ;) ... It#s the PLC4X server, which is the server host for the PLC4X client driver. Of cours does it require these types. I was sort of thinking of the OPC-UA Server module instead ... please ignore my mumbling ;-)

@chrisdutz chrisdutz merged commit 2d428ca into apache:develop Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants