Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed with -Prelease #2864

Closed
2 tasks done
biyuhao opened this issue Dec 2, 2018 · 1 comment · Fixed by #2923
Closed
2 tasks done

Build failed with -Prelease #2864

biyuhao opened this issue Dec 2, 2018 · 1 comment · Fixed by #2923

Comments

@biyuhao
Copy link
Member

biyuhao commented Dec 2, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: master branch
  • Operating System version: macos
  • Java version: java11

Steps to reproduce this issue

  1. ./mvnw package -DskipTests -Pjava8-vm-args -Prelease

Expected Result

build success

Actual Result

build failed

If there is an exception, please attach the exception trace:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (attach-javadoc) on project dubbo: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2LoggerAdapter.java:23: error: package org.apache.logging.log4j does not exist
[ERROR] import org.apache.logging.log4j.LogManager;
[ERROR]                                ^
[ERROR] /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2LoggerAdapter.java:35: error: package org.apache.logging.log4j does not exist
[ERROR]     private static org.apache.logging.log4j.Level toLog4j2Level(Level level) {
[ERROR]                                            ^
[ERROR] /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2LoggerAdapter.java:57: error: package org.apache.logging.log4j does not exist
[ERROR]     private static Level fromLog4j2Level(org.apache.logging.log4j.Level level) {
[ERROR]                                                                  ^
[ERROR] /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2Logger.java:23: error: package org.apache.logging.log4j does not exist
[ERROR]     private final org.apache.logging.log4j.Logger logger;
[ERROR]                                           ^
[ERROR] /Users/xxx/Documents/incubator-dubbo/dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j2/Log4j2Logger.java:25: error: package org.apache.logging.log4j does not exist
[ERROR]     public Log4j2Logger(org.apache.logging.log4j.Logger logger) {
[ERROR]                                                 ^
[ERROR]
[ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/Users/xxx/Documents/incubator-dubbo/dubbo-all/target/apidocs' dir.
[ERROR]
[ERROR] -> [Help 1]

Solution

log4j-core was defined in dubbo-common/pom.xml as provied
change to default scope compile

@ralf0131
Copy link
Contributor

ralf0131 commented Dec 8, 2018

Hi, would you please send a pull request?

biyuhao added a commit to biyuhao/dubbo that referenced this issue Dec 8, 2018
biyuhao added a commit to biyuhao/dubbo that referenced this issue Dec 10, 2018
khanimteyaz pushed a commit to khanimteyaz/incubator-dubbo that referenced this issue Dec 17, 2018
beiwei30 pushed a commit that referenced this issue Dec 17, 2018
* added dubbo-rpc-api filter documentation for issue no #2935

* wrong @see java.io.File was added, removed this version of checkins

* Close all ports after tests finish (#2906)

* fix testCustomExecutor (#2904)

* Graceful shutdown enhancement in Spring (#2901)

* Simplify the code logic of the method AbstractClusterInvoker#reselect. (#2826)

* Simplify the code logic of the method AbstractClusterInvoker#reselect.

* Minor modification for code style.

* create AbstractRouter (#2909)

* create AbstractRouter

* router default method

* router default method

* router default method

* mockinvoker

* Added javadoc for dubbo-filter module dubbo github issue 2884 (#2921)

* Enhance unit test (#2920)

* Change Readme dubbo-sample hyperlink (#2927)

* Simply TagRouter (#2924)

* make telnet config work again (#2925)

* Remove the log to putRandomPort when one protocol use random port (#2931)

* optimize findConfigedPorts method of ServiceConfig to log only one time when userandom port

* move the log to method putRandomPort

* Fix DubboShutdownHook Memory Leak (#2922)

* Improve UT grammar and remove unnecessary braces. (#2930)

* Improve UT grammer, fix compiler warnings.

* Remove unnecessary braces.

* re-enable testCustomExecutor  (#2917)

* fix testCustomExecutor

* fix ci

* Fixing test-order dependency for FstObjectInputTest (#2815)

* re-enable testCustomExecutor (#2913)

* Resetting ExtensionLoader to remove test order dependencies in StickyTest (#2807)

* optimize the RondRobinLoadBalance and MockClusterInvoker (#2932)

delete unused logic and take the logger out.

* [Dubbo-2864] Fix build failed with -Prelease (#2923)

fixes #2864

* Fix telnet can not find method with enum type (#2803)

* [dubbo-2766] fix the bug of isMatch method of InvokeTelnetHandler (#2787)

* enhance org.apache.dubbo.rpc.protocol.dubbo.telnet.InvokeTelnetHandler#isMatch (#2941)

* enhance isMatch

* remove useless imports

* [Dubbo-2766]Fix 2766 and enhance the invoke command (#2801)

* add getter and setter for ServiceConfig's interfaceName property#2353

* add interfaceName to ignoreAttributeNames and change the unit test

* delete the demo source code and update the unit test

* unchange ServiceConfig

* update unit test

* update unit test

* fix #2798 and enhance invoke command

* Delete useless assignments (#2939)

* Replace anonymous class with method reference (#2929)

* Replace anonymous class with method reference

* Revert changes as per @beiwei30 code review

* Optimize retry for FailbackRegistry. (#2763)

* Abstract retry task

* Task for retry.

* Fix sth.

* Finish Optimize. fix ci failed.

* Optimize retry for FailbackRegistry.
The retry operation splits into specific operations, such as subscriptions and registrations. This approach allows for very precise retry control.

* Optimize retry for FailbackRegistry.
The retry operation splits into specific operations, such as subscriptions and registrations. This approach allows for very precise retry control.

* Optimize logger warn's msg.

* Optimize FailedNotifiedTask's run method.
Optimize addXXXTask, directly return if we already have a retry task.

* Optimize notify logic, just notify when the urls is not empty.

* Optimize notify logic, just notify when the urls is not empty.

* Optimize timer that use daemon thread.

* standardize semantics of all mergers,enhance mergeFactory and testcase (#2936)

* Modified to lower camel case (#2945)

* Improve several map iteration (#2938)

* added dubbo-rpc-api filter documentation for issue no #2935

* wrong @see java.io.File was added, removed this version of checkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants