blob: 8f81fc95b9f849bc4cf6340965a79c65f614ec65 [file] [log] [blame]
<?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</groupId>
<artifactId>apache</artifactId>
<version>18</version>
</parent>
<groupId>org.apache.batchee</groupId>
<artifactId>batchee</artifactId>
<version>0.6-incubating-SNAPSHOT</version>
<packaging>pom</packaging>
<name>BatchEE</name>
<scm>
<connection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-batchee.git</connection>
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-batchee.git</developerConnection>
<url>https://git-wip-us.apache.org/repos/asf?p=incubator-batchee.git;a=summary</url>
<tag>HEAD</tag>
</scm>
<properties>
<atinject.version>1.0</atinject.version>
<batch-api.version>1.0</batch-api.version>
<jackson.version>2.2.2</jackson.version>
<jodatime.version>2.9.1</jodatime.version>
<johnzon.version>1.0.0</johnzon.version>
<tomee.version>7.0.4</tomee.version>
<deltaspike.version>1.8.0</deltaspike.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<batchee.scmPubUrl>https://svn.apache.org/repos/asf/incubator/batchee/site</batchee.scmPubUrl>
<batchee.scmPubCheckoutDirectory>${basedir}/.site-content</batchee.scmPubCheckoutDirectory>
</properties>
<ciManagement>
<system>jenkins</system>
<url>https://builds.apache.org/job/batchee/</url>
</ciManagement>
<issueManagement>
<system>jira</system>
<url>https://issues.apache.org/jira/browse/BATCHEE</url>
</issueManagement>
<distributionManagement>
<site>
<id>apache.website</id>
<url>scm:svn:${batchee.scmPubUrl}</url>
</site>
</distributionManagement>
<mailingLists>
<mailingList>
<name>Users</name>
<post>user@batchee.incubator.apache.org</post>
<subscribe>user-subscribe@batchee.incubator.apache.org</subscribe>
<unsubscribe>user-unsubscribe@batchee.incubator.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/batchee-user/</archive>
<otherArchives>
<otherArchive>http://batchee-user.markmail.org/</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Dev</name>
<post>dev@batchee.incubator.apache.org</post>
<subscribe>dev-subscribe@batchee.incubator.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@batchee.incubator.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/batchee-dev/</archive>
<otherArchives>
<otherArchive>http://batchee-dev.markmail.org/</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Commits</name>
<post>commits@batchee.incubator.apache.org</post>
<subscribe>commits-subscribe@batchee.incubator.apache.org</subscribe>
<unsubscribe>commits-unsubscribe@batchee.incubator.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/batchee-commits/</archive>
<otherArchives>
<otherArchive>http://batchee-commits.markmail.org/</otherArchive>
</otherArchives>
</mailingList>
</mailingLists>
<modules>
<module>jbatch</module>
<module>extensions</module>
<module>gui</module>
<module>tools</module>
<module>test</module>
<module>integration-tests</module>
</modules>
<dependencyManagement>
<dependencies>
<!-- APIs -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jbatch_1.0_spec</artifactId>
<version>${batch-api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-servlet_3.0_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-atinject_1.0_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jcdi_1.0_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jcdi_1.1_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-ejb_3.1_spec</artifactId>
<version>1.0.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-interceptor_1.1_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.1_spec</artifactId>
<version>1.1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-json_1.0_spec</artifactId>
<version>1.0-alpha-1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.johnzon</groupId>
<artifactId>johnzon-jaxrs</artifactId>
<version>${johnzon.version}</version>
</dependency>
<dependency>
<!-- We have optional support for joda time IF it is available on the classpath -->
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${jodatime.version}</version>
<scope>test</scope>
</dependency>
<!-- Testing libraries -->
<dependency> <!-- TCK and default tests -->
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.9</version>
<scope>test</scope>
</dependency>
<dependency> <!-- camel/arquillian -->
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>10.12.1.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/xsd</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.5</version>
<dependencies>
<dependency> <!-- workaround for jdk 1.8 -->
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-filtering</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>enforce-java</id>
<phase>validate</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>1.6.0</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.12</version>
<executions>
<execution>
<id>verify-style</id>
<phase>process-classes</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- exclude JAXB generated stuff -->
<excludes>org/apache/batchee/jaxb/*</excludes>
<logViolationsToConsole>true</logViolationsToConsole>
<checkstyleRules>
<module name="Checker">
<module name="SuppressionCommentFilter" />
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
<module name="FileLength">
<property name="max" value="3500" />
<property name="fileExtensions" value="java" />
</module>
<!-- Checks for whitespace -->
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
<module name="FileTabCharacter" />
<module name="TreeWalker">
<!-- needed for the SuppressionCommentFilter -->
<module name="FileContentsHolder" />
<!-- Checks for Javadoc comments. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
<!-- module name="JavadocMethod"/ -->
<!-- module name="JavadocType"/ -->
<!-- module name="JavadocVariable"/ -->
<!-- Checks for Naming Conventions. -->
<!-- See http://checkstyle.sf.net/config_naming.html -->
<!--
<module name="MemberName">
<property name="format" value="^_[a-z][a-zA-Z0-9]*$" />
</module>
-->
<module name="ConstantName">
<!-- Normal rules, except that:
- * any name can start with an underscore.
- * "log" is allowed; this is a traditional name for log objects
- * names ending with "ThreadLocal" are allowed so that threadlocal vars don't have to be
- all-caps. They are static final, but are not really constants. Yes, type prefixes
- on variable names sucks ("hungarian notation") but checkstyle doesn't allow
- name rules to vary by the type of the constant, and no other alternative seems
- any better.
-->
<property name="format" value="^_?((log)|(logger)|([a-z][a-zA-Z]*ThreadLocal)|([A-Z][A-Z0-9]*(_[A-Z0-9]+)*))$" />
</module>
<module name="LocalVariableName" />
<module name="MethodName">
<property name="format" value="^_?[a-z][a-zA-Z0-9]*$" />
</module>
<module name="PackageName" />
<module name="LocalFinalVariableName" />
<module name="ParameterName" />
<module name="StaticVariableName" />
<module name="TypeName">
<property name="format" value="^_?[A-Z][a-zA-Z0-9]*$" />
</module>
<!-- Checks for imports -->
<!-- See http://checkstyle.sf.net/config_import.html -->
<module name="AvoidStarImport">
<property name="excludes" value="java.io,java.net,java.util,javax.enterprise.inject.spi,javax.enterprise.context" />
</module>
<module name="IllegalImport" />
<module name="RedundantImport" />
<module name="UnusedImports" />
<module name="LineLength">
<property name="max" value="180" />
<property name="ignorePattern" value="@version|@see" />
</module>
<module name="MethodLength">
<property name="max" value="250" />
</module>
<module name="ParameterNumber">
<property name="max" value="10" />
</module>
<!-- Checks for blocks. You know, those {}'s -->
<!-- See http://checkstyle.sf.net/config_blocks.html -->
<module name="EmptyBlock">
<property name="option" value="text" />
</module>
<module name="NeedBraces" />
<module name="LeftCurly">
<property name="option" value="EOL" />
</module>
<module name="RightCurly">
<property name="option" value="SAME" />
</module>
<!-- Checks for common coding problems -->
<!-- See http://checkstyle.sf.net/config_coding.html -->
<module name="EmptyStatement" />
<module name="EqualsHashCode" />
<module name="DefaultComesLast" />
<module name="MissingSwitchDefault" />
<module name="FallThrough" />
<module name="MultipleVariableDeclarations" />
<!-- Checks for class design -->
<!-- See http://checkstyle.sf.net/config_design.html -->
<!-- module name="DesignForExtension"/ -->
<module name="com.puppycrawl.tools.checkstyle.checks.design.DesignForExtensionCheck">
<property name="severity" value="ignore" />
</module>
<!-- module name="FinalClass"/ -->
<module name="HideUtilityClassConstructor" />
<!-- module name="InterfaceIsType"/ -->
<!-- module name="VisibilityModifier"/ -->
<module name="com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck">
<property name="packageAllowed" value="false" />
<property name="protectedAllowed" value="true" />
<property name="publicMemberPattern" value="^serialVersionUID" />
<property name="severity" value="warning" />
</module>
<!-- Miscellaneous other checks. -->
<!-- See http://checkstyle.sf.net/config_misc.html -->
<!-- module name="ArrayTypeStyle"/ -->
<!-- module name="FinalParameters"/ -->
<!-- Line with Trailing Spaces (disabled as it's to noisy)
<module name="GenericIllegalRegexp">
<property name="format" value="\s+$" />
<property name="message" value="Line has trailing spaces." />
</module>
-->
<module name="UpperEll" />
</module>
</module>
</checkstyleRules>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.10</version>
<configuration>
<includes>
<include>src/**/*</include>
<include>pom.xml</include>
</includes>
<excludes>
<exclude>**/*/MANIFEST.MF</exclude>
<exclude>.git</exclude>
<exclude>.gitignore</exclude>
<exclude>derby.log</exclude>
<exclude>**/META-INF/services/*</exclude>
<exclude>**/bootstrap-*</exclude>
<exclude>**/js/jquery-*</exclude>
<exclude>**/*.json</exclude>
<exclude>**/batchee-site-generated/*.md</exclude>
<!-- json can't get comments -->
</excludes>
</configuration>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version>
<configuration>
<systemPropertyVariables>
<derby.stream.error.file>target/derby.log</derby.stream.error.file>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.5.1</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>1.7</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.0-beta-2</version>
<configuration>
<content>${project.reporting.outputDirectory}</content>
<pubScmUrl>scm:svn:${batchee.scmPubUrl}</pubScmUrl>
<tryUpdate>true</tryUpdate>
<checkoutDirectory>${batchee.scmPubCheckoutDirectory}</checkoutDirectory>
</configuration>
<executions>
<execution>
<id>scm-publish</id>
<phase>site-deploy</phase>
<!-- deploy site with maven-scm-publish-plugin -->
<goals>
<goal>publish-scm</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
<configuration>
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<notimestamp>true</notimestamp>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
<reportSet>
<inherited>false</inherited>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>