+1

Based on the tag, 'mvn clean package' works with Java 8:

Maven home: C:\Java\apache-maven-3.6.0\bin\..
Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk1.8.0_191\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

but fails with Java 11:

Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3;
2018-10-24T12:41:47-06:00)
Maven home: C:\Java\apache-maven-3.6.0\bin\..
Java version: 11.0.1, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk-11.0.1
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] ootstrap class path not set in conjunction with -source 8
warning: No processor claimed any of these annotations:
org.springframework.context.annotation.Configuration,org.junit.BeforeClass,org.springframework.test.context.ContextConfiguration,org.junit.runner.RunWith,PreDestroy,org.springframework.beans.factory.annotation.Autowired,org.springframework.test.context.ActiveProfiles,org.junit.Test,org.springframework.context.annotation.Bean,org.springframework.context.annotation.ComponentScan
C:\temp\rc\logging-log4j-audit\log4j-catalog\log4j-catalog-git\src\test\java\org\apache\logging\log4j\catalog\git\config\ApplicationConfiguration.java:[19,23]
error: package javax.annotation does not exist
[ERROR]
C:\temp\rc\logging-log4j-audit\log4j-catalog\log4j-catalog-git\src\test\java\org\apache\logging\log4j\catalog\git\config\ApplicationConfiguration.java:[56,5]
error: cannot find symbol
  symbol:   class PreDestroy
  location: class ApplicationConfiguration
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Log4j Audit 1.0.1:
[INFO]
[INFO] Apache Log4j Audit ................................. SUCCESS [
2.055 s]
[INFO] Log4j Catalog Parent ............................... SUCCESS [
0.203 s]
[INFO] Log4j Catalog API .................................. SUCCESS [
5.257 s]
[INFO] Log4j Catalog Git DAO .............................. FAILURE [
3.956 s]
[INFO] Log4j Catalog JPA DAO .............................. SKIPPED
[INFO] Log4j Catalog Editor ............................... SKIPPED
[INFO] Log4j Audit ........................................ SKIPPED
[INFO] Log4j Audit API .................................... SKIPPED
[INFO] Log4j Audit Service ................................ SKIPPED
[INFO] log4j-audit-maven-plugin Maven Plugin .............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  12.857 s
[INFO] Finished at: 2018-12-10T09:29:55-07:00
[INFO]
------------------------------------------------------------------------

Also note that if I build with Java and 'mvn clean package -DskipTests' and
then test with Java 11, it fails:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.logging.log4j.audit.service.CatalogTest
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.springframework.cglib.core.ReflectUtils$1
(file:/C:/Users/ggregory/.m2/repository/org/springframework/spring-core/4.3.14.RELEASE/spring-core-4.3.14.RELEASE.jar)
to method
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of
org.springframework.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[EL Info]: 2018-12-10 09:35:00.74--ServerSession(320945958)--EclipseLink,
version: Eclipse Persistence Services - 2.7.0.v20170811-d680af5
[EL Info]: connection: 2018-12-10
09:35:00.893--ServerSession(320945958)--/file:/C:/temp/rc/logging-log4j-audit/log4j-audit/log4j-audit-war/target/test-classes/_default
login successful
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.189 sec
<<< FAILURE! - in org.apache.logging.log4j.audit.service.CatalogTest
testCatalogAPI(org.apache.logging.log4j.audit.service.CatalogTest)  Time
elapsed: 0.67 sec  <<< FAILURE!
java.lang.AssertionError: Incorrect number of attributes in list
expected:<10> but was:<0>
        at
org.apache.logging.log4j.audit.service.CatalogTest.testCatalogAPI(CatalogTest.java:95)

[EL Info]: connection: 2018-12-10
09:35:09.643--ServerSession(320945958)--/file:/C:/temp/rc/logging-log4j-audit/log4j-audit/log4j-audit-war/target/test-classes/_default
logout successful

Results :

Failed tests:
  CatalogTest.testCatalogAPI:95 Incorrect number of attributes in list
expected:<10> but was:<0>

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Log4j Audit 1.0.1:
[INFO]
[INFO] Apache Log4j Audit ................................. SUCCESS [
1.941 s]
[INFO] Log4j Catalog Parent ............................... SUCCESS [
0.090 s]
[INFO] Log4j Catalog API .................................. SUCCESS [
4.085 s]
[INFO] Log4j Catalog Git DAO .............................. SUCCESS [
42.359 s]
[INFO] Log4j Catalog JPA DAO .............................. SUCCESS [
23.902 s]
[INFO] Log4j Catalog Editor ............................... SUCCESS [
4.063 s]
[INFO] Log4j Audit ........................................ SUCCESS [
0.139 s]
[INFO] Log4j Audit API .................................... SUCCESS [
19.442 s]
[INFO] Log4j Audit Service ................................ FAILURE [
17.197 s]
[INFO] log4j-audit-maven-plugin Maven Plugin .............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  01:54 min
[INFO] Finished at: 2018-12-10T09:35:10-07:00
[INFO]
------------------------------------------------------------------------

Gary

On Sun, Dec 2, 2018 at 8:42 PM Ralph Goers <[email protected]>
wrote:

> This is a vote to release Log4j-Audit 1.0.1, the second release of the
> Log4j Audit project.
>
> Please download, test, and cast your votes on the log4j developers list.
> [] +1, release the artifacts
> [] -1, don't release because...
>
> The vote will remain open for 72 hours (or more if required). All votes
> are welcome and we encourage everyone to test the release, but only Logging
> PMC votes are “officially” counted. As always, at least 3 +1 votes and more
> positive than negative votes are required.
>
> Tag:
> a)  for a new copy do "git clone
> https://github.com/apache/logging-log4j-audit.git <
> https://git-wip-us.apache.org/repos/asf/logging-log4j-audit.git>" and
> then "git checkout tags/log4-audit-1.0.1-rc1”
> b) for an existing working copy to “git pull” and then “git checkout
> tags/log4j-audit-1.0.1-rc1”
>
> Web Site:  http://rgoers.github.io/log4j-audit/index.html <
> http://rgoers.github.io/log4j-audit/index.html>
>
> Maven Artifacts:
> https://repository.apache.org/content/repositories/orgapachelogging-1041/
>
> Distribution archives:
> https://dist.apache.org/repos/dist/dev/logging/log4j-audit/ <
> https://dist.apache.org/repos/dist/dev/logging/log4j-audit/>
>
> You may download all the Maven artifacts by executing:
> wget -e robots=off --cut-dirs=7 -nH -r -p -np --no-check-certificate
> https://repository.apache.org/content/repositories/orgapachelogging-1041/org/apache/logging/log4j/
>
> Ralph

Reply via email to