[webbeans-commits] Webbeans SVN: r1794 - in ri/trunk: api and 7 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-03-06 09:21:01 -0500 (Fri, 06 Mar 2009)
New Revision: 1794
Added:
ri/trunk/parent/
ri/trunk/parent/pom.xml
ri/trunk/version-matrix/
ri/trunk/version-matrix/pom.xml
Modified:
ri/trunk/api/pom.xml
ri/trunk/dist/pom.xml
ri/trunk/impl/pom.xml
ri/trunk/jboss-tck-runner/pom.xml
ri/trunk/pom.xml
ri/trunk/porting-package/pom.xml
ri/trunk/spi/pom.xml
Log:
split out version matrix and parent pom to prevent circular deps
Modified: ri/trunk/api/pom.xml
===================================================================
--- ri/trunk/api/pom.xml 2009-03-06 14:19:35 UTC (rev 1793)
+++ ri/trunk/api/pom.xml 2009-03-06 14:21:01 UTC (rev 1794)
@@ -3,7 +3,7 @@
<parent>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Modified: ri/trunk/dist/pom.xml
===================================================================
--- ri/trunk/dist/pom.xml 2009-03-06 14:19:35 UTC (rev 1793)
+++ ri/trunk/dist/pom.xml 2009-03-06 14:21:01 UTC (rev 1794)
@@ -3,7 +3,7 @@
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>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-parent</artifactId>
<groupId>org.jboss.webbeans</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Modified: ri/trunk/impl/pom.xml
===================================================================
--- ri/trunk/impl/pom.xml 2009-03-06 14:19:35 UTC (rev 1793)
+++ ri/trunk/impl/pom.xml 2009-03-06 14:21:01 UTC (rev 1794)
@@ -1,6 +1,6 @@
<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>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-parent</artifactId>
<groupId>org.jboss.webbeans</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Modified: ri/trunk/jboss-tck-runner/pom.xml
===================================================================
--- ri/trunk/jboss-tck-runner/pom.xml 2009-03-06 14:19:35 UTC (rev 1793)
+++ ri/trunk/jboss-tck-runner/pom.xml 2009-03-06 14:21:01 UTC (rev 1794)
@@ -1,6 +1,6 @@
<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>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-parent</artifactId>
<groupId>org.jboss.webbeans</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Added: ri/trunk/parent/pom.xml
===================================================================
--- ri/trunk/parent/pom.xml (rev 0)
+++ ri/trunk/parent/pom.xml 2009-03-06 14:21:01 UTC (rev 1794)
@@ -0,0 +1,216 @@
+<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>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-parent</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0.0-SNAPSHOT</version>
+
+ <parent>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-version-matrix</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <name>Web Beans, the reference implmentation of JSR-299</name>
+ <url>http://www.seamframework.org/WebBeans</url>
+
+ <description>
+ The reference implementation of JSR 299: Web Beans
+ </description>
+
+ <developers>
+ <developer>
+ <name>Pete Muir</name>
+ <roles>
+ <role>Project Lead</role>
+ </roles>
+ <email>pete.muir(a)jboss.org</email>
+ <organization>JBoss, a division of Red Hat</organization>
+ <url>http://in.relation.to/Bloggers/Pete</url>
+ </developer>
+
+ <developer>
+ <name>Shane Bryzak</name>
+ <organization>JBoss, a division of Red Hat</organization>
+ </developer>
+
+ <developer>
+ <name>David Allen</name>
+ </developer>
+
+ <developer>
+ <name>Nicklas Karlsson</name>
+ </developer>
+ </developers>
+
+ <properties>
+ <jsr299.tck.version>1.0.0-SNAPSHOT</jsr299.tck.version>
+ <webbeans.version>1.0.0-SNAPSHOT</webbeans.version>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-8</version>
+ <configuration>
+ <tagBase>https://svn.jboss.org/repos/webbeans/ri/tags</tagBase>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ </configuration>
+ </plugin>
+ </plugins>
+ <defaultGoal>package</defaultGoal>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultImplementationEntries>
+ true
+ </addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>
+ true
+ </addDefaultSpecificationEntries>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>emma-maven-plugin</artifactId>
+ <configuration>
+ <forkMode>once</forkMode>
+ <metadataFile>../target/coverage.em</metadataFile>
+ <outputDirectory>${project.build.directory}/generated-classes</outputDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>api-coverage</id>
+ <activation>
+ <property>
+ <name>apiCoverage</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <forkMode>once</forkMode>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>emma</groupId>
+ <artifactId>emma</artifactId>
+ <version>2.0.5312</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
+
+ <ciManagement>
+ <system>Hudson</system>
+ <url />
+ </ciManagement>
+
+ <issueManagement>
+ <system>JIRA</system>
+ <url>http://jira.jboss.org/browse/WBRI</url>
+ </issueManagement>
+
+ <inceptionYear>2008</inceptionYear>
+
+ <licenses>
+ <license>
+ <name>Apache License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+ </license>
+ <license>
+ <name>Lesser Gnu Public License, Version 2.1</name>
+ <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/webbeans/ri</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/webbeans/ri</developerConnection>
+ <url>http://fisheye.jboss.org/browse/WebBeans/ri</url>
+ </scm>
+
+ <distributionManagement>
+ <repository>
+ <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
+ <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
+ <!-- todo : replace this with direct svn access once the svnkit providers are available -->
+ <id>repository.jboss.org</id>
+ <url>file://${maven.repository.root}</url>
+ </repository>
+ <snapshotRepository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshot Repository</name>
+ <url>dav:https://snapshots.jboss.org/maven2</url>
+ </snapshotRepository>
+ </distributionManagement>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <configuration>
+ <formats>
+ <format>html</format>
+ <format>xml</format>
+ </formats>
+ <instrumentation>
+ <ignores>
+ <ignore>javax.webbeans.*</ignore>
+ </ignores>
+ </instrumentation>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+
+</project>
Modified: ri/trunk/pom.xml
===================================================================
--- ri/trunk/pom.xml 2009-03-06 14:19:35 UTC (rev 1793)
+++ ri/trunk/pom.xml 2009-03-06 14:21:01 UTC (rev 1794)
@@ -1,77 +1,16 @@
<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>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-build-aggregator</artifactId>
<packaging>pom</packaging>
<version>1.0.0-SNAPSHOT</version>
- <name>Web Beans, the reference implmentation of JSR-299</name>
+ <name>Web Beans Build Aggregator</name>
<url>http://www.seamframework.org/WebBeans</url>
- <description>
- The reference implementation of JSR 299: Web Beans
- </description>
-
- <developers>
- <developer>
- <name>Pete Muir</name>
- <roles>
- <role>Project Lead</role>
- </roles>
- <email>pete.muir(a)jboss.org</email>
- <organization>JBoss, a division of Red Hat</organization>
- <url>http://in.relation.to/Bloggers/Pete</url>
- </developer>
-
- <developer>
- <name>Shane Bryzak</name>
- <organization>JBoss, a division of Red Hat</organization>
- </developer>
-
- <developer>
- <name>David Allen</name>
- </developer>
-
- <developer>
- <name>Nicklas Karlsson</name>
- </developer>
- </developers>
-
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <url>http://repository.jboss.org/maven2</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshots Repository</name>
- <url>http://snapshots.jboss.org/maven2</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <pluginRepository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <url>http://repository.jboss.org/maven2</url>
- </pluginRepository>
- </pluginRepositories>
-
<modules>
+ <module>version-matrix</module>
+ <module>parent</module>
<module>api</module>
<module>impl</module>
<module>spi</module>
@@ -79,529 +18,4 @@
<module>jboss-tck-runner</module>
</modules>
- <properties>
- <jsr299.tck.version>1.0.0-SNAPSHOT</jsr299.tck.version>
- <webbeans.version>1.0.0-SNAPSHOT</webbeans.version>
- </properties>
-
- <dependencyManagement>
- <dependencies>
-
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <version>5.8</version>
- <classifier>jdk15</classifier>
- <exclusions>
- <exclusion>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>javax.ejb</groupId>
- <artifactId>ejb-api</artifactId>
- <version>3.0</version>
- </dependency>
-
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>jsr250-api</artifactId>
- <version>1.0</version>
- </dependency>
-
- <dependency>
- <groupId>javax.persistence</groupId>
- <artifactId>persistence-api</artifactId>
- <version>1.0</version>
- </dependency>
-
- <dependency>
- <groupId>org.scannotation</groupId>
- <artifactId>scannotation</artifactId>
- <version>1.0.2</version>
- </dependency>
-
- <dependency>
- <groupId>javassist</groupId>
- <artifactId>javassist</artifactId>
- <version>3.8.1.GA</version>
- </dependency>
-
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- </dependency>
-
- <dependency>
- <groupId>javax.transaction</groupId>
- <artifactId>jta</artifactId>
- <version>1.0.1B</version>
- </dependency>
-
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.14</version>
- </dependency>
-
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <version>1.2</version>
- </dependency>
-
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- <version>1.2_10</version>
- </dependency>
-
- <dependency>
- <groupId>com.google.collections</groupId>
- <artifactId>google-collections</artifactId>
- <version>0.8</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-embedded</artifactId>
- <version>1.0.0-Alpha1</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- </exclusion>
- <exclusion>
- <groupId>bsh</groupId>
- <artifactId>bsh</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.cache</groupId>
- <artifactId>jbosscache-core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.cluster</groupId>
- <artifactId>jboss-ha-client</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-ejb-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-servlet-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.ws.native</groupId>
- <artifactId>jbossws-native-saaj</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.ws.native</groupId>
- <artifactId>jbossws-native-jaxws</artifactId>
- </exclusion>
- <exclusion>
- <groupId>apache-log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-api</artifactId>
- <version>3.1.0-Alpha1</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.el</groupId>
- <artifactId>jboss-el</artifactId>
- <version>1.0_02.CR2</version>
- </dependency>
-
- <dependency>
- <groupId>com.sun.facelets</groupId>
- <artifactId>jsf-facelets</artifactId>
- <version>1.1.15.B1</version>
- </dependency>
-
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-ri</artifactId>
- <version>1.2</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>jsr299-api</artifactId>
- <version>${webbeans.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-core</artifactId>
- <version>${webbeans.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-spi</artifactId>
- <version>${webbeans.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-porting-package</artifactId>
- <version>${webbeans.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.jsr299.tck</groupId>
- <artifactId>jsr299-tck-api</artifactId>
- <version>${jsr299.tck.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.jsr299.tck</groupId>
- <artifactId>jsr299-tck-impl</artifactId>
- <version>${jsr299.tck.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.test</groupId>
- <artifactId>jboss-test</artifactId>
- <version>1.1.3.GA</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-junit</artifactId>
- </exclusion>
- <exclusion>
- <groupId>jboss.profiler.jvmti</groupId>
- <artifactId>jboss-profiler-jvmti</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-server-manager</artifactId>
- </exclusion>
- <exclusion>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </exclusion>
- <exclusion>
- <groupId>apache-log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.logging</groupId>
- <artifactId>jboss-logging-log4j</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-as-client</artifactId>
- <version>5.0.0.GA</version>
- <type>pom</type>
- </dependency>
-
- </dependencies>
- </dependencyManagement>
-
- <build>
- <extensions>
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-webdav</artifactId>
- <version>1.0-beta-2</version>
- </extension>
- </extensions>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.0-beta-8</version>
- <configuration>
- <tagBase>https://svn.jboss.org/repos/webbeans/ri/tags</tagBase>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- </configuration>
- </plugin>
- </plugins>
- <defaultGoal>package</defaultGoal>
-
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>
- true
- </addDefaultImplementationEntries>
- <addDefaultSpecificationEntries>
- true
- </addDefaultSpecificationEntries>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.4.3</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <version>1.0-alpha-1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>2.4</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>2.0-beta-6</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.0.4</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.1-alpha-1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-ejb-plugin</artifactId>
- <version>2.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-ear-plugin</artifactId>
- <version>2.3.1</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.1</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.4</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>emma-maven-plugin</artifactId>
- <version>1.0-alpha-1</version>
- <configuration>
- <forkMode>once</forkMode>
- <metadataFile>../target/coverage.em</metadataFile>
- <outputDirectory>${project.build.directory}/generated-classes</outputDirectory>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.0-alpha-4</version>
- <executions>
- <execution>
- <id>enforce</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireMavenVersion>
- <version>2.0.9</version>
- </requireMavenVersion>
- <requirePluginVersions>
- <unCheckedPlugins>
- <unCheckedPlugin>org.apache.maven.plugins:maven-eclipse-plugin</unCheckedPlugin>
- </unCheckedPlugins>
- </requirePluginVersions>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <profiles>
- <profile>
- <id>api-coverage</id>
- <activation>
- <property>
- <name>apiCoverage</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <inherited>true</inherited>
- <configuration>
- <forkMode>once</forkMode>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>emma</groupId>
- <artifactId>emma</artifactId>
- <version>2.0.5312</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- </profiles>
-
- <ciManagement>
- <system>Hudson</system>
- <url />
- </ciManagement>
-
- <issueManagement>
- <system>JIRA</system>
- <url>http://jira.jboss.org/browse/WBRI</url>
- </issueManagement>
-
- <inceptionYear>2008</inceptionYear>
-
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- <license>
- <name>Lesser Gnu Public License, Version 2.1</name>
- <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
- </license>
- </licenses>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/webbeans/ri</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/webbeans/ri</developerConnection>
- <url>http://fisheye.jboss.org/browse/WebBeans/ri</url>
- </scm>
-
- <distributionManagement>
- <repository>
- <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
- <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
- <!-- todo : replace this with direct svn access once the svnkit providers are available -->
- <id>repository.jboss.org</id>
- <url>file://${maven.repository.root}</url>
- </repository>
- <snapshotRepository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <url>dav:https://snapshots.jboss.org/maven2</url>
- </snapshotRepository>
- </distributionManagement>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- <configuration>
- <formats>
- <format>html</format>
- <format>xml</format>
- </formats>
- <instrumentation>
- <ignores>
- <ignore>javax.webbeans.*</ignore>
- </ignores>
- </instrumentation>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-
</project>
Modified: ri/trunk/porting-package/pom.xml
===================================================================
--- ri/trunk/porting-package/pom.xml 2009-03-06 14:19:35 UTC (rev 1793)
+++ ri/trunk/porting-package/pom.xml 2009-03-06 14:21:01 UTC (rev 1794)
@@ -1,6 +1,6 @@
<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>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-parent</artifactId>
<groupId>org.jboss.webbeans</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Modified: ri/trunk/spi/pom.xml
===================================================================
--- ri/trunk/spi/pom.xml 2009-03-06 14:19:35 UTC (rev 1793)
+++ ri/trunk/spi/pom.xml 2009-03-06 14:21:01 UTC (rev 1794)
@@ -1,6 +1,6 @@
<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>
- <artifactId>parent</artifactId>
+ <artifactId>webbeans-parent</artifactId>
<groupId>org.jboss.webbeans</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
Added: ri/trunk/version-matrix/pom.xml
===================================================================
--- ri/trunk/version-matrix/pom.xml (rev 0)
+++ ri/trunk/version-matrix/pom.xml 2009-03-06 14:21:01 UTC (rev 1794)
@@ -0,0 +1,429 @@
+<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>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-version-matrix</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0.0-SNAPSHOT</version>
+
+ <name>Web Beans Version Matrix</name>
+ <url>http://www.seamframework.org/WebBeans</url>
+
+ <description>
+ A version matrix for a Web Beans projects
+ </description>
+
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <url>http://repository.jboss.org/maven2</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshots Repository</name>
+ <url>http://snapshots.jboss.org/maven2</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>always</updatePolicy>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <url>http://repository.jboss.org/maven2</url>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <properties>
+ <jsr299.tck.version>1.0.0-SNAPSHOT</jsr299.tck.version>
+ <webbeans.version>1.0.0-SNAPSHOT</webbeans.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <version>5.8</version>
+ <classifier>jdk15</classifier>
+ <exclusions>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.ejb</groupId>
+ <artifactId>ejb-api</artifactId>
+ <version>3.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>jsr250-api</artifactId>
+ <version>1.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.persistence</groupId>
+ <artifactId>persistence-api</artifactId>
+ <version>1.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.scannotation</groupId>
+ <artifactId>scannotation</artifactId>
+ <version>1.0.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ <version>3.8.1.GA</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.transaction</groupId>
+ <artifactId>jta</artifactId>
+ <version>1.0.1B</version>
+ </dependency>
+
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <version>1.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>1.2_10</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.collections</groupId>
+ <artifactId>google-collections</artifactId>
+ <version>0.8</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-embedded</artifactId>
+ <version>1.0.0-Alpha1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>bsh</groupId>
+ <artifactId>bsh</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.cache</groupId>
+ <artifactId>jbosscache-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.cluster</groupId>
+ <artifactId>jboss-ha-client</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-ejb-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.ws.native</groupId>
+ <artifactId>jbossws-native-saaj</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.ws.native</groupId>
+ <artifactId>jbossws-native-jaxws</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>apache-log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-api</artifactId>
+ <version>3.1.0-Alpha1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.el</groupId>
+ <artifactId>jboss-el</artifactId>
+ <version>1.0_02.CR2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ <version>1.1.15.B1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-ri</artifactId>
+ <version>1.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>jsr299-api</artifactId>
+ <version>${webbeans.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-core</artifactId>
+ <version>${webbeans.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-spi</artifactId>
+ <version>${webbeans.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-porting-package</artifactId>
+ <version>${webbeans.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.jsr299.tck</groupId>
+ <artifactId>jsr299-tck-api</artifactId>
+ <version>${jsr299.tck.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.jsr299.tck</groupId>
+ <artifactId>jsr299-tck-impl</artifactId>
+ <version>${jsr299.tck.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.test</groupId>
+ <artifactId>jboss-test</artifactId>
+ <version>1.1.3.GA</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-junit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jboss.profiler.jvmti</groupId>
+ <artifactId>jboss-profiler-jvmti</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-server-manager</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>apache-log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging-log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-client</artifactId>
+ <version>5.0.0.GA</version>
+ <type>pom</type>
+ </dependency>
+
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav</artifactId>
+ <version>1.0-beta-2</version>
+ </extension>
+ </extensions>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.4.3</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.3</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>properties-maven-plugin</artifactId>
+ <version>1.0-alpha-1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.0-beta-6</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.0.4</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.0</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.1-alpha-1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ear-plugin</artifactId>
+ <version>2.3.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>emma-maven-plugin</artifactId>
+ <version>1.0-alpha-1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ <executions>
+ <execution>
+ <id>enforce</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>2.0.9</version>
+ </requireMavenVersion>
+ <requirePluginVersions>
+ <unCheckedPlugins>
+ <unCheckedPlugin>org.apache.maven.plugins:maven-eclipse-plugin</unCheckedPlugin>
+ </unCheckedPlugins>
+ </requirePluginVersions>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+</project>
15 years, 10 months
[webbeans-commits] Webbeans SVN: r1793 - in tck/trunk: api and 1 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-03-06 09:19:35 -0500 (Fri, 06 Mar 2009)
New Revision: 1793
Modified:
tck/trunk/api/pom.xml
tck/trunk/impl/pom.xml
tck/trunk/pom.xml
Log:
update for reorg
Modified: tck/trunk/api/pom.xml
===================================================================
--- tck/trunk/api/pom.xml 2009-03-06 13:25:50 UTC (rev 1792)
+++ tck/trunk/api/pom.xml 2009-03-06 14:19:35 UTC (rev 1793)
@@ -36,7 +36,7 @@
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
</dependency>
</dependencies>
Modified: tck/trunk/impl/pom.xml
===================================================================
--- tck/trunk/impl/pom.xml 2009-03-06 13:25:50 UTC (rev 1792)
+++ tck/trunk/impl/pom.xml 2009-03-06 14:19:35 UTC (rev 1793)
@@ -14,7 +14,7 @@
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
</dependency>
<dependency>
Modified: tck/trunk/pom.xml
===================================================================
--- tck/trunk/pom.xml 2009-03-06 13:25:50 UTC (rev 1792)
+++ tck/trunk/pom.xml 2009-03-06 14:19:35 UTC (rev 1793)
@@ -98,7 +98,7 @@
</dependency>
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
<version>${webbeans.version}</version>
</dependency>
<dependency>
15 years, 10 months
[webbeans-commits] Webbeans SVN: r1792 - in examples/trunk: conversations and 3 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-03-06 08:25:50 -0500 (Fri, 06 Mar 2009)
New Revision: 1792
Removed:
examples/trunk/conversations/target/
Modified:
examples/trunk/build.properties
examples/trunk/conversations/
examples/trunk/conversations/pom.xml
examples/trunk/login/pom.xml
examples/trunk/numberguess/pom.xml
examples/trunk/pom.xml
examples/trunk/translator/webbeans-translator-ejb/pom.xml
Log:
updates for repackage
Modified: examples/trunk/build.properties
===================================================================
--- examples/trunk/build.properties 2009-03-06 13:21:05 UTC (rev 1791)
+++ examples/trunk/build.properties 2009-03-06 13:25:50 UTC (rev 1792)
@@ -1 +1 @@
-jboss.home=/Applications/jboss-5.0.0.GA
+jboss.home=/Applications/jboss-5.0.1.GA
Property changes on: examples/trunk/conversations
___________________________________________________________________
Name: svn:ignore
+ .settings
.classpath
.project
Modified: examples/trunk/conversations/pom.xml
===================================================================
--- examples/trunk/conversations/pom.xml 2009-03-06 13:21:05 UTC (rev 1791)
+++ examples/trunk/conversations/pom.xml 2009-03-06 13:25:50 UTC (rev 1792)
@@ -33,13 +33,13 @@
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri</artifactId>
+ <artifactId>webbeans-core</artifactId>
<scope>provided</scope>
</dependency>
@@ -75,6 +75,7 @@
</exclusion>
</exclusions>
</dependency>
+
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>jsr250-api</artifactId>
Modified: examples/trunk/login/pom.xml
===================================================================
--- examples/trunk/login/pom.xml 2009-03-06 13:21:05 UTC (rev 1791)
+++ examples/trunk/login/pom.xml 2009-03-06 13:25:50 UTC (rev 1792)
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
<scope>provided</scope>
</dependency>
Modified: examples/trunk/numberguess/pom.xml
===================================================================
--- examples/trunk/numberguess/pom.xml 2009-03-06 13:21:05 UTC (rev 1791)
+++ examples/trunk/numberguess/pom.xml 2009-03-06 13:25:50 UTC (rev 1792)
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
<scope>provided</scope>
</dependency>
Modified: examples/trunk/pom.xml
===================================================================
--- examples/trunk/pom.xml 2009-03-06 13:21:05 UTC (rev 1791)
+++ examples/trunk/pom.xml 2009-03-06 13:25:50 UTC (rev 1792)
@@ -20,6 +20,7 @@
<module>numberguess</module>
<module>translator</module>
<module>login</module>
+ <module>conversations</module>
</modules>
<build>
Modified: examples/trunk/translator/webbeans-translator-ejb/pom.xml
===================================================================
--- examples/trunk/translator/webbeans-translator-ejb/pom.xml 2009-03-06 13:21:05 UTC (rev 1791)
+++ examples/trunk/translator/webbeans-translator-ejb/pom.xml 2009-03-06 13:25:50 UTC (rev 1792)
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
<scope>provided</scope>
</dependency>
15 years, 10 months
[webbeans-commits] Webbeans SVN: r1791 - in ri/trunk/impl/src/main/java/org/jboss/webbeans: jsf and 1 other directory.
by webbeans-commits@lists.jboss.org
Author: nickarls
Date: 2009-03-06 08:21:05 -0500 (Fri, 06 Mar 2009)
New Revision: 1791
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/conversation/ServletConversationManager.java
ri/trunk/impl/src/main/java/org/jboss/webbeans/jsf/WebBeansPhaseListener.java
Log:
minor. move conversation context activation in phase listener
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/conversation/ServletConversationManager.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/conversation/ServletConversationManager.java 2009-03-06 12:55:02 UTC (rev 1790)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/conversation/ServletConversationManager.java 2009-03-06 13:21:05 UTC (rev 1791)
@@ -122,7 +122,7 @@
// We got an incoming conversation ID but it was not in the map of
// known ones, nothing to do. Log and return to continue with a
// transient conversation
- log.info("Could not restore long-running conversation " + cid);
+ log.warn("Could not restore long-running conversation " + cid);
return;
}
ConversationEntry resumedConversationEntry = longRunningConversations.get(cid);
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/jsf/WebBeansPhaseListener.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/jsf/WebBeansPhaseListener.java 2009-03-06 12:55:02 UTC (rev 1790)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/jsf/WebBeansPhaseListener.java 2009-03-06 13:21:05 UTC (rev 1791)
@@ -53,10 +53,6 @@
{
beforeRenderReponse();
}
- else if (phaseEvent.getPhaseId().equals(PhaseId.APPLY_REQUEST_VALUES))
- {
- beforeApplyRequestValues();
- }
}
/**
@@ -77,15 +73,6 @@
}
/**
- * Run before request values are applied
- */
- private void beforeApplyRequestValues()
- {
- log.trace("In before apply values phase");
- ConversationContext.INSTANCE.setActive(true);
- }
-
- /**
* Run after a given phase
*
* @param phaseEvent The phase event
@@ -113,6 +100,7 @@
CurrentManager.rootManager().getInstanceByType(ConversationManager.class).beginOrRestoreConversation(PhaseHelper.getConversationId());
String cid = CurrentManager.rootManager().getInstanceByType(Conversation.class).getId();
ConversationContext.INSTANCE.setBeanStore(new ConversationBeanStore(session, cid));
+ ConversationContext.INSTANCE.setActive(true);
}
/**
15 years, 10 months
[webbeans-commits] Webbeans SVN: r1790 - in ri/trunk: api and 6 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-03-06 07:55:02 -0500 (Fri, 06 Mar 2009)
New Revision: 1790
Removed:
ri/trunk/src/
Modified:
ri/trunk/api/pom.xml
ri/trunk/dist/build.xml
ri/trunk/dist/pom.xml
ri/trunk/dist/readme.txt
ri/trunk/dist/release-process.txt
ri/trunk/impl/pom.xml
ri/trunk/jboss-as/build.properties
ri/trunk/jboss-as/build.xml
ri/trunk/jboss-tck-runner/pom.xml
ri/trunk/pom.xml
ri/trunk/porting-package/pom.xml
ri/trunk/spi/pom.xml
Log:
rename modules
Modified: ri/trunk/api/pom.xml
===================================================================
--- ri/trunk/api/pom.xml 2009-03-06 12:43:10 UTC (rev 1789)
+++ ri/trunk/api/pom.xml 2009-03-06 12:55:02 UTC (rev 1790)
@@ -8,10 +8,10 @@
</parent>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
<packaging>jar</packaging>
<name>JSR-299 API</name>
<url>http://www.seamframework.org/WebBeans</url>
-</project>
\ No newline at end of file
+</project>
Modified: ri/trunk/dist/build.xml
===================================================================
--- ri/trunk/dist/build.xml 2009-03-06 12:43:10 UTC (rev 1789)
+++ ri/trunk/dist/build.xml 2009-03-06 12:55:02 UTC (rev 1790)
@@ -86,9 +86,9 @@
<maven target="javadoc:jar install" basedir="${wbri.dir}" />
<artifact:dependencies filesetId="webbeans.fileset" versionsId="webbeans.versions" sourcesfilesetid="webbeans.sources.fileset" javadocfilesetid="webbeans.javadocs.fileset">
- <dependency groupId="org.jboss.webbeans" artifactId="webbeans-ri" version="${version}"/>
- <dependency groupId="org.jboss.webbeans" artifactId="webbeans-ri-spi" version="${version}"/>
- <dependency groupId="org.jboss.webbeans" artifactId="webbeans-api" version="${version}"/>
+ <dependency groupId="org.jboss.webbeans" artifactId="webbeans-core" version="${version}"/>
+ <dependency groupId="org.jboss.webbeans" artifactId="webbeans-spi" version="${version}"/>
+ <dependency groupId="org.jboss.webbeans" artifactId="jsr299-api" version="${version}"/>
<remoteRepository id="repository.jboss.org" url="http://repository.jboss.org/maven2" />
</artifact:dependencies>
@@ -107,7 +107,7 @@
<mkdir dir="${dist.apidocs.dir}"/>
<unzip dest="${dist.apidocs.dir}">
<fileset dir="target">
- <include name="webbeans-api-javadoc.jar"/>
+ <include name="jsr299-api-javadoc.jar"/>
</fileset>
</unzip>
Modified: ri/trunk/dist/pom.xml
===================================================================
--- ri/trunk/dist/pom.xml 2009-03-06 12:43:10 UTC (rev 1789)
+++ ri/trunk/dist/pom.xml 2009-03-06 12:55:02 UTC (rev 1790)
@@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri-distribution</artifactId>
+ <artifactId>webbeans-distribution</artifactId>
<packaging>zip</packaging>
<name>Web Beans Distribution</name>
Modified: ri/trunk/dist/readme.txt
===================================================================
--- ri/trunk/dist/readme.txt 2009-03-06 12:43:10 UTC (rev 1789)
+++ ri/trunk/dist/readme.txt 2009-03-06 12:55:02 UTC (rev 1790)
@@ -10,12 +10,12 @@
License (see apl.txt). In particular, the API and the Web Beans runtime are
licensed under the APL. At least these parts are licensed under the APL:
-* src/webbeans-ri/main/**/*
-* src/webbeans-api/main/**/*
-* src/webbeans-ri-spi/main/**/*
-* lib/webbeans/webbeans-ri.jar
-* lib/webbeans/webbeans-api.jar
-* lib/webbeans/webbeans-ri-spi.jar
+* src/impl/main/**/*
+* src/api/main/**/*
+* src/spi/main/**/*
+* lib/webbeans/webbeans-core.jar
+* lib/webbeans/jsr299-api.jar
+* lib/webbeans/webbeans-spi.jar
This distribution consists of:
@@ -38,5 +38,5 @@
-- The Web Beans and API jars, for use outside of JBoss AS
src/
- -- The sources of Web Beans, including src/webbeans-api, src/webbeans-ri and
+ -- The sources of Web Beans, including src/api, src/impl and
src/reference. To build the sources, just type mvn in the subdirectory.
Modified: ri/trunk/dist/release-process.txt
===================================================================
--- ri/trunk/dist/release-process.txt 2009-03-06 12:43:10 UTC (rev 1789)
+++ ri/trunk/dist/release-process.txt 2009-03-06 12:55:02 UTC (rev 1790)
@@ -2,7 +2,7 @@
--------------------------------
* Run the testsuite and examples
-* Alter the RI POM to exclude the RI
+* Alter the core POM to exclude the core
* Tag using mvn release:prepare in the ri/trunk checkout
* Checkout the newly released APIs, and install them locally
* Tag docs using mvn release:prepare in the doc/trunk/reference checkout
Modified: ri/trunk/impl/pom.xml
===================================================================
--- ri/trunk/impl/pom.xml 2009-03-06 12:43:10 UTC (rev 1789)
+++ ri/trunk/impl/pom.xml 2009-03-06 12:55:02 UTC (rev 1790)
@@ -6,18 +6,18 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri</artifactId>
+ <artifactId>webbeans-core</artifactId>
<name>Web Beans Core</name>
<dependencies>
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri-spi</artifactId>
+ <artifactId>webbeans-spi</artifactId>
</dependency>
<dependency>
Modified: ri/trunk/jboss-as/build.properties
===================================================================
--- ri/trunk/jboss-as/build.properties 2009-03-06 12:43:10 UTC (rev 1789)
+++ ri/trunk/jboss-as/build.properties 2009-03-06 12:55:02 UTC (rev 1790)
@@ -1,5 +1,5 @@
#jboss.home=/Applications/jboss-5.0.1.GA
java.opts=-Xms128m -Xmx256m -XX:MaxPermSize=128m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
webbeans-ri-int.version=5.2.0-SNAPSHOT
-webbeans-ri.version=1.0.0-SNAPSHOT
+webbeans.version=1.0.0-SNAPSHOT
jboss-ejb3.version=1.0.0
Modified: ri/trunk/jboss-as/build.xml
===================================================================
--- ri/trunk/jboss-as/build.xml 2009-03-06 12:43:10 UTC (rev 1789)
+++ ri/trunk/jboss-as/build.xml 2009-03-06 12:55:02 UTC (rev 1790)
@@ -24,7 +24,7 @@
<artifact:dependencies filesetId="webbeans.deployer.fileset" versionsId="webbeans.deployer.versions">
<dependency groupId="org.jboss.webbeans.integration" artifactId="webbeans-ri-int-deployer" version="${webbeans-ri-int.version}" type="zip"/>
- <dependency groupId="org.jboss.webbeans" artifactId="webbeans-ri" version="${webbeans-ri.version}" />
+ <dependency groupId="org.jboss.webbeans" artifactId="webbeans-core" version="${webbeans.version}" />
<remoteRepository id="repository.jboss.org" url="http://repository.jboss.org/maven2" />
<remoteRepository id="snapshots.jboss.org" url="http://snapshots.jboss.org/maven2" />
</artifact:dependencies>
@@ -48,7 +48,7 @@
<copy todir="${jboss.home}/server/default/deployers/webbeans.deployer/lib-int/" overwrite="true">
<fileset dir="target">
- <include name="webbeans-ri.jar" />
+ <include name="webbeans-core.jar" />
</fileset>
</copy>
Modified: ri/trunk/jboss-tck-runner/pom.xml
===================================================================
--- ri/trunk/jboss-tck-runner/pom.xml 2009-03-06 12:43:10 UTC (rev 1789)
+++ ri/trunk/jboss-tck-runner/pom.xml 2009-03-06 12:55:02 UTC (rev 1790)
@@ -14,12 +14,12 @@
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri</artifactId>
+ <artifactId>webbeans-core</artifactId>
</dependency>
<dependency>
Modified: ri/trunk/pom.xml
===================================================================
--- ri/trunk/pom.xml 2009-03-06 12:43:10 UTC (rev 1789)
+++ ri/trunk/pom.xml 2009-03-06 12:55:02 UTC (rev 1790)
@@ -236,19 +236,19 @@
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
<version>${webbeans.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri</artifactId>
+ <artifactId>webbeans-core</artifactId>
<version>${webbeans.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri-spi</artifactId>
+ <artifactId>webbeans-spi</artifactId>
<version>${webbeans.version}</version>
</dependency>
Modified: ri/trunk/porting-package/pom.xml
===================================================================
--- ri/trunk/porting-package/pom.xml 2009-03-06 12:43:10 UTC (rev 1789)
+++ ri/trunk/porting-package/pom.xml 2009-03-06 12:55:02 UTC (rev 1790)
@@ -12,12 +12,12 @@
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri</artifactId>
+ <artifactId>webbeans-core</artifactId>
</dependency>
<dependency>
Modified: ri/trunk/spi/pom.xml
===================================================================
--- ri/trunk/spi/pom.xml 2009-03-06 12:43:10 UTC (rev 1789)
+++ ri/trunk/spi/pom.xml 2009-03-06 12:55:02 UTC (rev 1790)
@@ -6,13 +6,13 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri-spi</artifactId>
+ <artifactId>webbeans-spi</artifactId>
<name>Web Beans Service Provider Interfaces</name>
<dependencies>
<dependency>
<groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
+ <artifactId>jsr299-api</artifactId>
</dependency>
<dependency>
15 years, 10 months
[webbeans-commits] Webbeans SVN: r1789 - ri/trunk/dist.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-03-06 07:43:10 -0500 (Fri, 06 Mar 2009)
New Revision: 1789
Modified:
ri/trunk/dist/build.xml
Log:
minor
Modified: ri/trunk/dist/build.xml
===================================================================
--- ri/trunk/dist/build.xml 2009-03-06 12:35:40 UTC (rev 1788)
+++ ri/trunk/dist/build.xml 2009-03-06 12:43:10 UTC (rev 1789)
@@ -26,8 +26,8 @@
<maven target="clean" basedir="${refdoc.dir}" />
<maven target="clean" basedir="${examples.dir}" />
<delete dir="${wbri.dir}/jboss-as/target" />
- <delete dir="${wbri.dir}/webbeans-ri/test-output" />
- <delete dir="${wbri.dir}/webbeans-ri/ObjectStore" />
+ <delete dir="${wbri.dir}/impl/test-output" />
+ <delete dir="${wbri.dir}/impl/ObjectStore" />
<delete dir="${dist.dir}" failonerror="false"/>
<mkdir dir="${dist.dir}"/>
@@ -35,9 +35,9 @@
<copy todir="${dist.src.dir}">
<fileset dir="${wbri.dir}">
- <include name="webbeans-ri/**" />
- <include name="webbeans-ri-spi/**" />
- <include name="webbeans-api/**" />
+ <include name="impl/**" />
+ <include name="spi/**" />
+ <include name="api/**" />
<include name="pom.xml" />
<exclude name="**/.settings/**" />
<exclude name="**/.classpath" />
@@ -163,4 +163,4 @@
</sequential>
</macrodef>
-</project>
\ No newline at end of file
+</project>
15 years, 10 months
[webbeans-commits] Webbeans SVN: r1788 - in ri/trunk: api and 1 other directories.
by webbeans-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2009-03-06 07:35:40 -0500 (Fri, 06 Mar 2009)
New Revision: 1788
Added:
ri/trunk/api/
ri/trunk/api/pom.xml
ri/trunk/api/src/
ri/trunk/impl/
ri/trunk/spi/
ri/trunk/spi/pom.xml
ri/trunk/spi/src/
Removed:
ri/trunk/api/pom.xml
ri/trunk/api/src/
ri/trunk/spi/pom.xml
ri/trunk/spi/src/
ri/trunk/webbeans-api/
ri/trunk/webbeans-ri-spi/
ri/trunk/webbeans-ri/
Modified:
ri/trunk/pom.xml
Log:
restructure modules
Copied: ri/trunk/api (from rev 1770, ri/trunk/webbeans-api)
Deleted: ri/trunk/api/pom.xml
===================================================================
--- ri/trunk/webbeans-api/pom.xml 2009-03-05 08:00:16 UTC (rev 1770)
+++ ri/trunk/api/pom.xml 2009-03-06 12:35:40 UTC (rev 1788)
@@ -1,17 +0,0 @@
-<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.jboss.webbeans</groupId>
- <artifactId>parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
- <packaging>jar</packaging>
- <name>JSR-299 API</name>
- <url>http://www.seamframework.org/WebBeans</url>
-
-
-</project>
\ No newline at end of file
Copied: ri/trunk/api/pom.xml (from rev 1787, ri/trunk/webbeans-api/pom.xml)
===================================================================
--- ri/trunk/api/pom.xml (rev 0)
+++ ri/trunk/api/pom.xml 2009-03-06 12:35:40 UTC (rev 1788)
@@ -0,0 +1,17 @@
+<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.jboss.webbeans</groupId>
+ <artifactId>parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-api</artifactId>
+ <packaging>jar</packaging>
+ <name>JSR-299 API</name>
+ <url>http://www.seamframework.org/WebBeans</url>
+
+
+</project>
\ No newline at end of file
Copied: ri/trunk/api/src (from rev 1787, ri/trunk/webbeans-api/src)
Copied: ri/trunk/impl (from rev 1787, ri/trunk/webbeans-ri)
Modified: ri/trunk/pom.xml
===================================================================
--- ri/trunk/pom.xml 2009-03-06 11:20:36 UTC (rev 1787)
+++ ri/trunk/pom.xml 2009-03-06 12:35:40 UTC (rev 1788)
@@ -72,16 +72,16 @@
</pluginRepositories>
<modules>
- <module>webbeans-api</module>
- <module>webbeans-ri</module>
- <module>webbeans-ri-spi</module>
+ <module>api</module>
+ <module>impl</module>
+ <module>spi</module>
<module>porting-package</module>
<module>jboss-tck-runner</module>
</modules>
<properties>
<jsr299.tck.version>1.0.0-SNAPSHOT</jsr299.tck.version>
- <webbeans.ri.version>1.0.0-SNAPSHOT</webbeans.ri.version>
+ <webbeans.version>1.0.0-SNAPSHOT</webbeans.version>
</properties>
<dependencyManagement>
@@ -237,25 +237,25 @@
<dependency>
<groupId>org.jboss.webbeans</groupId>
<artifactId>webbeans-api</artifactId>
- <version>${webbeans.ri.version}</version>
+ <version>${webbeans.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.webbeans</groupId>
<artifactId>webbeans-ri</artifactId>
- <version>${webbeans.ri.version}</version>
+ <version>${webbeans.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.webbeans</groupId>
<artifactId>webbeans-ri-spi</artifactId>
- <version>${webbeans.ri.version}</version>
+ <version>${webbeans.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.webbeans</groupId>
<artifactId>webbeans-porting-package</artifactId>
- <version>${webbeans.ri.version}</version>
+ <version>${webbeans.version}</version>
</dependency>
<dependency>
Copied: ri/trunk/spi (from rev 1770, ri/trunk/webbeans-ri-spi)
Deleted: ri/trunk/spi/pom.xml
===================================================================
--- ri/trunk/webbeans-ri-spi/pom.xml 2009-03-05 08:00:16 UTC (rev 1770)
+++ ri/trunk/spi/pom.xml 2009-03-06 12:35:40 UTC (rev 1788)
@@ -1,48 +0,0 @@
-<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>
- <artifactId>parent</artifactId>
- <groupId>org.jboss.webbeans</groupId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-ri-spi</artifactId>
- <name>Web Beans Service Provider Interfaces</name>
- <dependencies>
-
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-api</artifactId>
- </dependency>
-
- <dependency>
- <groupId>javax.persistence</groupId>
- <artifactId>persistence-api</artifactId>
- <optional>true</optional>
- </dependency>
-
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <scope>test</scope>
- <classifier>jdk15</classifier>
- <exclusions>
- <exclusion>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>com.google.collections</groupId>
- <artifactId>google-collections</artifactId>
- </dependency>
-
- </dependencies>
-
- <build>
- <defaultGoal>install</defaultGoal>
- </build>
-
-</project>
Copied: ri/trunk/spi/pom.xml (from rev 1787, ri/trunk/webbeans-ri-spi/pom.xml)
===================================================================
--- ri/trunk/spi/pom.xml (rev 0)
+++ ri/trunk/spi/pom.xml 2009-03-06 12:35:40 UTC (rev 1788)
@@ -0,0 +1,54 @@
+<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>
+ <artifactId>parent</artifactId>
+ <groupId>org.jboss.webbeans</groupId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-ri-spi</artifactId>
+ <name>Web Beans Service Provider Interfaces</name>
+ <dependencies>
+
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.persistence</groupId>
+ <artifactId>persistence-api</artifactId>
+ <optional>true</optional>
+ </dependency>
+
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <scope>test</scope>
+ <classifier>jdk15</classifier>
+ <exclusions>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.collections</groupId>
+ <artifactId>google-collections</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <optional>true</optional>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ </build>
+
+</project>
Copied: ri/trunk/spi/src (from rev 1787, ri/trunk/webbeans-ri-spi/src)
15 years, 10 months
[webbeans-commits] Webbeans SVN: r1787 - tck/trunk/impl/src/main/resources.
by webbeans-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-03-06 06:20:36 -0500 (Fri, 06 Mar 2009)
New Revision: 1787
Modified:
tck/trunk/impl/src/main/resources/tck-audit.xml
Log:
...and fixed character encoding problem
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-03-06 11:13:22 UTC (rev 1786)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-03-06 11:20:36 UTC (rev 1787)
@@ -5034,7 +5034,7 @@
<section id="9" title="XML based metadata">
<assertion id="a">
- <text>XML-based bean declarations define additional beans�they do not redefine or disable any bean that was declared via annotations</text>
+ <text>XML-based bean declarations define additional beans?they do not redefine or disable any bean that was declared via annotations</text>
</assertion>
<assertion id="b">
15 years, 10 months
[webbeans-commits] Webbeans SVN: r1786 - tck/trunk/impl/src/main/resources.
by webbeans-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-03-06 06:13:22 -0500 (Fri, 06 Mar 2009)
New Revision: 1786
Modified:
tck/trunk/impl/src/main/resources/tck-audit.xml
Log:
oops, fixed invalid xml
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-03-06 11:10:58 UTC (rev 1785)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-03-06 11:13:22 UTC (rev 1786)
@@ -5592,7 +5592,7 @@
<section id="9.6" title="Producer method and field declarations">
<assertion id="a">
- <text>A producer method or field declaration is formed by adding a direct child <Produces> element to an element that represents the method or field, as defined in Section 3.4.3, "Declaring a producer method using XML" and Section 3.5.3, "Declaring a producer field using XML"</text>
+ <text>A producer method or field declaration is formed by adding a direct child <Produces> element to an element that represents the method or field, as defined in Section 3.4.3, "Declaring a producer method using XML" and Section 3.5.3, "Declaring a producer field using XML"</text>
</assertion>
</section>
15 years, 10 months
[webbeans-commits] Webbeans SVN: r1785 - tck/trunk/impl/src/main/resources.
by webbeans-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2009-03-06 06:10:58 -0500 (Fri, 06 Mar 2009)
New Revision: 1785
Modified:
tck/trunk/impl/src/main/resources/tck-audit.xml
Log:
some chapter 9 assertions
Modified: tck/trunk/impl/src/main/resources/tck-audit.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit.xml 2009-03-06 10:44:07 UTC (rev 1784)
+++ tck/trunk/impl/src/main/resources/tck-audit.xml 2009-03-06 11:10:58 UTC (rev 1785)
@@ -5032,5 +5032,607 @@
</assertion>
</section>
+ <section id="9" title="XML based metadata">
+ <assertion id="a">
+ <text>XML-based bean declarations define additional beans�they do not redefine or disable any bean that was declared via annotations</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>Multiple namespaces are accommodated, each representing a Java package</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>XML elements belonging to these namespaces represent Java types, fields and methods</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>Each namespace may declare an XML schema</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>If a beans.xml file contains any XML element without a declared namespace, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ </section>
+
+ <section id="9.1" title="XML namespace for a Java package">
+ <assertion id="a">
+ <text>Every Java package has a corresponding XML namespace. The namespace URN consists of the package name, with the prefix urn:java:</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>Each namespace may, optionally, have a schema</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>An XML element belonging to such a namespace represents a Java type in the corresponding Java package, or a method or field of a type in that package</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>If there is a Java type in the package with the same name as the XML element, the XML element can be interpreted to represent that Java type</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>Type parameters may be specified by child elements of the element that represents the type</text>
+ </assertion>
+
+ <assertion id="f">
+ <text>Members of a type may be specified by child elements of the element that represents the type, in the same namespace as the element that represents the type</text>
+ </assertion>
+
+ </section>
+
+ <section id="9.2" title="XML namespace aggregating multiple packages">
+ <assertion id="a">
+ <text>Alternatively, a namespace may represent several Java packages. Such a namespace must have a URN consisting of the prefix urn:java: followed by a period-separated list of valid Java identifiers</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>The list of packages for such a namespace must be defined in a classpath resource named namespace in the path named by the identifier list</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>The format of the file is a list of packages, separated by whitespace</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>An XML element belonging to such a namespace represents a Java type in one of the listed packages, or a method or field of a type in one of the listed packages</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>If there are multiple packages containing a Java type with the same name as the XML element, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="f">
+ <text>If there is exactly one Java type in the listed packages with the same name as the XML element, the XML element can be interpreted to represent that Java type</text>
+ </assertion>
+ </section>
+
+ <section id="9.2.1" title="The Java EE namespace">
+ <assertion id="a">
+ <text>The Java EE namespace urn:java:ee represents the following packages: java.lang, java.util, javax.annotation, javax.inject, javax.context, javax.interceptor, javax.decorator, javax.event, javax.ejb, javax.persistence, javax.xml.ws, javax.jms, and javax.sql</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>Several elements in the urn:java:ee namespace do not represent Java types</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>The root <Beans> element, together with the <Deploy>, <Interceptors> and <Decorators> elements belong to the namespace urn:java:ee and do not represent Java types nor members of Java types</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>Java array types may be represented by an <Array> element in the namespace urn:java:ee, with a child element representing the element type</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>Primitive types may be represented by the XML element that represents the corresponding wrapper type in java.lang, since primitive and wrapper types are considered identical for the purposes of typesafe resolution, and assignable for the purposes of injection</text>
+ </assertion>
+ </section>
+
+ <section id="9.3" title="Standard schema location for a namespace">
+ <assertion id="a">
+ <text>The container must validate all namespaces for which schemas are available in the classpath</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>The container searches for a schema for each namespace in the classpath directory corresponding to the namespace</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>The schema must be named schema.xsd</text>
+ </assertion>
+ </section>
+
+ <section id="9.4" title="Stereotype, binding type and interceptor binding type declarations">
+ <assertion id="a">
+ <text>An XML element that appears as a direct child of the root <Beans> element is interpreted as a binding type declaration if it has a direct child <BindingType> element in the Java EE namespace, as defined in Section 2.3.2, "Defining new binding types"</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>An XML element that appears as a direct child of the root <Beans> element is interpreted as an interceptor binding type if it has a direct child <InterceptorBindingType> element in the Java EE namespace, as defined in Section A.3.4, "Interceptor bindings"</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>An XML element that appears as a direct child of the root <Beans> element is interpreted as a stereotype declaration if it has a direct child <Stereotype> element in the Java EE namespace, as defined in Section 2.7.1, "Defining new stereotypes"</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>The XML element is interpreted as a Java type. If no such Java type exists in the classpath, a DefinitionException is thrown by the container at deployment time. If the type is not an annotation type, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>If the annotation type is already declared as a binding type using annotations, the annotations are ignored by the container and the XML-based declaration is used</text>
+ </assertion>
+
+ <assertion id="f">
+ <text>If the annotation type is already declared as an interceptor binding type using annotations, the annotations are ignored by the container and the XML-based declaration is used</text>
+ </assertion>
+
+ <assertion id="g">
+ <text>If the annotation type is already declared as a stereotype using annotations, the annotations are ignored by the container and the XML-based declaration is used</text>
+ </assertion>
+
+ <assertion id="h">
+ <text>If a certain annotation type is declared more than once as a binding type, interceptor binding type or stereotype using XML, a DeploymentException is thrown by the container at deployment time</text>
+ </assertion>
+ </section>
+
+ <section id="9.4.1" title="Child elements of a stereotype declaration">
+ <assertion id="a">
+ <text>Every direct child element of a stereotype declaration is interpreted as a Java type</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>If no such Java type exists in the classpath, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>If the type is not an annotation type, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>If the annotation type is a scope type, the default scope of the stereotype was declared</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>If the annotation type is a deployment type, the default scope of the stereotype was declared</text>
+ </assertion>
+
+ <assertion id="f">
+ <text>If the annotation type is a interceptor binding type, an interceptor binding of the stereotype was declared</text>
+ </assertion>
+
+ <assertion id="g">
+ <text>If the annotation type is javax.annotation.Named, a stereotype with name defaulting was declared</text>
+ </assertion>
+
+ <assertion id="h">
+ <text>Otherwise, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+ </section>
+
+ <section id="9.4.2" title="Child elements of an interceptor binding type declaration">
+ <assertion id="a">
+ <text>Every direct child element of an interceptor binding type declaration is interpreted as a Java type</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>If no such Java type exists in the classpath, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>If the type is not an annotation type, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>If the annotation type is an interceptor binding type, an inherited interceptor binding was declared, as defined in Section A.3.4.1, "Interceptor binding types with additional interceptor bindings"</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>If the annotation type is not an interceptor binding type, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ </section>
+
+ <section id="9.5" title="Bean declarations">
+
+ <assertion id="a">
+ <text>An XML element that appears as a direct child of the root <Beans> element is interpreted as a bean declaration if it is not a <Deploy>, <Interceptors> or <Decorators> element in the Java EE namespace, and does not have a direct child <BindingType>,<InterceptorBindingType> or <Stereotype> element in the Java EE namespace</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>The name of the XML element is interpreted as a Java type. The container inspects the Java type and other metadata to determine what kind of bean is being declared. If no such Java type exists in the classpath, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>If the type is javax.jms.Queue or javax.jms.Topic, it declares a JMS resource, as defined in Section 3.7.2, "Declaring a JMS resource using XML"</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>If the element has a child <Resource>, <PersistenceContext>, <PersistenceUnit>, <EJB> or <WebServiceRef> element, it declares a resource, as defined in Section 3.6.1, "Declaring a resource using XML"</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>If the type is an EJB bean class, a session bean was declared, as defined in Section 3.3.5, "Declaring a session bean using XML"</text>
+ </assertion>
+
+ <assertion id="f">
+ <text>If the type is a concrete class, is not an EJB bean class, and is not a parameterized type, a simple bean was declared, as defined in Section 3.2.4, "Declaring a simple bean using XML"</text>
+ </assertion>
+
+ <assertion id="g">
+ <text>Otherwise, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="h">
+ <text>Inline bean declarations may occur at injection points, as defined in Section 9.9, "Inline bean declarations". Inline bean declarations always declare simple beans</text>
+ </assertion>
+
+ </section>
+
+ <section id="9.5.1" title="Child elements of a bean declaration">
+ <assertion id="a">
+ <text>If the child element can be interpreted as a Java annotation type, the container interprets the child element as declaring type-level metadata</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>If the child element can be interpreted as a Java class or interface, the container interprets the child element as declaring a parameter of the bean constructor</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>If the child element namespace is the same as the namespace of the parent, the container interprets the element as declaring a method or field of the bean</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>If the name of the child element matches the name of both a method and a field of the bean class, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>If the name of the child element matches the name of a method of the bean class, is it interpreted to represent that method</text>
+ </assertion>
+
+ <assertion id="f">
+ <text>If the name of the child element matches the name of a field of the bean class, is it interpreted to represent that field</text>
+ </assertion>
+
+ <assertion id="g">
+ <text>Otherwise, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+ </section>
+
+ <section id="9.5.2" title="Type-level metadata for a bean">
+ <assertion id="a">
+ <text>Type-level metadata is specified via direct child elements of the bean declaration that represent Java annotation types</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>The child element is interpreted as a Java annotation type</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>If the annotation type is a deployment type, the deployment type of the bean was declared, as defined in Section 2.5.4, "Declaring the deployment type of a bean using XML"</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>If the annotation type is a scope type, the scope of the bean was declared, as defined in Section 2.4.4, "Declaring the bean scope using XML"</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>If the annotation type is a binding type, a binding of the bean was declared, as defined in Section 2.3.4, "Declaring the bindings of a bean using XML"</text>
+ </assertion>
+
+ <assertion id="f">
+ <text>If the annotation type is an interceptor binding type, an interceptor binding of the bean was declared, as defined in Section A.3.6.2, "Binding an interceptor using XML"</text>
+ </assertion>
+
+ <assertion id="g">
+ <text>If the annotation type is a stereotype, a stereotype of the bean was declared, as defined in Section 2.7.3, "Declaring the stereotypes for a bean using XML"</text>
+ </assertion>
+
+ <assertion id="h">
+ <text>If the annotation type is javax.annotation.Name, the name of the bean was declared, as defined in Section 2.6.2, "Declaring the bean name using XML"</text>
+ </assertion>
+
+ <assertion id="i">
+ <text>If the annotation type is javax.inject.Specializes, the bean was declared to directly specialize the bean with the same bean class that was defined using annotations, as specified in Section 3.2.7, "Specializing a simple bean" and Section 3.3.7, "Specializing a session bean"</text>
+ </assertion>
+
+ <assertion id="j">
+ <text>If the annotation type is javax.inject.Realizes, the bean was declared to realize the bean with the same bean class that was defined using annotations</text>
+ </assertion>
+
+ <assertion id="k">
+ <text>If the annotation type is javax.interceptor.Interceptor, or javax.decorator.Decorator the bean is an interceptor or decorator, as defined in Section 9.7, "Interceptor and decorator declarations"</text>
+ </assertion>
+
+ <assertion id="l">
+ <text>If the annotation type is javax.annotation.Resource, javax.ejb.EJB, javax.xml.ws.WebServiceRef, javax.persistence.PersistenceContext or javax.persistence.PersistenceUnit, the metadata for a resource or JMS resource was declared, as defined in Section 3.6.1, "Declaring a resource using XML" and Section 3.7.2, "Declaring a JMS resource using XML"</text>
+ </assertion>
+
+ <assertion id="m">
+ <text>Otherwise, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+ </section>
+
+ <section id="9.5.3" title="Bean constructor declarations">
+ <assertion id="a">
+ <text>The bean constructor for a simple bean is declared by the list of direct child elements of the bean declaration that represent Java class or interface types</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>The container interprets these elements as declaring parameters of the constructor</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>Each constructor parameter declaration is interpreted as an injection point declaration, as specified in Section 9.8, "Injection point declarations"</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>If the simple bean class has exactly one constructor such that the constructor has the same number of parameters as the bean declaration has constructor parameter declarations, and the Java type represented by each constructor parameter declaration is assignable to the Java type of the corresponding constructor parameter then the element is interpreted to represent that constructor, and that constructor is the bean constructor</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>If more than one constructor exists which satisfies these conditions, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="f">
+ <text>If no constructor of the simple bean class satisfies these conditions, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="g">
+ <text>For any constructor parameter, the bean type declared in XML may be a subtype of the Java parameter type. In this case, the container will use the bean type declared in XML when resolving the dependency</text>
+ </assertion>
+ </section>
+
+ <section id="9.5.4" title="Fields of a bean">
+ <assertion id="a">
+ <text>A field of a bean is declared by a direct child element of the bean declaration. The name of the field is the same as the name of the element</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>If the bean class has exactly one field with the same name as the child element, then the child element is interpreted to represent that field</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>If the bean class does not have exactly one field with the specified name, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>If more than one child element of a bean declaration represents the same field of the bean class, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>A field declaration may contain child elements</text>
+ </assertion>
+
+ <assertion id="f">
+ <text>If a field declaration has more than one direct child element, and at least
+one of these elements is something other than a <value> element in the Java EE namespace, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="g">
+ <text>An element that represents a field may declare an injected field, a producer field or a field with an initial value</text>
+ </assertion>
+
+ <assertion id="h">
+ <text>If the element contains a child <Produces> element in the Java EE namespace, a producer field was declared, as defined in Section 3.5.3, "Declaring a producer field using XML"</text>
+ </assertion>
+
+ <assertion id="i">
+ <text>If the element contains a child <value> element in the Java EE namespace, a field with an initial value of type Set or List was declared, as defined in Section 9.5.5, "Field initial value declarations"</text>
+ </assertion>
+
+ <assertion id="j">
+ <text>If the element has exactly one child element, an injected field was declared, as defined in Section 3.8.2, "Declaring an injected field using XML"</text>
+ </assertion>
+
+ <assertion id="k">
+ <text>If the element has a non-empty body, and no child elements, a field with an initial value was declared, as defined in Section 9.5.5, "Field initial value declarations"</text>
+ </assertion>
+
+ <assertion id="l">
+ <text>Otherwise, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="m">
+ <text>If a field declaration represents an injected field, the child element is interpreted as an injection point declaration, as specified in Section 9.8, "Injection point declarations"</text>
+ </assertion>
+
+ <assertion id="n">
+ <text>If the declared type is not assignable to the Java type of the field, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="o">
+ <text>The bean type declared in XML may be a subtype of the Java field type. In this case, the container will use the bean type declared in XML when resolving the dependency</text>
+ </assertion>
+
+ </section>
+
+ <section id="9.5.5" title="Field initial value declarations">
+ <assertion id="a">
+ <text>The initial value of a field of a simple bean or session bean with any one of the following types may be specified in XML: any primitive type, or java.lang wrapper type, any enumerated type, java.lang.String, java.util.Date, java.sql.Date, java.sql.Time or java.sql.Timestamp, java.util.Calendar, java.math.BigDecimal or java.math.BigInteger, java.lang.Class, java.util.List<java.lang.String> or java.util.Set<java.lang.String>, java.util.List<java.lang.Class> or java.util.Set<java.lang.Class>, java.util.List<X> or java.util.Set<X> where X is an enumerated type</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>The initial value of the field is specified in the body of an XML element representing the field</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>The initial value of a field of primitive type or java.lang wrapper type is specified using the Java literal syntax for that type</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>The initial value of a field of type java.lang.String is specified using the string value</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>The initial value of a field of enumerated type is specified using the unqualified name of the enumeration value</text>
+ </assertion>
+
+ <assertion id="f">
+ <text>The initial value of a field of type java.util.Date, java.sql.Date, java.sql.Time, java.sql.Timestamp or java.util.Calendar is specified using a format that can be parsed by calling
+java.text.DateFormat.getDateTimeInstance().parse()</text>
+ </assertion>
+
+ <assertion id="g">
+ <text>The initial value of a field of type java.math.BigDecimal or java.math.BigInteger is specified using a format that can be parsed by the constructor that accepts a string</text>
+ </assertion>
+
+ <assertion id="h">
+ <text>The initial value of a field of type java.lang.Class is specified using the fully qualified Java class name</text>
+ </assertion>
+
+ <assertion id="i">
+ <text>The initial value of a field of type java.util.List or java.util.Set is specified by a list of <value> elements. The body of the value element is specified using the string value, fully qualified Java class name or unqualified name of the enumeration value</text>
+ </assertion>
+
+ <assertion id="j">
+ <text>If a field with an initial value specified in XML is not of one of the listed types, or if the initial value is not specified in the correct format for the type of the field, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="k">
+ <text>If an element representing a field specifies both an initial value and a type declaration, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+ </section>
+
+ <section id="9.5.6" title="Methods of a bean">
+ <assertion id="a">
+ <text>A method of a bean is declared by a direct child element of the bean declaration. The name of the declared method is the same as the name of the child element</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>A method declaration may have any number of direct child elements</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>The container inspects the direct child elements of the method declaration. For each child element, the element is interpreted as a Java type. If no such Java type exists in the classpath, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>If the type is javax.inject.Disposes, the container searches for a direct child element of the child element and interprets that element as declaring a disposed parameter of the disposal method</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>If the type is javax.event.Observes, the container searches for a direct child element of the child element that is not an <IfExists>, <Asynchronously>, <AfterTransactionCompletion>, <AfterTransactionSuccess>, <AfterTransactionFailure> or <BeforeTransactionCompletion> element in the Java EE namespace, and interprets that element as declaring an event parameter of the observer method</text>
+ </assertion>
+
+ <assertion id="f">
+ <text>If the type is some other Java annotation type, the container interprets the child element as declaring method-level metadata</text>
+ </assertion>
+
+ <assertion id="g">
+ <text>If the type is a Java class or interface, the container interprets the child element as declaring a parameter of the method</text>
+ </assertion>
+
+ <assertion id="h">
+ <text>Otherwise, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="i">
+ <text>If a method declaration has more than one direct child element which is an <Initializer>, <Produces>, <Disposes> or <Observes> element in the Java EE namespace, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="j">
+ <text>If a <Disposes> element does not contain exactly one direct child element, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="k">
+ <text>If an <Observes> element does not contain exactly one direct child element that is not an <IfExists>, <Asynchronously>, <AfterTransactionCompletion>, <AfterTransactionSuccess>, <AfterTransactionFailure> or <BeforeTransactionCompletion> element in the Java EE namespace, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="l">
+ <text>Each method parameter declaration and disposed parameter declaration is interpreted as an injection point declaration, as specified in Section 9.8, "Injection point declarations". An event parameter declaration is interpreted as a type declaration, as defined in Section 9.10, "Specifying bean types and bindings"</text>
+ </assertion>
+
+ <assertion id="m">
+ <text>If the bean class has exactly one method such that the method name is the same as the name of the element that declares the method, the method has the same number of parameters as the element that declares the method has child elements, and the Java type represented by each method parameter declaration is assignable to the Java type of the corresponding method parameter, then the element is interpreted to represent that method</text>
+ </assertion>
+
+ <assertion id="n">
+ <text>If more than one method exists which satisfies these conditions, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="o">
+ <text>If no method of the bean class satisfies these conditions, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="p">
+ <text>For any method parameter, the bean type declared in XML may be a subtype of the Java parameter type. In this case, the container will use the bean type declared in XML when resolving the dependency</text>
+ </assertion>
+
+ <assertion id="q">
+ <text>If more than one child element of a bean declaration represents the same method of the bean class, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="r">
+ <text>An element that represents a method may declare an initializer method, an observer method, a producer method or a disposal method. Alternatively, or additionally, it may declare method-level interceptor binding</text>
+ </assertion>
+
+ <assertion id="s">
+ <text>If the element contains a child <Initializes> element in the Java EE namespace, an initializer method was declared, as defined in Section 3.9.2, "Declaring an initializer method using XML"</text>
+ </assertion>
+
+ <assertion id="t">
+ <text>If the element contains a child <Produces> element in the Java EE namespace, a producer method was declared, as defined in Section 3.4.3, "Declaring a producer method using XML"</text>
+ </assertion>
+
+ <assertion id="u">
+ <text>If the element contains a child <Disposes> element in the Java EE namespace, a disposal method was declared, as defined in Section 3.4.9, "Declaring a disposal method using XML"</text>
+ </assertion>
+
+ <assertion id="v">
+ <text>If the element contains a child <Observes> element in the Java EE namespace, an observer method was declared, as defined in Section 7.5.3, "Declaring an observer method using XML"</text>
+ </assertion>
+
+ <assertion id="w">
+ <text>If the element contains a child element which can be interpreted as an interceptor binding type, method-level interceptor binding was declared, as defined in Section A.3.6.2, "Binding an interceptor using XML"</text>
+ </assertion>
+ </section>
+
+ <section id="9.6" title="Producer method and field declarations">
+ <assertion id="a">
+ <text>A producer method or field declaration is formed by adding a direct child <Produces> element to an element that represents the method or field, as defined in Section 3.4.3, "Declaring a producer method using XML" and Section 3.5.3, "Declaring a producer field using XML"</text>
+ </assertion>
+
+ </section>
+
+ <section id="9.6.1" title="Child elements of a producer field declaration">
+ <assertion id="a">
+ <text>The container inspects the direct child elements of a producer field declaration</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>If there is more than one direct child element, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="c">
+ <text>Otherwise, the direct child element is a <Produces> element in the Java EE namespace, and declares the return type, bindings and member-level metadata of the producer field</text>
+ </assertion>
+
+ <assertion id="d">
+ <text>The container inspects the direct child elements of the <Produces> element. For each child element, the element is interpreted as a Java type. If no such Java type exists in the classpath, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="e">
+ <text>If the type is a Java class or interface type, the type of the producer field was declared</text>
+ </assertion>
+
+ <assertion id="f">
+ <text>If the type is a Java annotation type, it declares member-level metadata of the producer field</text>
+ </assertion>
+
+ <assertion id="g">
+ <text>Otherwise, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+
+ <assertion id="h">
+ <text>If more than one child element represents a Java class or interface type, or if no child element represents a Java class or interface type, a DefinitionException is thrown by the container at deployment time</text>
+ </assertion>
+ </section>
+
+ <section id="9.6.2" title="Child elements of a producer method declaration">
+
+ </section>
</specification>
15 years, 10 months