blob: 304e3211c3b74f2c21c4e2d68b6df12d8d427410 [file] [log] [blame]
<?xml version="1.0"?>
<!--
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">
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
<version>52</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<name>Apache Commons Exec</name>
<artifactId>commons-exec</artifactId>
<version>1.4.0-SNAPSHOT</version>
<inceptionYear>2005</inceptionYear>
<description>
Apache Commons Exec is a library to reliably execute external processes from within the JVM.
</description>
<url>https://commons.apache.org/proper/commons-exec/</url>
<issueManagement>
<system>jira</system>
<url>https://issues.apache.org/jira/browse/EXEC</url>
</issueManagement>
<scm>
<connection>scm:git:https://gitbox.apache.org/repos/asf/commons-exec</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-exec</developerConnection>
<url>https://gitbox.apache.org/repos/asf/commons-exec</url>
</scm>
<developers>
<developer>
<id>brett</id>
<name>Brett Porter</name>
<organization>Apache</organization>
<timezone>+10</timezone>
</developer>
<developer>
<id>trygvis</id>
<name>Trygve Laugstøl</name>
<organization>Apache</organization>
<timezone>+1</timezone>
</developer>
<developer>
<id>sgoeschl</id>
<name>Siegfried Goeschl</name>
<organization>Apache</organization>
<timezone>+1</timezone>
</developer>
<developer>
<id>sebb</id>
<name>Sebastian Bazley</name>
<organization>Apache</organization>
<timezone>+1</timezone>
</developer>
<developer>
<name>Gary Gregory</name>
<id>ggregory</id>
<organization>Apache</organization>
<email>ggregory@apache.org</email>
<url>http://www.garygregory.com</url>
<timezone>-5</timezone>
</developer>
</developers>
<contributors>
<contributor>
<name>Niklas Gustavsson</name>
</contributor>
<contributor>
<name>Benjamin Bentmann</name>
</contributor>
<contributor>
<name>Marco Ferrante</name>
</contributor>
<contributor>
<name>Jerome Lacoste</name>
</contributor>
<contributor>
<name>Milos Kleint</name>
</contributor>
<contributor>
<name>Pablo Hoertner</name>
</contributor>
<contributor>
<name>Niall Pemberton</name>
</contributor>
</contributors>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<!-- TODO Add checkstyle:check -->
<defaultGoal>clean verify apache-rat:check japicmp:cmp javadoc:javadoc</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/TestUtil.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/assembly/bin.xml</descriptor>
<descriptor>src/assembly/src.xml</descriptor>
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<configuration>
<ignorePathsToDelete>
<ignorePathToDelete>javadocs</ignorePathToDelete>
</ignorePathsToDelete>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<site>
<id>apache.website</id>
<name>Apache Website</name>
<url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/exec/</url>
</site>
</distributionManagement>
<reporting>
<plugins>
<!-- generate the changes report from changes.xml -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<configuration>
<issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.13</version>
<configuration>
<configLocation>${basedir}/conf/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
<headerFile>${basedir}/conf/HEADER.txt</headerFile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.7.1</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.version}</version>
<configuration>
<threshold>Normal</threshold>
<effort>Default</effort>
<excludeFilterFile>${basedir}/conf/findbugs-exclude-filter.xml</excludeFilterFile>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<exclude>src/test/resources/eml/*.eml</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>rc</id>
<distributionManagement>
<!-- Cannot define in parent ATM, see COMMONSSITE-26 -->
<site>
<id>apache.website</id>
<name>Apache Commons Release Candidate Staging Site</name>
<url>
${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/commons/${commons.componentid}/${commons.release.version}/${commons.rc.version}/site
</url>
</site>
</distributionManagement>
</profile>
<profile>
<!-- Use a profile to detect if we are running in a Java 1.8 environment.
Use different versions of easymock/powermock, otherwise the test execution will fail -->
<id>test_java_8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<properties>
<findbugs.version>3.0.5</findbugs.version>
</properties>
</profile>
</profiles>
<properties>
<!-- Compiler source and target JVM (see parent pom). Must agree with versions in build.xml -->
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<commons.rc.version>RC1</commons.rc.version>
<commons.bc.version>1.3</commons.bc.version>
<commons.release.version>1.4.0</commons.release.version>
<commons.release.isDistModule>true</commons.release.isDistModule>
<commons.componentid>exec</commons.componentid>
<commons.module.name>org.apache.commons.exec</commons.module.name>
<commons.jira.id>EXEC</commons.jira.id>
<commons.jira.pid>12310814</commons.jira.pid>
<!-- The RC version used in the staging repository URL. -->
<!-- Tell M2 not to use platform specific encodings for copying resources -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
<test>*Test</test>
</properties>
</project>