Hi all...
The changes made by rev2821 caused a compilation error, attached the log of the build and the fix for this error. If it is approved I will open a JIRA and attach the patch with it.
Thanks and best regards...
Mohammad Nour El-Din
[INFO] Scanning for projects... [INFO] Reactor build order: [INFO] OpenEJB :: Project [INFO] OpenEJB :: iTests [INFO] OpenEJB :: Container [INFO] OpenEJB :: Container :: Loader [INFO] OpenEJB :: Container :: Java EE [INFO] OpenEJB :: Container :: Core [INFO] OpenEJB :: Container :: Persistence [INFO] OpenEJB :: Server [INFO] OpenEJB :: Server :: Client [INFO] OpenEJB :: Server :: Core [INFO] OpenEJB :: Server :: EJBd [INFO] OpenEJB :: Server :: Admin [INFO] OpenEJB :: Server :: Http [INFO] OpenEJB :: Server :: Telnet [INFO] OpenEJB :: Server :: XFire [INFO] OpenEJB :: Server :: Axis [INFO] OpenEJB :: Server :: CORBA [INFO] OpenEJB :: Assembly [INFO] OpenEJB :: Assembly :: Tomcat [INFO] OpenEJB :: Assembly :: iTest Webapp [INFO] OpenEJB :: Assembly :: Standalone [INFO] ---------------------------------------------------------------------------- [INFO] Building OpenEJB :: Project [INFO] task-segment: [clean, install] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\target [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\target\classes [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\target\test-classes [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing C:\Projects\OpenSource\OpenEJB\TempFreshCopy\pom.xml to C:\Documents and Settings\mahmed\.m2\repository\org\openejb\openejb-parent\3.0-SNAPSHOT\openejb-parent-3.0-SNAPSHOT.pom [INFO] ---------------------------------------------------------------------------- [INFO] Building OpenEJB :: iTests [INFO] task-segment: [clean, install] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\openejb-itests\target [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\openejb-itests\target\classes [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\openejb-itests\target\test-classes [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] Compiling 150 source files to C:\Projects\OpenSource\OpenEJB\TempFreshCopy\openejb-itests\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: C:\Projects\OpenSource\OpenEJB\TempFreshCopy\openejb-itests\target\openejb-itests-3.0-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing C:\Projects\OpenSource\OpenEJB\TempFreshCopy\openejb-itests\target\openejb-itests-3.0-SNAPSHOT.jar to C:\Documents and Settings\mahmed\.m2\repository\org\openejb\openejb-itests\3.0-SNAPSHOT\openejb-itests-3.0-SNAPSHOT.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building OpenEJB :: Container [INFO] task-segment: [clean, install] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\target [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\target\classes [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\target\test-classes [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\pom.xml to C:\Documents and Settings\mahmed\.m2\repository\org\openejb\container\3.0-SNAPSHOT\container-3.0-SNAPSHOT.pom [INFO] ---------------------------------------------------------------------------- [INFO] Building OpenEJB :: Container :: Loader [INFO] task-segment: [clean, install] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-loader\target [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-loader\target\classes [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-loader\target\test-classes [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] Compiling 13 source files to C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-loader\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-loader\target\openejb-loader-3.0-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-loader\target\openejb-loader-3.0-SNAPSHOT.jar to C:\Documents and Settings\mahmed\.m2\repository\org\openejb\openejb-loader\3.0-SNAPSHOT\openejb-loader-3.0-SNAPSHOT.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building OpenEJB :: Container :: Java EE [INFO] task-segment: [clean, install] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-jee\target [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-jee\target\classes [INFO] Deleting directory C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-jee\target\test-classes [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] Compiling 78 source files to C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-jee\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] Compiling 1 source file to C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-jee\target\test-classes [INFO] [surefire:test] [INFO] Surefire report directory: C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-jee\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.openejb.jee.EjbJarTest
unmarshalled
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.435 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar:
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-jee\target\openejb-jee-3.0-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-jee\target\openejb-jee-3.0-SNAPSHOT.jar
to C:\Documents and
Settings\mahmed\.m2\repository\org\openejb\openejb-jee\3.0-SNAPSHOT\openejb-jee-3.0-SNAPSHOT.jar
[INFO]
----------------------------------------------------------------------------
[INFO] Building OpenEJB :: Container :: Core
[INFO] task-segment: [clean, install]
[INFO]
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\target
[INFO] Deleting directory
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\target\classes
[INFO] Deleting directory
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\target\test-classes
[INFO] [xbean:mapping {execution: default}]
[INFO] Generating META-INF properties file:
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\target\xbean\META-INF\services\org\apache\xbean\spring\http\openejb.org\schemas\core
for namespace: http://openejb.org/schemas/core
[INFO] Generating Spring 2.0 handler mapping:
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\target\xbean\META-INF\spring.handlers
for namespace: http://openejb.org/schemas/core
[INFO] Generating HTML documentation file:
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\target\xbean\openejb-core.xsd.html
for namespace: http://openejb.org/schemas/core
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.resource.spi.ManagedConnectionFactory
Warning, could not load class: javax.resource.spi.ConnectionManager
Warning, could not load class: javax.resource.spi.ManagedConnectionFactory
Warning, could not load class: javax.resource.spi.ConnectionManager
Warning, could not load class: org.openejb.Container
Warning, could not load class: org.openejb.core.DeploymentContext
Warning, could not load class:
org.openejb.alt.containers.castor_cmp11.KeyGenerator
Warning, could not load class: org.openejb.Container
Warning, could not load class: org.openejb.core.DeploymentContext
Warning, could not load class:
org.openejb.alt.containers.castor_cmp11.KeyGenerator
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.core.ivm.naming.NameNode
Warning, could not load class: org.openejb.core.ivm.naming.NameNode
Warning, could not load class: org.openejb.core.ivm.naming.NameNode
Warning, could not load class: org.openejb.assembler.classic.MethodInfo
Warning, could not load class: org.openejb.assembler.classic.MethodInfo
Warning, could not load class: org.openejb.assembler.classic.MethodInfo
Warning, could not load class:
org.openejb.assembler.classic.MethodPermissionInfo
Warning, could not load class:
org.openejb.assembler.classic.MethodPermissionInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class:
org.openejb.assembler.classic.MethodTransactionInfo
Warning, could not load class:
org.openejb.assembler.classic.MethodTransactionInfo
Warning, could not load class:
org.openejb.assembler.classic.MethodTransactionInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
[INFO] Generating XSD file:
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\target\xbean\openejb-core.xsd
for namespace: http://openejb.org/schemas/core
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.resource.spi.ManagedConnectionFactory
Warning, could not load class: javax.resource.spi.ConnectionManager
Warning, could not load class: javax.resource.spi.ManagedConnectionFactory
Warning, could not load class: javax.resource.spi.ConnectionManager
Warning, could not load class: javax.resource.spi.ManagedConnectionFactory
Warning, could not load class: javax.resource.spi.ConnectionManager
Warning, could not load class: org.openejb.Container
Warning, could not load class: org.openejb.core.DeploymentContext
Warning, could not load class:
org.openejb.alt.containers.castor_cmp11.KeyGenerator
Warning, could not load class: org.openejb.Container
Warning, could not load class: org.openejb.core.DeploymentContext
Warning, could not load class:
org.openejb.alt.containers.castor_cmp11.KeyGenerator
Warning, could not load class: org.openejb.Container
Warning, could not load class: org.openejb.core.DeploymentContext
Warning, could not load class:
org.openejb.alt.containers.castor_cmp11.KeyGenerator
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.core.ivm.naming.NameNode
Warning, could not load class: org.openejb.core.ivm.naming.NameNode
Warning, could not load class: org.openejb.core.ivm.naming.NameNode
Warning, could not load class: org.openejb.assembler.classic.MethodInfo
Warning, could not load class: org.openejb.assembler.classic.MethodInfo
Warning, could not load class: org.openejb.assembler.classic.MethodInfo
Warning, could not load class:
org.openejb.assembler.classic.MethodPermissionInfo
Warning, could not load class:
org.openejb.assembler.classic.MethodPermissionInfo
Warning, could not load class:
org.openejb.assembler.classic.MethodPermissionInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.spi.SecurityService
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: org.openejb.assembler.spring.AssemblyInfo
Warning, could not load class: org.openejb.assembler.spring.EncInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class:
org.openejb.assembler.classic.MethodTransactionInfo
Warning, could not load class:
org.openejb.assembler.classic.MethodTransactionInfo
Warning, could not load class:
org.openejb.assembler.classic.MethodTransactionInfo
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
Warning, could not load class: javax.transaction.TransactionManager
[INFO] ...done.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the
local scope.
Downloading: http://dist.codehaus.org/castor/poms/castor-1.0.pom
[WARNING] Unable to get resource from repository codehaus
(http://dist.codehaus.org)
Downloading: http://people.apache.org/repository/castor/poms/castor-1.0.pom
[WARNING] Unable to get resource from repository apache-snapshot
(http://people.apache.org/repository)
Downloading:
http://people.apache.org/~dain/repository/m2-dev/castor/castor/1.0/castor-1.0.pom
[WARNING] Unable to get resource from repository DainDevRepo
(http://people.apache.org/~dain/repository/m2-dev)
Downloading: http://repo1.maven.org/maven2/castor/castor/1.0/castor-1.0.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading: http://dist.codehaus.org/tranql/poms/tranql-1.3.pom
[WARNING] Unable to get resource from repository codehaus
(http://dist.codehaus.org)
Downloading: http://people.apache.org/repository/tranql/poms/tranql-1.3.pom
[WARNING] Unable to get resource from repository apache-snapshot
(http://people.apache.org/repository)
Downloading:
http://people.apache.org/~dain/repository/m2-dev/tranql/tranql/1.3/tranql-1.3.pom
[WARNING] Unable to get resource from repository DainDevRepo
(http://people.apache.org/~dain/repository/m2-dev)
Downloading: http://repo1.maven.org/maven2/tranql/tranql/1.3/tranql-1.3.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[WARNING] POM for 'geronimo:geronimo-kernel:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-transaction:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-webservices:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-interceptor:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-naming:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] While downloading xerces:xerces:2.4.0
This artifact has been relocated to xerces:xercesImpl:2.4.0.
[WARNING] POM for 'geronimo:geronimo-timer:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-security:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [compiler:compile]
Compiling 525 source files to
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\target\classes
[WARNING] POM for 'geronimo:geronimo-kernel:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-transaction:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-webservices:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-interceptor:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-naming:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-timer:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-security:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[copy] Copying 2 files to
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\target\classes
[INFO] Executed tasks
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'geronimo:geronimo-kernel:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-transaction:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-webservices:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-interceptor:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-naming:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-timer:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo:geronimo-security:pom:1.2-SNAPSHOT:compile' is
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [compiler:testCompile]
Compiling 14 source files to
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\target\test-classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\src\test\java\org\openejb\core\stateless\StatelessContainerTest.java:[28,24]
cannot find symbol
symbol : class DeploymentInfo
location: package org.openejb.core
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\src\test\java\org\openejb\core\stateless\StatelessContainerTest.java:[82,28]
cannot find symbol
symbol : class DeploymentInfo
location: class org.openejb.core.stateless.StatelessContainerTest
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\src\test\java\org\openejb\core\stateless\StatelessContainerTest.java:[60,24]
cannot find symbol
symbol : class DeploymentInfo
location: class org.openejb.core.stateless.StatelessContainerTest
C:\Projects\OpenSource\OpenEJB\TempFreshCopy\container\openejb-core\src\test\java\org\openejb\core\stateless\StatelessContainerTest.java:[86,24]
cannot find symbol
symbol : class DeploymentInfo
location: class org.openejb.core.stateless.StatelessContainerTest
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38 seconds
[INFO] Finished at: Thu Jul 27 17:05:18 EEST 2006
[INFO] Final Memory: 13M/48M
[INFO] ------------------------------------------------------------------------
Index: src/test/java/org/openejb/core/stateless/StatelessContainerTest.java
===================================================================
--- src/test/java/org/openejb/core/stateless/StatelessContainerTest.java
(revision 2822)
+++ src/test/java/org/openejb/core/stateless/StatelessContainerTest.java
(working copy)
@@ -25,7 +25,7 @@
import org.openejb.alt.config.ejb.EjbDeployment;
import org.openejb.assembler.classic.EjbJarBuilder;
import org.openejb.assembler.classic.EjbJarInfo;
-import org.openejb.core.DeploymentInfo;
+import org.openejb.DeploymentInfo;
import org.openejb.ri.sp.PseudoTransactionService;
import org.openejb.ri.sp.PseudoSecurityService;
import org.openejb.OpenEJBException;
Index: src/main/java/org/openejb/assembler/classic/EjbJarBuilder.java
===================================================================
--- src/main/java/org/openejb/assembler/classic/EjbJarBuilder.java
(revision 2822)
+++ src/main/java/org/openejb/assembler/classic/EjbJarBuilder.java
(working copy)
@@ -16,11 +16,12 @@
*/
package org.openejb.assembler.classic;
+import java.util.HashMap;
+
+import org.openejb.DeploymentInfo;
+import org.openejb.OpenEJBException;
import org.openejb.core.CoreDeploymentInfo;
-import org.openejb.OpenEJBException;
-import java.util.HashMap;
-
/**
* @version $Revision$ $Date$
*/
@@ -31,8 +32,8 @@
this.classLoader = classLoader;
}
- public HashMap<String, CoreDeploymentInfo> build(EjbJarInfo ejbJar) throws
OpenEJBException {
- HashMap<String,CoreDeploymentInfo> deployments = new HashMap();
+ public HashMap<String, DeploymentInfo> build(EjbJarInfo ejbJar) throws
OpenEJBException {
+ HashMap<String, DeploymentInfo> deployments = new HashMap();
EnterpriseBeanInfo[] ejbs = ejbJar.enterpriseBeans;
for (int j = 0; j < ejbs.length; j++) {
EnterpriseBeanInfo ejbInfo = ejbs[j];
Index: src/main/java/org/openejb/assembler/classic/ContainerBuilder.java
===================================================================
--- src/main/java/org/openejb/assembler/classic/ContainerBuilder.java
(revision 2822)
+++ src/main/java/org/openejb/assembler/classic/ContainerBuilder.java
(working copy)
@@ -1,9 +1,21 @@
package org.openejb.assembler.classic;
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLClassLoader;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Properties;
+
+import javax.transaction.TransactionManager;
+
import org.apache.xbean.recipe.ConstructionException;
import org.apache.xbean.recipe.ObjectRecipe;
import org.apache.xbean.recipe.StaticRecipe;
import org.openejb.Container;
+import org.openejb.DeploymentInfo;
import org.openejb.OpenEJBException;
import org.openejb.RpcContainer;
import org.openejb.core.CoreDeploymentInfo;
@@ -11,16 +23,6 @@
import org.openejb.spi.SecurityService;
import org.openejb.util.Logger;
-import javax.transaction.TransactionManager;
-import java.io.File;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Properties;
-
public class ContainerBuilder {
private static final Logger logger = Logger.getInstance("OpenEJB",
"org.openejb.util.resources");
@@ -51,7 +53,7 @@
ClassLoader classLoader = new URLClassLoader(jars,
org.openejb.OpenEJB.class.getClassLoader());
EjbJarBuilder ejbJarBuilder = new EjbJarBuilder(classLoader);
- HashMap<String,CoreDeploymentInfo> deployments = new HashMap();
+ HashMap<String,DeploymentInfo> deployments = new HashMap();
for (int i = 0; i < this.ejbJars.length; i++) {
EjbJarInfo ejbJar = this.ejbJars[i];
Index: src/main/java/org/openejb/assembler/spring/DeploymentsFactory.java
===================================================================
--- src/main/java/org/openejb/assembler/spring/DeploymentsFactory.java
(revision 2822)
+++ src/main/java/org/openejb/assembler/spring/DeploymentsFactory.java
(working copy)
@@ -16,22 +16,24 @@
*/
package org.openejb.assembler.spring;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import javax.transaction.TransactionManager;
+
+import org.openejb.DeploymentInfo;
import org.openejb.alt.config.DeployedJar;
import org.openejb.alt.config.DeploymentLoader;
import org.openejb.alt.config.EjbJarInfoBuilder;
import org.openejb.alt.config.ejb.EjbDeployment;
-import org.openejb.core.CoreDeploymentInfo;
import org.openejb.assembler.classic.EjbJarBuilder;
import org.openejb.assembler.classic.EjbJarInfo;
+import org.openejb.core.CoreDeploymentInfo;
import org.springframework.beans.factory.FactoryBean;
-import javax.transaction.TransactionManager;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.ArrayList;
-import java.util.Arrays;
-
/**
* @org.apache.xbean.XBean element="deployments"
*/
@@ -86,7 +88,7 @@
}
// Singletons don't work
- private HashMap<String, CoreDeploymentInfo> deployments;
+ private HashMap<String, DeploymentInfo> deployments;
public Object getObject() throws Exception {
if (deployments != null){
return deployments;
@@ -117,10 +119,10 @@
transferMethodTransactionInfos(infoBuilder);
transferMethodPermissionInfos(infoBuilder);
- HashMap<String, CoreDeploymentInfo> ejbs = builder.build(jarInfo);
+ HashMap<String, DeploymentInfo> ejbs = builder.build(jarInfo);
for (EjbDeployment data : jar.getOpenejbJar().getEjbDeployment()) {
- ejbs.get(data.getDeploymentId()).setContainer(new
ContainerPointer(data.getContainerId()));
+
((CoreDeploymentInfo)ejbs.get(data.getDeploymentId())).setContainer(new
ContainerPointer(data.getContainerId()));
}
deployments.putAll(ejbs);
