plc4x-protocols-knxnetip
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.plc4x</groupId> <artifactId>plc4x-protocols-knxnetip</artifactId> <version>0.13.1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.plc4x</groupId> <artifactId>plc4x-protocols</artifactId> <version>0.13.1</version> </parent> <artifactId>plc4x-protocols-knxnetip</artifactId> <name>Protocols: KNXNet/IP</name> <description>Base protocol specifications for the KNXNet/IP protocol</description> <properties> <project.build.outputTimestamp>2025-08-24T18:14:38Z</project.build.outputTimestamp> </properties> <build> <resources> <resource> <directory>src/main/generated</directory> </resource> <resource> <directory>src/main/resources</directory> </resource> </resources> </build> <dependencies> <dependency> <groupId>org.apache.plc4x</groupId> <artifactId>plc4x-code-generation-protocol-base-mspec</artifactId> <version>0.13.1</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </dependency> <!-- Generally used for the metadata generator to not pollute the classpath --> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>update-generated-code</id> <build> <plugins> <!-- Fetch the master-data which will be used to translate manufacturer ids to readable names --> <!-- We're intentionally not using the download plugin as this would either download only once and not get any updates or it would try downloading for every build. This however might result in getting banned on the KNX server. So this script makes sure the knx-master-data.xml is updated at most every 24h --> <plugin> <groupId>org.codehaus.gmaven</groupId> <artifactId>groovy-maven-plugin</artifactId> <version>2.1.1</version> <executions> <!-- Do some pre-build checks and report any findings to the user --> <execution> <id>fetch-knx-manufacturer-data</id> <phase>generate-resources</phase> <goals> <goal>execute</goal> </goals> <configuration> <source>${project.basedir}/src/main/script/getKnxMasterData.groovy</source> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.groovy</groupId> <artifactId>groovy</artifactId> <version>${groovy.version}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xml-maven-plugin</artifactId> <version>1.1.0</version> <executions> <execution> <phase>generate-resources</phase> <goals> <goal>transform</goal> </goals> </execution> </executions> <configuration> <transformationSets> <transformationSet> <dir>${project.build.directory}/downloads</dir> <includes>*.xml</includes> <stylesheet>src/main/xslt/knx-types.xsl</stylesheet> <outputDir>${project.basedir}/src/main/generated/protocols/knxnetip</outputDir> <fileMappers> <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper"> <targetExtension>.mspec</targetExtension> </fileMapper> </fileMappers> </transformationSet> </transformationSets> </configuration> <dependencies> <dependency> <groupId>net.sf.saxon</groupId> <artifactId>Saxon-HE</artifactId> <version>12.8</version> </dependency> </dependencies> </plugin> </plugins> </build> </profile> </profiles> </project>