| <?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/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.freemarker.docgen</groupId> |
| <artifactId>freemarker-docgen</artifactId> |
| <version>0.0.2-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>freemarker-docgen-core</artifactId> |
| <name>Apache FreeMarker Docgen - Core</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.freemarker</groupId> |
| <artifactId>freemarker</artifactId> |
| <version>2.3.33</version> |
| </dependency> |
| <dependency> |
| <groupId>com.thaiopensource</groupId> |
| <artifactId>jing</artifactId> |
| <version>20091111</version> |
| <exclusions> |
| <exclusion> |
| <groupId>xerces</groupId> |
| <artifactId>xercesImpl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| </exclusion> |
| <exclusion> |
| <!-- Apparently, it's not needed for what we do, so we avoid license complications. --> |
| <groupId>net.sf.saxon</groupId> |
| <artifactId>saxon</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.docbook</groupId> |
| <artifactId>docbook-schemas</artifactId> |
| <version>5.1-1</version> |
| <!-- We just need the docbook.rng resource from this artifact, so we exclude all dependencies. --> |
| <!-- These exclusions can be removed starting from 5.2. --> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>net.sf.saxon</groupId> |
| <artifactId>Saxon-HE</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.xmlresolver</groupId> |
| <artifactId>xmlresolver</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <!-- Needed on Java 9+ --> |
| <groupId>xalan</groupId> |
| <artifactId>xalan</artifactId> |
| <version>2.7.2</version> |
| <exclusions> |
| <exclusion> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.16.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-text</artifactId> |
| <version>1.12.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>33.2.0-jre</version> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-engine</artifactId> |
| <version>5.7.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest</artifactId> |
| <version>2.2</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| </resource> |
| <resource> |
| <directory>${project.build.directory}/resources-gulp</directory> |
| </resource> |
| </resources> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>gulp</id> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <phase>generate-resources</phase> |
| <configuration> |
| <executable>node</executable> |
| <arguments> |
| <argument>node_modules/gulp/bin/gulp.js</argument> |
| </arguments> |
| <useMavenLogger>true</useMavenLogger> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>npm-install-needed</id> |
| <activation> |
| <file> |
| <missing>node_modules</missing> |
| </file> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>npm-install</id> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <phase>initialize</phase> |
| <configuration> |
| <executable>npm</executable> |
| <arguments> |
| <argument>install</argument> |
| </arguments> |
| <useMavenLogger>true</useMavenLogger> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |