Does it have a dependency on log4j-core:test? It should. Could be a bug in your beta version of Maven ;)
On 7 April 2017 at 14:46, Gary Gregory <garydgreg...@gmail.com> wrote: > Hi All: > > I'm seeing this in master: > > [INFO] --- maven-bundle-plugin:3.2.0:manifest (default) @ log4j-1.2-api > --- > [INFO] > [INFO] --- maven-resources-plugin:3.0.1:testResources > (default-testResources) @ log4j-1.2-api --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 71 resources > [INFO] Copying 3 resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) > @ log4j-1.2-api --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 20 source files to C:\vcs\git\apache\logging\ > logging-log4j2\log4j-1.2-api\target\test-classes > [INFO] ------------------------------------------------------------- > [WARN] COMPILATION WARNING : > [INFO] ------------------------------------------------------------- > [WARN] C:\vcs\git\apache\logging\logging-log4j2\log4j-1.2-api\ > src\test\java\org\apache\log4j\layout\Log4j1XmlLayoutTest.java:[66,16] > [deprecation] setContextMap(Map<String,String>) in Builder has been > deprecated > [WARN] C:\vcs\git\apache\logging\logging-log4j2\log4j-1.2-api\ > src\test\java\org\apache\log4j\pattern\Log4j1MdcPatternConverterTest.java:[70,16] > [deprecation] setContextMap(Map<String,String>) in Builder has been > deprecated > [INFO] 2 warnings > [INFO] ------------------------------------------------------------- > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] warning: No processor claimed any of these annotations: > org.junit.AfterClass,org.junit.Before,org.junit.runners.Parameterized. > Parameters,org.junit.Rule,org.junit.ClassRule,org.junit. > After,org.junit.runner.RunWith,org.junit.BeforeClass,org.junit.Test > C:\vcs\git\apache\logging\logging-log4j2\log4j-1.2-api\ > src\test\java\org\apache\log4j\LogWithMDCTest.java:[19,37] error: cannot > find symbol > symbol: class LoggerContextRule > location: package org.apache.logging.log4j.junit > [ERROR] C:\vcs\git\apache\logging\logging-log4j2\log4j-1.2-api\ > src\test\java\org\apache\log4j\LogWithMDCTest.java:[20,45] error: package > org.apache.logging.log4j.test.appender does not exist > [ERROR] C:\vcs\git\apache\logging\logging-log4j2\log4j-1.2-api\ > src\test\java\org\apache\log4j\LogWithMDCTest.java:[36,24] error: cannot > find symbol > symbol: class LoggerContextRule > location: class LogWithMDCTest > > Any thoughts? > > Gary > > -- > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > Java Persistence with Hibernate, Second Edition > <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8> > > <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459> > JUnit in Action, Second Edition > <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22> > > <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021> > Spring Batch in Action > <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> > <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951> > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory > -- Matt Sicker <boa...@gmail.com>