[ 
https://issues.apache.org/jira/browse/JENA-1980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215488#comment-17215488
 ] 

Andy Seaborne commented on JENA-1980:
-------------------------------------

If you use jena, you don't need to build it - you can use the dependencies from 
Maven central.

The fact you can't get the plugins suggests a maven environment issue.

Which way did you get the sources?

Running "mvn clean install" in the top level directory from the command (you 
only need to run it once in the top level directory) - this is how the release 
build i run. It should build artifact "jena-shaded-guava"  - is that in your 
local maven repo?

org.apache.jena.ext.com.google.common.cache is used earlier in the build 
sequence (in jena-arq) so not finding it is strange.

Or are you running the build in IntelliJ? If so - does it build all the 
precursor modules? (although I would have expected it to download these from 
maven central but I don't use IntelliJ myself.

> Error with CacheGuava when compiling source
> -------------------------------------------
>
>                 Key: JENA-1980
>                 URL: https://issues.apache.org/jira/browse/JENA-1980
>             Project: Apache Jena
>          Issue Type: Question
>          Components: Base
>    Affects Versions: Jena 3.16.0
>         Environment: IntelliJ 2020.2 on Windows.
>            Reporter: Martin Pekár
>            Priority: Critical
>              Labels: build
>             Fix For: Jena 3.16.0
>
>
> When running the tests, or compiling the source, an error is returned 
> indicating that package org.apache.jena.ext.com.google.common.cache does not 
> exists. Furthermore, the last 4 plugins in the pom.xml file are not found by 
> Maven. These are the following:
>  
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-checkstyle-plugin</artifactId>
> <version>2.17</version>
>  
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-jxr-plugin</artifactId>
> <version>2.5</version>
>  
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-pmd-plugin</artifactId>
> <version>3.8</version>
>  
> <groupId>com.github.spotbugs</groupId>
> <artifactId>spotbugs-maven-plugin</artifactId>
> <version>3.1.1</version>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to