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

mvn site fails because of some problem with DiffOperation #777

Open
matentzn opened this issue Nov 25, 2020 · 10 comments
Open

mvn site fails because of some problem with DiffOperation #777

matentzn opened this issue Nov 25, 2020 · 10 comments

Comments

@matentzn
Copy link
Contributor

When running mvn site, I get this error:

image

It must have been around for a while, but it would be good to solve it at some point if we want to test stuff locally.. @beckyjackson and I share the problem. @jamesaoverton does not. Notably, I am using Java 14, Becky Java 8 and James Java 8 as well.. Maybe some kind of missing deep dependency?

@balhoff not urgent, but if you could take a look after the holidays, that would be great!

@jamesaoverton
Copy link
Member

I was able to reproduce this problem using Docker and the official Maven image: https://hub.docker.com/_/maven/

@matentzn matentzn mentioned this issue Nov 26, 2020
5 tasks
@jamesaoverton
Copy link
Member

I was able to fix this by updating the maven-javadoc-plugin to the latest 3.2.0 and using excludePackageNames.

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.2.0</version>
        <configuration>
          <links>
            <link>https://commons.apache.org/proper/commons-cli/javadocs/api-1.2/</link>
            <link>http://owlcs.github.io/owlapi/apidocs_4/</link>
          </links>
          <excludePackageNames>org.geneontology.*</excludePackageNames>
        </configuration>
      </plugin>

I guess it would be better if it was fixed upstream. What do you think @balhoff?

@balhoff
Copy link
Contributor

balhoff commented Jan 19, 2021

@jamesaoverton thanks for adding that! Right now I'm not sure what else to do. These packages do exist. 😕

@balhoff
Copy link
Contributor

balhoff commented Jan 27, 2021

What version of Maven is everyone using? I'm using 3.5.2 on my machine, and I don't encounter this problem.

@beckyjackson
Copy link
Contributor

I'm on 3.6.3 @balhoff

@jamesaoverton
Copy link
Member

I'm using Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) and I don't see the problem. But I was able to reproduce in Docker latest back in November.

@balhoff
Copy link
Contributor

balhoff commented Jan 27, 2021

Maybe the varying factor is Java version? I don't have the problem with Java 8, but just tested Java 13 and I do see the problem. @matentzn is using this environment:

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 14.0.1, vendor: N/A, runtime: /usr/local/Cellar/openjdk/14.0.1/libexec/openjdk.jdk/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"

@jamesaoverton
Copy link
Member

Yes, I think it's something to do with the Java version. But I'm hoping that the fix is as simple as updating all our Maven plugins #798.

@beckyjackson
Copy link
Contributor

Here's my full environment too:

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 13.0.2, vendor: N/A, runtime: /usr/local/Cellar/openjdk/13.0.2+8_2/libexec/openjdk.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"

@beckyjackson
Copy link
Contributor

I'm now able to run mvn site after updating everything in #837. Maybe this was caused by some dependency issue.

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

No branches or pull requests

4 participants