Home | History | Annotate | Download | only in 1.1
      1 <?xml version="1.0"?>
      2 <!--
      3    Licensed to the Apache Software Foundation (ASF) under one or more
      4    contributor license agreements.  See the NOTICE file distributed with
      5    this work for additional information regarding copyright ownership.
      6    The ASF licenses this file to You under the Apache License, Version 2.0
      7    (the "License"); you may not use this file except in compliance with
      8    the License.  You may obtain a copy of the License at
      9 
     10        http://www.apache.org/licenses/LICENSE-2.0
     11 
     12    Unless required by applicable law or agreed to in writing, software
     13    distributed under the License is distributed on an "AS IS" BASIS,
     14    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15    See the License for the specific language governing permissions and
     16    limitations under the License.
     17 -->
     18 <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">
     19     <parent>
     20         <groupId>org.apache.commons</groupId>
     21         <artifactId>commons-parent</artifactId>
     22         <version>17</version>
     23     </parent>
     24     <modelVersion>4.0.0</modelVersion>
     25     <name>Commons Exec</name>
     26     <groupId>org.apache.commons</groupId>
     27     <artifactId>commons-exec</artifactId>
     28     <version>1.1</version>
     29     <description>A library to reliably execute external processes from within the JVM</description>
     30     <url>http://commons.apache.org/exec/</url>
     31     <issueManagement>
     32         <system>jira</system>
     33         <url>http://issues.apache.org/jira/browse/EXEC</url>
     34     </issueManagement>
     35     <dependencies>
     36         <dependency>
     37             <groupId>junit</groupId>
     38             <artifactId>junit</artifactId>
     39             <!-- Must agree with the version in build.xml -->
     40             <version>3.8.1</version>
     41             <scope>test</scope>
     42         </dependency>
     43     </dependencies>
     44     <developers>
     45         <developer>
     46             <id>brett</id>
     47             <name>Brett Porter</name>
     48             <organization>Apache</organization>
     49             <timezone>+10</timezone>
     50         </developer>
     51         <developer>
     52             <id>trygvis</id>
     53             <name>Trygve Laugstl</name>
     54             <organization>Apache</organization>
     55             <timezone>+1</timezone>
     56         </developer>
     57         <developer>
     58             <id>sgoeschl</id>
     59             <name>Siegfried Goeschl</name>
     60             <organization>Apache</organization>
     61             <timezone>+1</timezone>
     62         </developer>
     63         <developer>
     64             <id>sebb</id>
     65             <name>Sebastian Bazley</name>
     66             <organization>Apache</organization>
     67             <timezone>+1</timezone>
     68         </developer>
     69     </developers>
     70     <contributors>
     71         <contributor>
     72             <name>Niklas Gustavsson</name>
     73         </contributor>
     74         <contributor>
     75             <name>Benjamin Bentmann</name>
     76         </contributor>
     77         <contributor>
     78             <name>Marco Ferrante</name>
     79         </contributor>
     80         <contributor>
     81             <name>Jerome Lacoste</name>
     82         </contributor>
     83         <contributor>
     84             <name>Milos Kleint</name>
     85         </contributor>
     86         <contributor>
     87             <name>Pablo Hoertner</name>
     88         </contributor>
     89         <contributor>
     90             <name>Niall Pemberton</name>
     91         </contributor>
     92     </contributors>
     93     <scm>
     94         <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/exec/tags/COMMONS_EXEC_1_1_RC1</connection>
     95         <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/exec/tags/COMMONS_EXEC_1_1_RC1</developerConnection>
     96         <url>http://svn.apache.org/viewvc/commons/proper/exec/tags/COMMONS_EXEC_1_1_RC1</url>
     97     </scm>
     98     <build>
     99         <plugins>
    100             <plugin>
    101                 <groupId>org.apache.maven.plugins</groupId>
    102                 <artifactId>maven-surefire-plugin</artifactId>
    103                 <configuration>
    104                     <excludes>
    105                         <exclude>**/TestUtil.java</exclude>
    106                     </excludes>
    107                 </configuration>
    108             </plugin>
    109             <plugin>
    110                 <artifactId>maven-assembly-plugin</artifactId>
    111                 <configuration>
    112                     <descriptors>
    113                         <descriptor>src/assembly/bin.xml</descriptor>
    114                         <descriptor>src/assembly/src.xml</descriptor>
    115                     </descriptors>
    116                     <tarLongFileMode>gnu</tarLongFileMode>
    117                 </configuration>
    118             </plugin>
    119             <plugin>
    120                 <groupId>org.apache.maven.plugins</groupId>
    121                 <artifactId>maven-jar-plugin</artifactId>
    122                 <configuration>
    123                     <archive>
    124                         <manifest>
    125                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
    126                             <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
    127                         </manifest>
    128                     </archive>
    129                 </configuration>
    130             </plugin>
    131             <plugin>
    132                 <groupId>org.apache.maven.plugins</groupId>
    133                 <artifactId>maven-release-plugin</artifactId>
    134                 <version>2.0</version>
    135                 <configuration>
    136                     <mavenExecutorId>forked-path</mavenExecutorId>
    137                 </configuration>
    138             </plugin>
    139         </plugins>
    140     </build>
    141     <distributionManagement>
    142         <site>
    143             <id>website</id>
    144             <name>Apache Website</name>
    145             <url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/exec/</url>
    146         </site>
    147     </distributionManagement>
    148     <reporting>
    149         <plugins>
    150             <!-- generate the changes report from changes.xml -->
    151             <plugin>
    152                 <groupId>org.apache.maven.plugins</groupId>
    153                 <artifactId>maven-changes-plugin</artifactId>
    154                 <version>2.0</version>
    155                 <configuration>
    156                     <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
    157                 </configuration>
    158                 <reportSets>
    159                     <reportSet>
    160                         <reports>
    161                             <report>changes-report</report>
    162                         </reports>
    163                     </reportSet>
    164                 </reportSets>
    165             </plugin>
    166             <plugin>
    167                 <groupId>org.codehaus.mojo</groupId>
    168                 <artifactId>findbugs-maven-plugin</artifactId>
    169                 <version>1.2</version>
    170                 <configuration>
    171                     <threshold>Normal</threshold>
    172                     <effort>Default</effort>
    173                     <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
    174                 </configuration>
    175             </plugin>
    176         </plugins>
    177     </reporting>
    178     <profiles>
    179         <!--
    180           enable this profile if you like to create cobertura report not being part of the official website
    181         -->
    182         <profile>
    183             <id>coverage</id>
    184             <reporting>
    185                 <plugins>
    186                     <!-- Avoid broken Cobertura 2.1 plugin -->
    187                     <plugin>
    188                         <groupId>org.codehaus.mojo</groupId>
    189                         <artifactId>cobertura-maven-plugin</artifactId>
    190                         <version>2.0</version>
    191                     </plugin>
    192                 </plugins>
    193             </reporting>
    194         </profile>
    195         <profile>
    196             <id>rc</id>
    197             <distributionManagement>
    198                 <!-- Cannot define in parent ATM, see COMMONSSITE-26 -->
    199                 <site>
    200                     <id>apache.website</id>
    201                     <name>Apache Commons Release Candidate Staging Site</name>
    202                     <url>
    203                         ${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/commons/${commons.componentid}/${commons.release.version}/${commons.rc.version}/site
    204                     </url>
    205                 </site>
    206             </distributionManagement>
    207         </profile>
    208         <profile>
    209             <!-- Create archives containing stand-alone test cases -->
    210             <!-- e.g. mvn assembly:assembly -Ptest-distribution [-DskipTests] -->
    211             <id>test-distribution</id>
    212             <build>
    213                 <plugins>
    214                     <plugin>
    215                         <artifactId>maven-assembly-plugin</artifactId>
    216                         <configuration>
    217                             <descriptors>
    218                                 <descriptor>src/assembly/test-distribution.xml</descriptor>
    219                             </descriptors>
    220                             <tarLongFileMode>gnu</tarLongFileMode>
    221                         </configuration>
    222                         <executions>
    223                             <execution>
    224                                 <phase>package</phase>
    225                                 <goals>
    226                                     <goal>assembly</goal>
    227                                 </goals>
    228                             </execution>
    229                         </executions>
    230                     </plugin>
    231                     <plugin>
    232                         <groupId>org.apache.maven.plugins</groupId>
    233                         <artifactId>maven-jar-plugin</artifactId>
    234                         <configuration>
    235                             <archive>
    236                                 <manifest>
    237                                     <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
    238                                     <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
    239                                 </manifest>
    240                             </archive>
    241                         </configuration>
    242                         <executions>
    243                             <execution>
    244                                 <goals>
    245                                     <goal>jar</goal>
    246                                     <goal>test-jar</goal>
    247                                 </goals>
    248                             </execution>
    249                         </executions>
    250                     </plugin>
    251                 </plugins>
    252             </build>
    253         </profile>
    254     </profiles>
    255     <properties>
    256         <!-- Compiler source and target JVM (see parent pom). Must agree with versions in build.xml -->
    257         <maven.compile.source>1.3</maven.compile.source>
    258         <maven.compile.target>1.3</maven.compile.target>
    259         <test>*Test</test>
    260         <commons.componentid>exec</commons.componentid>
    261         <commons.jira.id>EXEC</commons.jira.id>
    262         <commons.jira.pid>12310814</commons.jira.pid>
    263         <commons.release.version>1.1</commons.release.version>
    264         <!-- The RC version used in the staging repository URL. -->
    265         <commons.rc.version>RC1</commons.rc.version>
    266         <!-- Tell M2 not to use platform specific encodings for copying resources -->
    267         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    268         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    269     </properties>
    270 </project>
    271