| <?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>0.2-incubating-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>parent</artifactId> |
| |
| <packaging>pom</packaging> |
| |
| <name>Apache DeltaSpike Parent</name> |
| <description>Apache DeltaSpike Parent</description> |
| |
| |
| <repositories> |
| <repository> |
| <id>Apache Snapshot Repository</id> |
| <url>https://repository.apache.org/content/repositories/snapshots</url> |
| </repository> |
| </repositories> |
| |
| |
| <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> |
| <owb.version>1.1.3</owb.version> |
| <weld.version>1.1.4.Final</weld.version> |
| |
| <!-- testing stuff --> |
| <junit.version>4.10</junit.version> |
| <arquillian.version>1.0.0.CR7</arquillian.version> |
| |
| <!-- JSF-2.0 implementations--> |
| <myfaces2.version>2.0.5</myfaces2.version> |
| <myfaces2.version.current>2.0.5</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> |
| |
| <maven.jetty.plugin.version>7.1.5.v20100705</maven.jetty.plugin.version> |
| <maven.surefire.plugin.version>2.11</maven.surefire.plugin.version> |
| |
| <hamcrest.version>1.3.RC2</hamcrest.version> |
| </properties> |
| |
| <modules> |
| <module>code</module> |
| <module>it</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>PPMC</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>jakobk</id> |
| <name>Jakob Korherr</name> |
| <email>jakobk@apache.org</email> |
| <organization>IRIAN.at, Austria</organization> |
| <organizationUrl>http://www.irian.at/</organizationUrl> |
| <roles> |
| <role>PPMC</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>lightguardjp</id> |
| <name>Jason Porter</name> |
| <email>lightguardjp@apache.org</email> |
| <roles> |
| <role>PPMC</role> |
| </roles> |
| <timezone>-7</timezone> |
| </developer> |
| <developer> |
| <id>mbenson</id> |
| <name>Matt Benson</name> |
| <email>mbenson@apache.org</email> |
| <roles> |
| <role>PPMC</role> |
| </roles> |
| <timezone>-6</timezone> |
| </developer> |
| <developer> |
| <id>marius</id> |
| <name>Marius Bogoevici</name> |
| <email>marius@apache.org</email> |
| <roles> |
| <role>PPMC</role> |
| </roles> |
| <timezone>-5</timezone> |
| </developer> |
| <developer> |
| <id>struberg</id> |
| <name>Mark Struberg</name> |
| <email>struberg@apache.org</email> |
| <roles> |
| <role>PPMC</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>matzew</id> |
| <name>Matthias Wessendorf</name> |
| <email>matzew@apache.org</email> |
| <roles> |
| <role>PPMC</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>Committer</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>lukaszlenart</id> |
| <name>Lukasz Lenart</name> |
| <email>lukaszlenart@apache.org</email> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| <timezone>+1</timezone> |
| </developer> |
| <developer> |
| <id>chkal</id> |
| <name>Christian Kaltepoth</name> |
| <email>chkal@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>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-interceptor_1.1_spec</artifactId> |
| <version>1.0</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>1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-el_2.2_spec</artifactId> |
| <version>1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-validation_1.0_spec</artifactId> |
| <version>1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jpa_2.0_spec</artifactId> |
| <version>1.1</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>org.hamcrest</groupId> |
| <artifactId>hamcrest-library</artifactId> |
| <version>${hamcrest.version}</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> |
| |
| |
| <!-- atinject and cdi specs for OWB--> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-atinject_1.0_spec</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jcdi_1.0_spec</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- the interceptors spec from EE6 --> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-interceptor_1.1_spec</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.2</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> |
| </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>2.7</version> |
| <executions> |
| <execution> |
| <id>verify-style</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <configLocation>deltaspike/default-checks.xml</configLocation> |
| <headerLocation>deltaspike/asf-header.txt</headerLocation> |
| </configuration> |
| <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> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| <optimize>false</optimize> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-release-plugin</artifactId> |
| <configuration> |
| <preparationGoals>clean install</preparationGoals> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.7</version> |
| <configuration> |
| <configLocation>deltaspike/default-checks.xml</configLocation> |
| <headerLocation>deltaspike/asf-header.txt</headerLocation> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| </project> |