You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@myfaces.apache.org by "Continuum@myfaces.zones.apache.org" <no...@myfaces.apache.org> on 2007/12/04 16:21:04 UTC

[continuum] BUILD FAILURE: MyFaces Orchestra Project

Online report : http://myfaces.zones.apache.org:8080/continuum/buildResult.action?buildId=3324&projectId=51

Build statistics:
  State: Failed
  Previous State: Ok
  Started at: Tue 4 Dec 2007 15:19:38 +0000
  Finished at: Tue 4 Dec 2007 15:20:52 +0000
  Total time: 1m 14s
  Build Trigger: Schedule
  Build Number: 11
  Exit code: 1
  Building machine hostname: myfaces.zones.apache.org
  Operating system : SunOS(unknown)
  Java Home version : 
          java version "1.5.0_13"
          Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
          Java HotSpot(TM) Server VM (build 1.5.0_13-b05, mixed mode)
        
  Builder version :
          Maven version: 2.0.7
          Java version: 1.5.0_13
          OS name: "sunos" version: "5.10" arch: "x86"
    
****************************************************************************
SCM Changes:
****************************************************************************
Changed: skitching @ Tue 4 Dec 2007 14:24:38 +0000
Comment: Add to unit tests to demonstrate a problem that occurs with orchestra-scoped beans that:
(a) implement one or more interfaces,
(b) have one or more Advices attached to them, and
(c) do not have an aop:scoped-proxy declaration
Unfortunately this combination is not rare in real applications...

Also add unit test to verify that ConversationAware interface is called the expected number of times.
Files changed:
  /myfaces/orchestra/trunk/core/src/test/java/org/apache/myfaces/orchestra/conversation/MockAdvice.java ( 600963 )
  /myfaces/orchestra/trunk/core/src/test/java/org/apache/myfaces/orchestra/conversation/MockAdvisor.java ( 600963 )
  /myfaces/orchestra/trunk/core/src/test/java/org/apache/myfaces/orchestra/conversation/SimpleBean.java ( 600963 )
  /myfaces/orchestra/trunk/core/src/test/java/org/apache/myfaces/orchestra/conversation/SimpleInterface.java ( 600963 )
  /myfaces/orchestra/trunk/core/src/test/java/org/apache/myfaces/orchestra/conversation/TestScope.java ( 600963 )
  /myfaces/orchestra/trunk/core/src/test/resources/org/apache/myfaces/orchestra/conversation/TestScope.xml ( 600963 )

****************************************************************************
Dependencies Changes:
****************************************************************************
No dependencies changed

****************************************************************************
Test Summary:
****************************************************************************
Tests: 2
Failures: 0
Total time: 10903

****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   MyFaces Orchestra Maven
[INFO]   MyFaces Orchestra Core
[INFO]   MyFaces Orchestra Core15
[INFO]   MyFaces Orchestra Sandbox
[INFO]   MyFaces Orchestra Examples Project
[INFO]   MyFaces Orchestra Project
[INFO] ----------------------------------------------------------------------------
[INFO] Building MyFaces Orchestra Maven
[INFO]    task-segment: [clean, deploy]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /local/continuum-1.1-beta-2/working-directory/51/maven/target
[INFO] Deleting directory /local/continuum-1.1-beta-2/working-directory/51/maven/target/classes
[INFO] Deleting directory /local/continuum-1.1-beta-2/working-directory/51/maven/target/test-classes
[INFO] Deleting directory /local/continuum-1.1-beta-2/working-directory/51/maven/target/site
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] inceptionYear not specified, defaulting to 2007
[INFO] [site:attach-descriptor]
[INFO] Parent project loaded from repository.
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-source}]
[INFO] [install:install]
[INFO] Installing /local/continuum-1.1-beta-2/working-directory/51/maven/pom.xml to /export/home/mrmaven/.m2/repository/org/apache/myfaces/orchestra/myfaces-orchestra-maven/1.1-SNAPSHOT/myfaces-orchestra-maven-1.1-SNAPSHOT.pom
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from apache-maven-snapshots
Uploading: scpexe://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/orchestra/myfaces-orchestra-maven/1.1-SNAPSHOT/myfaces-orchestra-maven-1.1-SNAPSHOT.pom
[INFO] Retrieving previous metadata from apache-maven-snapshots
[INFO] Uploading site descriptor for myfaces-orchestra-maven 1.1-SNAPSHOT site.xml
[INFO] Retrieving previous metadata from apache-maven-snapshots
[INFO] Uploading repository metadata for: 'snapshot org.apache.myfaces.orchestra:myfaces-orchestra-maven:1.1-SNAPSHOT'
[INFO] Retrieving previous metadata from apache-maven-snapshots
[INFO] Uploading repository metadata for: 'artifact org.apache.myfaces.orchestra:myfaces-orchestra-maven'
[INFO] ----------------------------------------------------------------------------
[INFO] Building MyFaces Orchestra Core
[INFO]    task-segment: [clean, deploy]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /local/continuum-1.1-beta-2/working-directory/51/core/target
[INFO] Deleting directory /local/continuum-1.1-beta-2/working-directory/51/core/target/classes
[INFO] Deleting directory /local/continuum-1.1-beta-2/working-directory/51/core/target/test-classes
[INFO] Deleting directory /local/continuum-1.1-beta-2/working-directory/51/core/target/site
[INFO] [dependency:unpack {execution: unpack-shared-impl-sources}]
[INFO] Configured Artifact: org.apache.myfaces.shared:myfaces-shared-orchestra:sources:2.0.7:jar
[INFO] Expanding: /export/home/mrmaven/.m2/repository/org/apache/myfaces/shared/myfaces-shared-orchestra/2.0.7/myfaces-shared-orchestra-2.0.7-sources.jar into /local/continuum-1.1-beta-2/working-directory/51/core/target/shared_sources
[INFO] [build-helper:add-source {execution: add-source}]
[INFO] Source directory: /local/continuum-1.1-beta-2/working-directory/51/core/target/shared_sources added.
[INFO] [xslt:transform {execution: default}]
[INFO] # of XML files: 1
[INFO] transform, srcFile: /local/continuum-1.1-beta-2/working-directory/51/core/src/main/tld/myfaces_orchestra.tld, destFile: /local/continuum-1.1-beta-2/working-directory/51/core/target/classes/META-INF/myfaces_orchestra.tld
[INFO] [remote-resources:process {execution: default}]
[INFO] inceptionYear not specified, defaulting to 2007
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 181 source files to /local/continuum-1.1-beta-2/working-directory/51/core/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 13 source files to /local/continuum-1.1-beta-2/working-directory/51/core/target/test-classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/local/continuum-1.1-beta-2/working-directory/51/core/src/test/java/org/apache/myfaces/orchestra/conversation/SimpleBean.java:[75,9] annotations are not supported in -source 1.4
(try -source 1.5 to enable annotations)
	@Transactional


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 11 seconds
[INFO] Finished at: Tue Dec 04 15:20:52 GMT+00:00 2007
[INFO] Final Memory: 21M/86M
[INFO] ------------------------------------------------------------------------

****************************************************************************