| <?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.freemarker.generator</groupId> |
| <artifactId>freemarker-generator</artifactId> |
| <version>0.1.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>freemarker-generator-maven-plugin</artifactId> |
| <packaging>maven-plugin</packaging> |
| |
| <name>Apache FreeMarker Generator: Maven Plugin</name> |
| <description>Maven plugin for Apache FreeMarker</description> |
| |
| <properties> |
| <maven-core.version>3.5.2</maven-core.version> |
| <maven-plugin-api.version>3.5.2</maven-plugin-api.version> |
| <maven-plugin-annotations.version>3.5</maven-plugin-annotations.version> |
| <fastutil.version>8.1.0</fastutil.version> |
| <gson.version>2.8.6</gson.version> |
| <jmockit.version>1.32</jmockit.version> |
| <org.testng.version>6.8</org.testng.version> |
| <assertj-core.version>3.8.0</assertj-core.version> |
| <clover-target-percentage>100</clover-target-percentage> |
| <clover-phase>pre-site</clover-phase> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-core</artifactId> |
| <version>${maven-core.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>${maven-plugin-api.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugin-tools</groupId> |
| <artifactId>maven-plugin-annotations</artifactId> |
| <version>${maven-plugin-annotations.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.sisu</groupId> |
| <artifactId>org.eclipse.sisu.plexus</artifactId> |
| <version>0.3.3</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.jmockit</groupId> |
| <artifactId>jmockit</artifactId> |
| <version>${jmockit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>${gson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.freemarker</groupId> |
| <artifactId>freemarker</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>${org.testng.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>${assertj-core.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <configuration> |
| <goalPrefix>freemarker-generator</goalPrefix> |
| </configuration> |
| <executions> |
| <execution> |
| <id>default-descriptor</id> |
| <goals> |
| <goal>descriptor</goal> |
| </goals> |
| <phase>process-classes</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.openclover</groupId> |
| <artifactId>clover-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>clover</id> |
| <phase>${clover-phase}</phase> |
| <goals> |
| <goal>instrument-test</goal> |
| <goal>clover</goal> |
| <goal>check</goal> |
| </goals> |
| <configuration> |
| <targetPercentage>${clover-target-percentage}</targetPercentage> |
| <generateHtml>true</generateHtml> |
| <generateXml>true</generateXml> |
| <jdk>${maven.compiler.source}</jdk> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>*.md</exclude> |
| <excludde>**/*.json</excludde> |
| <excludde>src/test/data/generating-file-visitor/data/mydir/bad-extension-test.txt</excludde> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| </project> |