|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + * SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com |
| 4 | + * SPDX-License-Identifier: MIT |
| 5 | +--> |
| 6 | +<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"> |
| 7 | + <modelVersion>4.0.0</modelVersion> |
| 8 | + <parent> |
| 9 | + <groupId>com.jcabi</groupId> |
| 10 | + <artifactId>parent</artifactId> |
| 11 | + <version>0.68.0</version> |
| 12 | + </parent> |
| 13 | + <groupId>org.eolang</groupId> |
| 14 | + <artifactId>examples</artifactId> |
| 15 | + <version>@project.version@</version> |
| 16 | + <packaging>jar</packaging> |
| 17 | + <name>Generates SODG Files</name> |
| 18 | + <description>This tests compiles EO programs to XMIR and then checks that we can generate SODG files from this XMIR</description> |
| 19 | + <properties> |
| 20 | + <eo.version>0.55.2</eo.version> |
| 21 | + </properties> |
| 22 | + <build> |
| 23 | + <plugins> |
| 24 | + <plugin> |
| 25 | + <artifactId>maven-surefire-plugin</artifactId> |
| 26 | + <configuration> |
| 27 | + <failIfNoTests>false</failIfNoTests> |
| 28 | + </configuration> |
| 29 | + </plugin> |
| 30 | + <plugin> |
| 31 | + <groupId>org.eolang</groupId> |
| 32 | + <artifactId>eo-maven-plugin</artifactId> |
| 33 | + <version>${eo.version}</version> |
| 34 | + <executions> |
| 35 | + <execution> |
| 36 | + <goals> |
| 37 | + <goal>register</goal> |
| 38 | + <goal>assemble</goal> |
| 39 | + <goal>transpile</goal> |
| 40 | + </goals> |
| 41 | + </execution> |
| 42 | + </executions> |
| 43 | + <configuration> |
| 44 | + <unrollExitError>true</unrollExitError> |
| 45 | + <foreign>${project.build.directory}/eo/foreign.csv</foreign> |
| 46 | + <foreignFormat>csv</foreignFormat> |
| 47 | + <placed>${project.build.directory}/eo/placed.json</placed> |
| 48 | + <placedFormat>json</placedFormat> |
| 49 | + <trackTransformationSteps>true</trackTransformationSteps> |
| 50 | + </configuration> |
| 51 | + </plugin> |
| 52 | + <plugin> |
| 53 | + <groupId>org.eolang</groupId> |
| 54 | + <artifactId>sodg-maven-plugin</artifactId> |
| 55 | + <version>@project.version@</version> |
| 56 | + <executions> |
| 57 | + <execution> |
| 58 | + <goals> |
| 59 | + <goal>sodg</goal> |
| 60 | + </goals> |
| 61 | + </execution> |
| 62 | + </executions> |
| 63 | + <configuration> |
| 64 | + <foreign>${project.build.directory}/eo/foreign.csv</foreign> |
| 65 | + <foreignFormat>csv</foreignFormat> |
| 66 | + <generateSodgXmlFiles>true</generateSodgXmlFiles> |
| 67 | + <generateXemblyFiles>true</generateXemblyFiles> |
| 68 | + <!-- |
| 69 | + @todo #11:90min Enable 'graph' and 'dot' files generation |
| 70 | + In order to generate 'graph' and 'dot' files, we need to enable |
| 71 | + 'generateGraphFiles' and 'generateDotFiles' options in the |
| 72 | + 'sodg-maven-plugin' configuration (right below:) |
| 73 | + <generateGraphFiles>true</generateGraphFiles> |
| 74 | + <generateDotFiles>true</generateDotFiles> |
| 75 | + Currently, if we enable them, the plugin fails. |
| 76 | + --> |
| 77 | + </configuration> |
| 78 | + </plugin> |
| 79 | + </plugins> |
| 80 | + </build> |
| 81 | +</project> |
0 commit comments