blob: 4c3f19b9ce7799c22fa3e0e6dc4e62e9e3938090 [file] [log] [blame]
<?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
http://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-build-utils</artifactId>
<version>0.8.0</version>
</parent>
<artifactId>plc4x-build-utils-protocol-test</artifactId>
<name>PLC4X: Build Utils: Protocol Test: (Documentation)</name>
<description>Fake protocol intended for demonstrating the different features and aspects of MSpec.</description>
<build>
<plugins>
<!-- Use the plc4x-maven-plugin to generate code which is only used for documentation -->
<plugin>
<groupId>org.apache.plc4x.plugins</groupId>
<artifactId>plc4x-maven-plugin</artifactId>
<executions>
<execution>
<id>test</id>
<!-- We need to run this after the compilation -->
<phase>process-classes</phase>
<goals>
<goal>generate-driver</goal>
</goals>
<configuration>
<protocolName>test</protocolName>
<languageName>java</languageName>
<outputFlavor>read-write</outputFlavor>
<!-- Redirect the output somewhere non-default -->
<outputDir>${project.build.directory}/generated-site-resources/plc4x/</outputDir>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- JavaDoc will try to document the generated code, which is not really valid code -->
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4x-build-utils-protocol-base-mspec</artifactId>
<version>0.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4x-build-utils-language-java</artifactId>
<version>0.8.0</version>
<!-- Scope is 'provided' as this way it's not shipped with the driver -->
<scope>provided</scope>
</dependency>
</dependencies>
</project>