Issue Type: Bug Bug
Affects Versions: 1.1
Assignee: Tom Cunningham
Components: build
Created: 11/Sep/13 12:21 PM
Description:

Something has changed between maven 3.0.4 and 3.1.0 so that components doesn't build. Looking at mvn dependency:tree for components/resteasy, it looks like log4j:log4j is only pulled in as a test dependency, but somehow on maven 3.0.4, it builds anyway. On maven 3.1.0, the build fails, unable to find the org.apache.log4j package or the Logger class (see below).

[INFO] Compiling 34 source files to /Users/tcunning/src/switchyard/pullrequest/components/resteasy/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/composer/RESTEasyMessageComposer.java:[18,23] package org.apache.log4j does not exist
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/composer/RESTEasyMessageComposer.java:[33,25] cannot find symbol
symbol : class Logger
location: class org.switchyard.component.resteasy.composer.RESTEasyMessageComposer
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/InboundHandler.java:[21,23] package org.apache.log4j does not exist
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/InboundHandler.java:[47,25] cannot find symbol
symbol : class Logger
location: class org.switchyard.component.resteasy.InboundHandler
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/OutboundHandler.java:[48,25] cannot find symbol
symbol : class Logger
location: class org.switchyard.component.resteasy.OutboundHandler
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/resource/StandaloneResourcePublisher.java:[47,25] cannot find symbol
symbol : class Logger
location: class org.switchyard.component.resteasy.resource.StandaloneResourcePublisher
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/resource/NettyResourcePublisher.java:[28,25] cannot find symbol
symbol : class Logger
location: class org.switchyard.component.resteasy.resource.NettyResourcePublisher
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/util/RESTEasyProxy.java:[38,25] cannot find symbol
symbol : class Logger
location: class org.switchyard.component.resteasy.util.RESTEasyProxy
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/util/ClassUtil.java:[31,25] cannot find symbol
symbol : class Logger
location: class org.switchyard.component.resteasy.util.ClassUtil
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/util/ClientInvoker.java:[87,25] cannot find symbol
symbol : class Logger
location: class org.switchyard.component.resteasy.util.ClientInvoker
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/composer/RESTEasyMessageComposer.java:[33,41] cannot find symbol
symbol : variable Logger
location: class org.switchyard.component.resteasy.composer.RESTEasyMessageComposer
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/InboundHandler.java:[47,41] cannot find symbol
symbol : variable Logger
location: class org.switchyard.component.resteasy.InboundHandler
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/OutboundHandler.java:[48,41] cannot find symbol
symbol : variable Logger
location: class org.switchyard.component.resteasy.OutboundHandler
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/resource/StandaloneResourcePublisher.java:[47,41] cannot find symbol
symbol : variable Logger
location: class org.switchyard.component.resteasy.resource.StandaloneResourcePublisher
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/resource/NettyResourcePublisher.java:[28,41] cannot find symbol
symbol : variable Logger
location: class org.switchyard.component.resteasy.resource.NettyResourcePublisher
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/util/RESTEasyProxy.java:[38,41] cannot find symbol
symbol : variable Logger
location: class org.switchyard.component.resteasy.util.RESTEasyProxy
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/util/ClassUtil.java:[31,41] cannot find symbol
symbol : variable Logger
location: class org.switchyard.component.resteasy.util.ClassUtil
[ERROR] /Users/tcunning/src/switchyard/pullrequest/components/resteasy/src/main/java/org/switchyard/component/resteasy/util/ClientInvoker.java:[87,41] cannot find symbol
symbol : variable Logger
location: class org.switchyard.component.resteasy.util.ClientInvoker
[INFO] 18 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] SwitchYard: Components ............................ SUCCESS [0.460s]
[INFO] SwitchYard: Common Component Libraries Parent ..... SUCCESS [0.011s]
[INFO] SwitchYard: Common Component Library .............. SUCCESS [13.943s]
[INFO] SwitchYard: Component Test Parent ................. SUCCESS [0.009s]
[INFO] SwitchYard: Naming Test MixIn ..................... SUCCESS [1.257s]
[INFO] SwitchYard: CDI Test MixIn ........................ SUCCESS [3.291s]
[INFO] SwitchYard: Bean Component ........................ SUCCESS [54.537s]
[INFO] SwitchYard: Camel Component Common Library ........ SUCCESS [38.906s]
[INFO] SwitchYard: Knowledge Common Component Library .... SUCCESS [25.202s]
[INFO] SwitchYard: AMQP MixIn ............................ SUCCESS [9.043s]
[INFO] SwitchYard: ActiveMQ Test MixIn ................... SUCCESS [10.141s]
[INFO] SwitchYard: HornetQ Test MixIn .................... SUCCESS [5.726s]
[INFO] SwitchYard: HTTP Test MixIn ....................... SUCCESS [1.096s]
[INFO] SwitchYard: JCA Test MixIn ........................ SUCCESS [2.521s]
[INFO] SwitchYard: Smooks Test MixIn ..................... SUCCESS [0.784s]
[INFO] SwitchYard: SCA Component ......................... SUCCESS [3.311s]
[INFO] SwitchYard: Rules Component ....................... SUCCESS [23.067s]
[INFO] SwitchYard: BPM Component ......................... SUCCESS [15.404s]
[INFO] SwitchYard: RESTEasy Component .................... FAILURE [0.342s]

Project: SwitchYard
Priority: Major Major
Reporter: Tom Cunningham
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira