| <?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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.deltaspike</groupId> |
| <artifactId>deltaspike-project</artifactId> |
| <version>1.5.1-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>parent</artifactId> |
| |
| <packaging>pom</packaging> |
| |
| <name>Apache DeltaSpike Parent</name> |
| <description>Apache DeltaSpike Parent</description> |
| |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/jira/browse/DELTASPIKE</url> |
| </issueManagement> |
| |
| <ciManagement> |
| <system>cjenkins</system> |
| <url>http://builds.apache.org/</url> |
| </ciManagement> |
| |
| <inceptionYear>2011</inceptionYear> |
| |
| <properties> |
| <java.version>1.6</java.version> |
| <owb.version>1.2.7</owb.version> |
| <weld.version>1.1.28.Final</weld.version> |
| |
| <!-- for cdictrl-openejb --> |
| <openejb.version>4.7.0</openejb.version> |
| <openejb.owb.version>${owb.version}</openejb.owb.version> |
| |
| |
| <!-- testing stuff --> |
| <junit.version>4.10</junit.version> |
| <arquillian.version>1.1.8.Final</arquillian.version> |
| <tomee.version>1.7.0</tomee.version> |
| |
| <!-- JSF-2.0 implementations--> |
| <myfaces2.version>2.0.14</myfaces2.version> |
| <myfaces22.version>2.2.3</myfaces22.version> |
| <myfaces2.version.current>2.1.8</myfaces2.version.current> |
| <mojarra2.version>2.0.3-b03</mojarra2.version> |
| |
| <!-- JSF-1.2 implementations--> |
| <myfaces1.version>1.2.8</myfaces1.version> |
| <mojarra1.version>1.2_14</mojarra1.version> |
| |
| <!-- Geronimo specs --> |
| <geronimo-atinject-1.0-spec.version>1.0</geronimo-atinject-1.0-spec.version> |
| <geronimo-ejb-3.1-spec.version>1.0.2</geronimo-ejb-3.1-spec.version> |
| <geronimo-jcdi-1.0-spec.version>1.0</geronimo-jcdi-1.0-spec.version> |
| <geronimo-jcdi-1.1-spec.version>1.0-alpha-1</geronimo-jcdi-1.1-spec.version> |
| <geronimo-interceptor-1.1-spec.version>1.0</geronimo-interceptor-1.1-spec.version> |
| <geronimo-interceptor-1.2-spec.version>1.0-alpha-1</geronimo-interceptor-1.2-spec.version> |
| <geronimo-servlet-2.5-spec.version>1.2</geronimo-servlet-2.5-spec.version> |
| <geronimo-servlet-3.0-spec.version>1.0</geronimo-servlet-3.0-spec.version> |
| <geronimo-el-2.2-spec.version>1.0.3</geronimo-el-2.2-spec.version> |
| <geronimo-validation-1.0-spec.version>1.1</geronimo-validation-1.0-spec.version> |
| <geronimo-jpa-2.0-spec.version>1.1</geronimo-jpa-2.0-spec.version> |
| <geronimo-jta-1.1-spec.version>1.1.1</geronimo-jta-1.1-spec.version> |
| |
| |
| <maven.jetty.plugin.version>7.1.5.v20100705</maven.jetty.plugin.version> |
| <maven.surefire.plugin.version>2.11</maven.surefire.plugin.version> |
| <maven.bundle.plugin.version>2.3.7</maven.bundle.plugin.version> |
| <maven.jar.plugin.version>2.4</maven.jar.plugin.version> |
| <maven.dependency.plugin.version>2.4</maven.dependency.plugin.version> |
| <maven.checkstyle.plugin.version>2.9.1</maven.checkstyle.plugin.version> |
| <maven.compiler.plugin.version>2.5</maven.compiler.plugin.version> |
| <maven.assembly.plugin.version>2.4</maven.assembly.plugin.version> |
| <maven.artifact.version>3.0</maven.artifact.version> |
| |
| <hamcrest.version>1.3</hamcrest.version> |
| |
| <jacoco.version>0.7.4.201502262128</jacoco.version> |
| |
| <arquillian-weld.version>1.0.0.CR9</arquillian-weld.version> |
| |
| <!-- OSGi bundles properties --> |
| <deltaspike.osgi.import.deltaspike.version>version="[$(version;==;${deltaspike.osgi.version.clean}),$(version;=+;${deltaspike.osgi.version.clean}))"</deltaspike.osgi.import.deltaspike.version> |
| <deltaspike.osgi.import.strict.version>version="[$(version;===;${deltaspike.osgi.version.clean}),$(version;==+;${deltaspike.osgi.version.clean}))"</deltaspike.osgi.import.strict.version> |
| <deltaspike.osgi.import.default.version>[$(version;==;$(@)),$(version;+;$(@)))</deltaspike.osgi.import.default.version> |
| <deltaspike.osgi.import.defaults> |
| org.springframework.*;version="[3,4)", |
| </deltaspike.osgi.import.defaults> |
| <deltaspike.osgi.import.before.defaults /> |
| <deltaspike.osgi.import.additional /> |
| <deltaspike.osgi.import.pkg> |
| !${deltaspike.osgi.export.pkg}, |
| org.apache.deltaspike.*;${deltaspike.osgi.import.deltaspike.version}, |
| ${deltaspike.osgi.import.before.defaults}, |
| ${deltaspike.osgi.import.defaults}, |
| ${deltaspike.osgi.import.additional}, |
| * |
| </deltaspike.osgi.import.pkg> |
| <deltaspike.osgi.activator /> |
| <deltaspike.osgi.failok>false</deltaspike.osgi.failok> |
| <deltaspike.osgi.private.pkg>!*</deltaspike.osgi.private.pkg> |
| <deltaspike.osgi.export>${deltaspike.osgi.export.pkg};${deltaspike.osgi.version}</deltaspike.osgi.export> |
| <deltaspike.osgi.version>version=${project.version}</deltaspike.osgi.version> |
| <deltaspike.osgi.split.pkg>-split-package:=first</deltaspike.osgi.split.pkg> |
| <deltaspike.osgi.import>${deltaspike.osgi.import.pkg}</deltaspike.osgi.import> |
| <deltaspike.osgi.dynamic /> |
| <deltaspike.osgi.symbolic.name>${project.groupId}.${project.artifactId}</deltaspike.osgi.symbolic.name> |
| <deltaspike.osgi.exclude.dependencies>false</deltaspike.osgi.exclude.dependencies> |
| <deltaspike.osgi.provide.capability /> |
| <deltaspike.osgi.require.capability /> |
| <cdi.osgi.beans-managed /> |
| <!-- validator related --> |
| <hibernate.validator.version>4.3.1.Final</hibernate.validator.version> |
| <bval.version>0.5</bval.version> |
| |
| </properties> |
| |
| <repositories> |
| <repository> |
| <id>Apache Repository</id> |
| <url>https://repository.apache.org/content/repositories/releases</url> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </repository> |
| <repository> |
| <id>Apache Snapshot Repository</id> |
| <url>https://repository.apache.org/content/repositories/snapshots</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| |
| <profiles> |
| <profile> |
| <id>JBossArchive</id> |
| <repositories> |
| <repository> |
| <id>JBoss-Archive</id> |
| <name>JBoss Archive</name> |
| <url>https://repository.jboss.org/nexus/content/groups/public</url> |
| </repository> |
| </repositories> |
| </profile> |
| <profile> |
| <id>JBossSnapshots</id> |
| <repositories> |
| <repository> |
| <id>JBoss-Snapshots</id> |
| <name>JBoss Snapshots</name> |
| <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url> |
| </repository> |
| </repositories> |
| </profile> |
| |
| <profile> |
| <id>coverage</id> |
| <!-- |
| * Activate this profile to gather unit test coverage |
| * Start with: |
| * $> mvn clean install -Pcoverage |
| * The generated information will be in target/site/jacoco/index.html |
| --> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.jboss.arquillian.extension</groupId> |
| <artifactId>arquillian-jacoco</artifactId> |
| <version>1.0.0.Alpha7</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jacoco</groupId> |
| <artifactId>org.jacoco.core</artifactId> |
| <version>${jacoco.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco.version}</version> |
| <configuration> |
| <propertyName>jacoco.agent</propertyName> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>report</id> |
| <phase>post-integration-test</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| |
| <modules> |
| <module>code</module> |
| </modules> |
| |
| <developers> |
| <developer> |
| <id>gpetracek</id> |
| <name>Gerhard Petracek</name> |
| <email>gpetracek@apache.org</email> |
| <organization>IRIAN.at, Austria</organization> |
| <organizationUrl>http://www.irian.at/</organizationUrl> |
| <roles> |
| <role>PMC</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>lightguardjp</id> |
| <name>Jason Porter</name> |
| <email>lightguardjp@apache.org</email> |
| <roles> |
| <role>PMC</role> |
| </roles> |
| <timezone>-7</timezone> |
| </developer> |
| <developer> |
| <id>mbenson</id> |
| <name>Matt Benson</name> |
| <email>mbenson@apache.org</email> |
| <roles> |
| <role>PMC</role> |
| </roles> |
| <timezone>-6</timezone> |
| </developer> |
| <developer> |
| <id>struberg</id> |
| <name>Mark Struberg</name> |
| <email>struberg@apache.org</email> |
| <roles> |
| <role>PMC</role> |
| <role>VP</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>arne</id> |
| <name>Arne Limburg</name> |
| <email>arne@apache.org</email> |
| <roles> |
| <role>PMC</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>rdebusscher</id> |
| <name>Rudy De Busscher</name> |
| <email>rdebusscher@apache.org</email> |
| <organization>C4J, Belgium</organization> |
| <roles> |
| <role>PMC</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>chkal</id> |
| <name>Christian Kaltepoth</name> |
| <email>chkal@apache.org</email> |
| <roles> |
| <role>PMC</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>cmoulliard</id> |
| <name>Charles Moulliard</name> |
| <email>cmoulliard@apache.org</email> |
| <roles> |
| <role>PMC</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>thug</id> |
| <name>Thomas Hug</name> |
| <email>thug@apache.org</email> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>johndament</id> |
| <name>John D. Ament</name> |
| <email>johndament@apache.org</email> |
| <roles> |
| <role>PMC</role> |
| </roles> |
| <timezone>-5</timezone> |
| </developer> |
| <developer> |
| <id>tandraschko</id> |
| <name>Thomas Andraschko</name> |
| <email>tandraschko@apache.org</email> |
| <roles> |
| <role>PMC</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>rafabene</id> |
| <name>Rafael Benevides</name> |
| <email>rafabene@apache.org</email> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| <timezone>-3</timezone> |
| </developer> |
| <developer> |
| <id>rsmeral</id> |
| <name>Ron Smeral</name> |
| <email>rsmeral@apache.org</email> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>danielsoro</id> |
| <name>Daniel Cunha</name> |
| <email>danielsoro@apache.org</email> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| <timezone>-3</timezone> |
| </developer> |
| <developer> |
| <id>hwellmann</id> |
| <name>Harald Wellmann</name> |
| <email>hwellmann@apache.org</email> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| </developers> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- this imports all version definitions for Arquillian --> |
| <dependency> |
| <groupId>org.jboss.arquillian</groupId> |
| <artifactId>arquillian-bom</artifactId> |
| <version>${arquillian.version}</version> |
| <scope>import</scope> |
| <type>pom</type> |
| </dependency> |
| |
| <!-- OWB specific dependencies--> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-atinject_1.0_spec</artifactId> |
| <version>${geronimo-atinject-1.0-spec.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-ejb_3.1_spec</artifactId> |
| <version>${geronimo-ejb-3.1-spec.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jcdi_1.0_spec</artifactId> |
| <version>${geronimo-jcdi-1.0-spec.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-interceptor_1.1_spec</artifactId> |
| <version>${geronimo-interceptor-1.1-spec.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-impl</artifactId> |
| <version>${owb.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-spi</artifactId> |
| <version>${owb.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-resource</artifactId> |
| <version>${owb.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-web</artifactId> |
| <version>${owb.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-jsf</artifactId> |
| <version>${owb.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- |
| We currently need this for the CDI test container to emulate the @SessionScoped. |
| TODO: Finally this should not be necessary anymore. |
| --> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_3.0_spec</artifactId> |
| <version>${geronimo-servlet-3.0-spec.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-el_2.2_spec</artifactId> |
| <version>${geronimo-el-2.2-spec.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-validation_1.0_spec</artifactId> |
| <version>${geronimo-validation-1.0-spec.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jpa_2.0_spec</artifactId> |
| <version>${geronimo-jpa-2.0-spec.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jta_1.1_spec</artifactId> |
| <version>${geronimo-jta-1.1-spec.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-library</artifactId> |
| <version>${hamcrest.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.core</groupId> |
| <artifactId>deltaspike-core-api</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.core</groupId> |
| <artifactId>deltaspike-core-impl</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-security-module-api</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-security-module-impl</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-jpa-module-api</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-jpa-module-impl</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-servlet-module-api</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-servlet-module-impl</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-jsf-module-api</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-jsf-module-impl</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-jsf-module-impl-ee6</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-data-module-api</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-data-module-impl</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-proxy-module-api</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-proxy-module-impl-asm5</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <!-- Dependencies for Java-SE --> |
| <dependency> |
| <groupId>org.apache.deltaspike.cdictrl</groupId> |
| <artifactId>deltaspike-cdictrl-api</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.cdictrl</groupId> |
| <artifactId>deltaspike-cdictrl-owb</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.cdictrl</groupId> |
| <artifactId>deltaspike-cdictrl-weld</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-partial-bean-module-api</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-partial-bean-module-impl</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-test-control-module-api</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-test-control-module-impl</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-scheduler-module-api</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-scheduler-module-impl</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-bean-validation-module-api</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.deltaspike.modules</groupId> |
| <artifactId>deltaspike-bean-validation-module-impl</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| <version>${geronimo-servlet-2.5-spec.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- TomEE dependencies --> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>arquillian-tomee-remote</artifactId> |
| <version>${tomee.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- dependency for DELTASPIKE-113 --> |
| <dependency> |
| <groupId>javassist</groupId> |
| <artifactId>javassist</artifactId> |
| <version>3.12.0.GA</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- validators, only needed in SE mode --> |
| <dependency> |
| <groupId>org.hibernate</groupId> |
| <artifactId>hibernate-validator</artifactId> |
| <version>${hibernate.validator.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.bval</groupId> |
| <artifactId>bval-jsr303</artifactId> |
| <version>${bval.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.myfaces.core</groupId> |
| <artifactId>myfaces-api</artifactId> |
| <version>${myfaces22.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jcdi_1.0_spec</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.myfaces.core</groupId> |
| <artifactId>myfaces-impl</artifactId> |
| <version>${myfaces22.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.myfaces.core</groupId> |
| <artifactId>myfaces-impl-test</artifactId> |
| <version>${myfaces22.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.myfaces.test</groupId> |
| <artifactId>myfaces-test20</artifactId> |
| <version>1.0.6</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>1.1.1</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>1.9.5</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </dependencyManagement> |
| |
| <!-- These dependencies are needed for each and every module in this project --> |
| <dependencies> |
| <!-- unit testing stuff --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian.junit</groupId> |
| <artifactId>arquillian-junit-container</artifactId> |
| <version>${arquillian.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>${maven.jar.plugin.version}</version> |
| <configuration> |
| <archive> |
| <manifest> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${maven.surefire.plugin.version}</version> |
| <dependencies> |
| <!-- We need to add this manually to get the category support for JUnit --> |
| <dependency> |
| <groupId>org.apache.maven.surefire</groupId> |
| <artifactId>surefire-junit47</artifactId> |
| <version>${maven.surefire.plugin.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <groupId>org.apache.maven.plugins</groupId> |
| <version>${maven.dependency.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>${maven.bundle.plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>${maven.assembly.plugin.version}</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <!-- |
| - Copy LICENSE.txt and NOTICE.txt so that they are included |
| - in the -javadoc jar file for the component. |
| --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>javadoc.resources</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <copy todir="${project.build.directory}/apidocs/META-INF"> |
| <fileset dir="${basedir}"> |
| <include name="LICENSE.txt" /> |
| <include name="NOTICE.txt" /> |
| </fileset> |
| </copy> |
| </tasks> |
| </configuration> |
| </execution> |
| <execution> |
| <id>javadoc.site.copy</id> |
| <phase>site</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <!-- Copy javadoc to another directory, to keep javadoc of previous versions on site --> |
| <copy todir="${project.build.directory}/site/apidocs-${project.version}" failonerror="false"> |
| <fileset dir="${project.build.directory}/site/apidocs" /> |
| </copy> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- |
| - Make a checkstyle violation a compile error. Note that if a compile error occurs, |
| - further information can be found in target/site/checkstyle.html (present even when |
| - just the compile goal and not the site goal has been run). Note also that child |
| - projects may redeclare this plugin and provide different configuration settings |
| - to use different checks (more or less strict than the default). |
| --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven.checkstyle.plugin.version}</version> |
| <configuration> |
| <configLocation>deltaspike/default-checks.xml</configLocation> |
| <headerLocation>deltaspike/asf-header.txt</headerLocation> |
| <consoleOutput>true</consoleOutput> |
| </configuration> |
| <executions> |
| <execution> |
| <id>verify-style</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.deltaspike</groupId> |
| <artifactId>checkstyle-rules</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| <plugin> |
| <inherited>true</inherited> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <!-- Set compile source at 1.5, since the target JSF impl is 1.2 --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven.compiler.plugin.version}</version> |
| <configuration> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| </configuration> |
| </plugin> |
| |
| <!-- Generate Manifest file required for OSGI bundles --> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>${maven.bundle.plugin.version}</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-Name>${project.artifactId}</Bundle-Name> |
| <Bundle-SymbolicName>${deltaspike.osgi.symbolic.name}</Bundle-SymbolicName> |
| <Bundle-Activator>${deltaspike.osgi.activator}</Bundle-Activator> |
| <Export-Package>${deltaspike.osgi.export}</Export-Package> |
| <Import-Package>${deltaspike.osgi.import}</Import-Package> |
| <DynamicImport-Package>${deltaspike.osgi.dynamic}</DynamicImport-Package> |
| <Private-Package>${deltaspike.osgi.private.pkg}</Private-Package> |
| <Implementation-Title>Apache DeltaSpike</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <Pax-ManagedBeans>${cdi.osgi.beans-managed}</Pax-ManagedBeans> |
| <Karaf-Info>DeltaSpike;${project.artifactId}=${project.version}</Karaf-Info> |
| <_versionpolicy>${deltaspike.osgi.import.default.version}</_versionpolicy> |
| <_failok>${deltaspike.osgi.failok}</_failok> |
| <Require-Capability>${deltaspike.osgi.require.capability}</Require-Capability> |
| <Provide-Capability>${deltaspike.osgi.provide.capability}</Provide-Capability> |
| </instructions> |
| </configuration> |
| <executions> |
| <execution> |
| <id>versions</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>cleanVersions</goal> |
| </goals> |
| <configuration> |
| <versions> |
| <deltaspike.osgi.version.clean>${project.version}</deltaspike.osgi.version.clean> |
| </versions> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven.checkstyle.plugin.version}</version> |
| <configuration> |
| <configLocation>deltaspike/default-checks.xml</configLocation> |
| <headerLocation>deltaspike/asf-header.txt</headerLocation> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| </project> |