blob: 15f44e1412d54f246783e71cfb1fcdac87fcdce3 [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>12</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-jexl</artifactId>
<version>2.0</version>
<name>Commons JEXL</name>
<inceptionYear>2001</inceptionYear>
<description>Jexl is an implementation of the JSTL Expression Language with extensions.</description>
<url>http://commons.apache.org/jexl/</url>
<issueManagement>
<system>jira</system>
<url>http://issues.apache.org/jira/browse/JEXL</url>
</issueManagement>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/jexl/tags/COMMONS_JEXL_2_0-RC6</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/jexl/tags/COMMONS_JEXL_2_0-RC6</developerConnection>
<url>http://svn.apache.org/viewvc/commons/proper/jexl/tags/COMMONS_JEXL_2_0-RC6</url>
</scm>
<developers>
<developer>
<name>dIon Gillard</name>
<id>dion</id>
<email>dion AT apache DOT org</email>
<organization>Apache Software Foundation</organization>
</developer>
<developer>
<name>Geir Magnusson Jr.</name>
<id>geirm</id>
<email>geirm AT apache DOT org</email>
<organization>independent</organization>
</developer>
<developer>
<name>Tim O'Brien</name>
<id>tobrien</id>
<email>tobrien AT apache DOT org</email>
<organization>independent</organization>
</developer>
<developer>
<name>Peter Royal</name>
<id>proyal</id>
<email>proyal AT apache DOT org</email>
<organization>Apache Software Foundation</organization>
</developer>
<developer>
<name>James Strachan</name>
<id>jstrachan</id>
<email>jstrachan AT apache DOT org</email>
<organization>SpiritSoft, Inc.</organization>
</developer>
<developer>
<name>Rahul Akolkar</name>
<id>rahul</id>
<email>rahul AT apache DOT org</email>
<organization>Apache Software Foundation</organization>
</developer>
<developer>
<name>Sebastian Bazley</name>
<id>sebb</id>
<email>sebb AT apache DOT org</email>
</developer>
<developer>
<name>Henri Biestro</name>
<id>henrib</id>
<email>henrib AT apache DOT org</email>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.2</version>
<scope>test</scope>
</dependency>
<!-- For JSR-223 API -->
<dependency>
<groupId>org.apache.bsf</groupId>
<artifactId>bsf-api</artifactId>
<version>[3.0-beta3,)</version>
<scope>provided</scope>
</dependency>
</dependencies>
<properties>
<maven.compile.source>1.5</maven.compile.source>
<maven.compile.target>1.5</maven.compile.target>
<commons.componentid>jexl</commons.componentid>
<commons.release.version>2.0</commons.release.version>
<!-- The RC version used in the staging repository URL. -->
<commons.rc.version>RC6</commons.rc.version>
<commons.binary.suffix />
<commons.jira.id>JEXL</commons.jira.id>
<commons.jira.pid>12310479</commons.jira.pid>
<!-- Temp fix until parent POM is updated -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<build>
<!-- temporarily override the parent POM (v 11) until that is updated -->
<resources>
<resource>
<directory>${basedir}</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>NOTICE.txt</include>
<include>LICENSE.txt</include>
</includes>
</resource>
<!-- This is the default, but is currently missing from the parent POM (v11) -->
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<!-- workaround MRELEASE-424 when publishing -->
<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-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/bin.xml</descriptor>
<descriptor>src/main/assembly/src.xml</descriptor>
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>jexl-jjtree</id>
<configuration>
<sourceDirectory>${basedir}/src/main/java/org/apache/commons/jexl2/parser</sourceDirectory>
<outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory>
<timestampDirectory>${project.build.directory}/generated-sources/javacc-timestamp</timestampDirectory>
<packageName>org.apache.commons.jexl2.parser</packageName>
</configuration>
<goals>
<goal>jjtree-javacc</goal>
</goals>
</execution>
</executions>
</plugin>
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>2.2.2</version>
<configuration>
<comparisonArtifacts>
<comparisonArtifact>
<groupId>commons-jexl</groupId>
<artifactId>commons-jexl</artifactId>
<version>1.1</version>
</comparisonArtifact>
</comparisonArtifacts>
</configuration>
</plugin>
-->
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.1</version>
<configuration>
<xmlPath>${basedir}/xdocs/changes.xml</xmlPath>
<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.3</version>
<configuration>
<configLocation>${basedir}/src/main/config/checkstyle.xml</configLocation>
<excludes>org/apache/commons/jexl2/parser/*.java</excludes>
<headerFile>${basedir}/src/main/config/header.txt</headerFile>
<enableRulesSummary>false</enableRulesSummary>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.3</version>
<configuration>
<instrumentation>
<excludes>
<exclude>org/apache/commons/jexl2/parser/*.class</exclude>
<exclude>org/apache/commons/jexl2/**/*Test.class</exclude>
</excludes>
</instrumentation>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.1</version>
<configuration>
<excludes>
<exclude>org/apache/commons/jexl2/parser/*.class</exclude>
<exclude>org/apache/commons/jexl2/**/*Test.class</exclude>
</excludes>
<xmlOutput>true</xmlOutput>
<!-- Optional directory to put findbugs xdoc xml report -->
<xmlOutputDirectory>target/site</xmlOutputDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.4</version>
<configuration>
<targetJdk>1.5</targetJdk>
<excludes>
<exclude>org/apache/commons/jexl2/parser/*.class</exclude>
<exclude>org/apache/commons/jexl2/**/*Test.class</exclude>
</excludes>
<rulesets>
<ruleset>/rulesets/braces.xml</ruleset>
<ruleset>/rulesets/unusedcode.xml</ruleset>
<ruleset>/rulesets/imports.xml</ruleset>
<ruleset>/rulesets/codesize.xml</ruleset>
<ruleset>/rulesets/coupling.xml</ruleset>
<ruleset>/rulesets/design.xml</ruleset>
<ruleset>/rulesets/strings.xml</ruleset>
</rulesets>
</configuration>
</plugin>
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>2.2.2</version>
<configuration>
<comparisonArtifacts>
<comparisonArtifact>
<groupId>commons-jexl</groupId>
<artifactId>commons-jexl</artifactId>
<version>1.1</version>
</comparisonArtifact>
</comparisonArtifacts>
</configuration>
</plugin>
-->
</plugins>
</reporting>
<distributionManagement>
<site>
<id>website</id>
<name>Apache Website</name>
<url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/jexl/</url>
</site>
</distributionManagement>
<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>
</profiles>
</project>