| <?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>22</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>commons-functor</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <name>Commons Functor</name> |
| <inceptionYear>2003</inceptionYear> |
| <description> |
| A "functor" is an entity that serves the role of a function but can be operated upon like an object. |
| The Apache Commons Functor library defines common functor and functor-related interfaces, |
| implementations, and utilities. |
| </description> |
| <url>http://commons.apache.org/functor/</url> |
| |
| <issueManagement> |
| <system>jira</system> |
| <url>http://issues.apache.org/jira/browse/FUNCTOR</url> |
| </issueManagement> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/functor/trunk/</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/functor/trunk/</developerConnection> |
| <url>http://svn.apache.org/viewvc/commons/proper/functor/trunk/</url> |
| </scm> |
| |
| <developers> |
| <developer> |
| <name>Dennis Lundberg</name> |
| <id>dennisl</id> |
| <email>dennisl AT apache DOT org</email> |
| </developer> |
| <developer> |
| <name>Rodney Waldhoff</name> |
| <id>rwaldhoff</id> |
| <email>rwaldhoff AT apache DOT org</email> |
| </developer> |
| <developer> |
| <name>Matt Benson</name> |
| <id>mbenson</id> |
| <email>mbenson AT apache DOT org</email> |
| </developer> |
| <developer> |
| <name>Niall Pemberton</name> |
| <id>niallp</id> |
| <email>niallp AT apache DOT org</email> |
| </developer> |
| <developer> |
| <name>Simone Tripodi</name> |
| <id>simonetripodi</id> |
| <email>simonetripodi AT apache DOT org</email> |
| </developer> |
| </developers> |
| |
| <contributors> |
| <contributor> |
| <name>Jason Horman</name> |
| <email>jason AT jhorman DOT org</email> |
| </contributor> |
| <contributor> |
| <name>Herve Quiroz</name> |
| <email>herve DOT quiroz AT esil DOT univ DASH mrs DOT fr</email> |
| </contributor> |
| <contributor> |
| <name>Bruno P. Kinoshita</name> |
| <email>brunodepaulak at yahoo dot com dot br</email> |
| </contributor> |
| <contributor> |
| <name>Liviu Tudor</name> |
| <email>me AT liviutudor DOT com</email> |
| </contributor> |
| </contributors> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <!-- if upgrading, be sure to check shaded jar relocations! --> |
| <version>3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.10</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <properties> |
| <maven.compile.source>1.5</maven.compile.source> |
| <maven.compile.target>1.5</maven.compile.target> |
| <commons.componentid>functor</commons.componentid> |
| <commons.release.version>1.0</commons.release.version> |
| <commons.rc.version>RC1</commons.rc.version> |
| <commons.jira.id>FUNCTOR</commons.jira.id> |
| <commons.jira.pid>12312520</commons.jira.pid> |
| </properties> |
| |
| <build> |
| <testResources> |
| <testResource> |
| <directory>${basedir}/src/test/resources</directory> |
| </testResource> |
| </testResources> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptors> |
| <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor> |
| <descriptor>${basedir}/src/main/assembly/src.xml</descriptor> |
| </descriptors> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>1.5</version> |
| <configuration> |
| <minimizeJar>true</minimizeJar> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| <createSourcesJar>true</createSourcesJar> |
| <artifactSet> |
| <includes> |
| <include>org.apache.commons:commons-lang3</include> |
| </includes> |
| </artifactSet> |
| <relocations> |
| <relocation> |
| <pattern>org.apache.commons.lang3.builder.</pattern> |
| <shadedPattern>org.apache.commons.functor._lang3.builder.__</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.commons.lang3.exception.</pattern> |
| <shadedPattern>org.apache.commons.functor._lang3.exception.__</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.commons.lang3.mutable.</pattern> |
| <shadedPattern>org.apache.commons.functor._lang3.mutable.__</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.commons.lang3.tuple.</pattern> |
| <shadedPattern>org.apache.commons.functor._lang3.tuple.__</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.commons.lang3.</pattern> |
| <shadedPattern>org.apache.commons.functor._lang3.__</shadedPattern> |
| </relocation> |
| </relocations> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| |
| <!-- |
| | Maven3 doesn't handle ssh/scp by default |
| | let's take in consideration to add it in the parent pom |
| --> |
| <extensions> |
| <extension> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-ssh</artifactId> |
| <version>1.0</version> |
| </extension> |
| </extensions> |
| <pluginManagement> |
| <plugins> |
| <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId> |
| org.apache.maven.plugins |
| </groupId> |
| <artifactId> |
| maven-antrun-plugin |
| </artifactId> |
| <versionRange>[1.6,)</versionRange> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore></ignore> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.felix</groupId> |
| <artifactId> |
| maven-bundle-plugin |
| </artifactId> |
| <versionRange> |
| [2.3.5,) |
| </versionRange> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore></ignore> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>2.5</version> |
| <configuration> |
| <targetJdk>1.5</targetJdk> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-changes-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <issueLinkTemplate>%URL%/../%ISSUE%</issueLinkTemplate> |
| </configuration> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>changes-report</report> |
| <report>jira-report</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>2.3.2</version> |
| <configuration> |
| <threshold>Normal</threshold> |
| <effort>Default</effort> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.6</version> |
| <configuration> |
| <configLocation>${basedir}/checkstyle.xml</configLocation> |
| <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation> |
| <suppressionsFileExpression>${basedir}/checkstyle-suppressions.xml</suppressionsFileExpression> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>2.4</version> |
| </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> |
| <id>release</id> |
| <distributionManagement> |
| <!-- Cannot define in parent ATM, see COMMONSSITE-26 --> |
| <site> |
| <id>apache.website</id> |
| <name>Apache Commons Release Site</name> |
| <url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/functor/</url> |
| </site> |
| </distributionManagement> |
| </profile> |
| </profiles> |
| </project> |