| <?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="https://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 |
| https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.yetus</groupId> |
| <artifactId>yetus-project</artifactId> |
| <version>0.13.0-SNAPSHOT</version> |
| <relativePath>..</relativePath> |
| </parent> |
| <artifactId>releasedocmaker</artifactId> |
| <description>JIRA-based Changelog and Release Notes Generator</description> |
| <name>Apache Yetus - releasedocmaker</name> |
| <packaging>jar</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.python</groupId> |
| <artifactId>jython-slim</artifactId> |
| <version>${jython-slim.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.yetus</groupId> |
| <artifactId>audience-annotations</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/python</directory> |
| </resource> |
| </resources> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.yetus</groupId> |
| <artifactId>yetus-assemblies</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>pre-dist</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <finalName>dist/apache-yetus-${project.version}</finalName> |
| <appendAssemblyId>false</appendAssemblyId> |
| <attach>false</attach> |
| <descriptors> |
| <descriptor>src/main/assemblies/${project.artifactId}.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| |
| <execution> |
| <id>module-dist</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <appendAssemblyId>false</appendAssemblyId> |
| <attach>true</attach> |
| <descriptorRefs> |
| <descriptorRef>module-dist</descriptorRef> |
| </descriptorRefs> |
| </configuration> |
| </execution> |
| |
| <execution> |
| <id>make-jar-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <archive> |
| <manifest> |
| <mainClass>org.apache.yetus.releasedocmaker.ReleaseDocMaker</mainClass> |
| </manifest> |
| </archive> |
| <descriptors> |
| <descriptor>src/main/assemblies/jar-with-dependencies.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>net.sf.mavenjython</groupId> |
| <artifactId>jython-compile-maven-plugin</artifactId> |
| <version>${jython-compile-maven-plugin.version}</version> |
| <executions> |
| <execution> |
| <phase>compile</phase> |
| <goals> |
| <goal>jython</goal> |
| </goals> |
| <configuration> |
| <temporaryBuildDirectory>${project.build.directory}/jython-plugins-tmp/</temporaryBuildDirectory> |
| <libraries> |
| <param>--index-url=https://pypi.python.org/simple/</param> |
| <param>python-dateutil</param> |
| </libraries> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| </project> |