maoling opened a new pull request #1803:
URL: https://github.com/apache/zookeeper/pull/1803
- when I `mvn clean package -DskipTests` to build the `branch-3.5`, then I
git checkout to `master` branch, and build master branch, I got the following:
```
[ERROR] Failed to execute goal
> >
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile
> > (default-compile) on project zookeeper: Fatal error
compiling:
> > java.lang.NullPointerException -> [Help 1]
```
- From this
[email](https://www.mail-archive.com/[email protected]/msg09639.html),
we have a workaround: `git clean -xdf`. The root cause is the
file(`zookeeper-server/src/main/java/org/apache/zookeeper/version/Info.java`)
generated in branch-3.5 and affected the compile in the master.
- This issue is poisonous and not easy to debug
- I backport to
[ZOOKEEPER-3423](https://github.com/apache/zookeeper/pull/980) to fix this. Now
branch-3.6 and branch-3.5 used the same way to generate version files, master
and branch-3.7 uses another new approach.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]