| <?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.yetus</groupId> |
| <artifactId>yetus-project</artifactId> |
| <version>0.10.0-SNAPSHOT</version> |
| <relativePath>..</relativePath> |
| </parent> |
| <artifactId>shelldocs</artifactId> |
| <description>API Documentation for Shell Scripts</description> |
| <name>Apache Yetus - shelldocs</name> |
| <packaging>jar</packaging> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.scijava</groupId> |
| <artifactId>jython-shaded</artifactId> |
| <version>${jython-shaded.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>net.sf.mavenjython</groupId> |
| <artifactId>jython-compile-maven-plugin</artifactId> |
| <version>${jython-compile-maven-plugin.version}</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jython</goal> |
| </goals> |
| </execution> |
| </executions> |
| </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>make-jar-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <archive> |
| <manifest> |
| <mainClass>org.apache.yetus.shelldocs.ShellDocs</mainClass> |
| </manifest> |
| </archive> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| </configuration> |
| </execution> |
| |
| <execution> |
| <id>build</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <finalName>dist/apache-yetus-${project.version}</finalName> |
| <appendAssemblyId>false</appendAssemblyId> |
| <attach>false</attach> |
| <descriptorRefs> |
| <descriptorRef>script-bundle</descriptorRef> |
| </descriptorRefs> |
| </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> |
| |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.yetus</groupId> |
| <artifactId>yetus-minimaven-plugin</artifactId> |
| <version>${project.version}</version> |
| <executions> |
| <execution> |
| <id>bins4libs</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>bin4libs</goal> |
| </goals> |
| <configuration> |
| <libdir>lib/shelldocs</libdir> |
| <basedir>${project.build.directory}/dist/apache-yetus-${project.version}</basedir> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| </project> |