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

Giacomo Tommaso Petrucci commented on JAMES-3036:
-------------------------------------------------

You were right, I was using Java 8. But after setting Java 11 as the default 
Java environment, running mvn clean package -DskipTests in the source folder I 
get the following error:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (default) on 
project james-project: Execution default of goal 
org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check failed: Plugin 
org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0 or one of its 
dependencies could not be resolved: Failed to collect dependencies at 
org.apache.maven.plugins:maven-checkstyle-plugin:jar:3.1.0 -> 
javax.xml.bind:jaxb-api:jar:2.3.0: Failed to read artifact descriptor for 
javax.xml.bind:jaxb-api:jar:2.3.0: Could not transfer artifact 
javax.xml.bind:jaxb-api:pom:2.3.0 from/to central 
(https://repo.maven.apache.org/maven2): Transfer failed for 
https://repo.maven.apache.org/maven2/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.pom:
 Unknown host repo.maven.apache.org: Errore temporaneo nella risoluzione del 
nome -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
[http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException]

You can find the full output at [https://pastebin.com/hGyev4BN]

What could I do next?

> Maven fails to resolve one dependecy and six plugins
> ----------------------------------------------------
>
>                 Key: JAMES-3036
>                 URL: https://issues.apache.org/jira/browse/JAMES-3036
>             Project: James Server
>          Issue Type: Bug
>          Components: Build System
>         Environment: Arch Linux, Intallij IDEA Community Edition 2019.3.2, 
> Apache Maven 3.6.3 (NON-CANONICAL_2019-11-27T20:26:29Z_root) (or at least 
> this is the version installed on my system, I don't know if intellij is using 
> this one or some other builtin version).
>            Reporter: Giacomo Tommaso Petrucci
>            Priority: Minor
>              Labels: build
>
> I've just forked and cloned the latest version of the GitHub repo (commit 
> [88d646f|https://github.com/apache/james-project/commit/88d646fda76563540239c562288d54b4fe562378]),
>  after importing the project inside Intellij Community Edition and waiting 
> for maven fetching dependencies I get the following errors:
> Resolve dependencies
> Cannot resolve com.sun:tools:1.8.0
>  
> Resolve plugins
> Cannot resolve plugin org.apache.james:mailetdocs-maven-plugin:3.5.0-SNAPSHOT
> Cannot resolve plugin org.apache.james:mailetdocs-maven-plugin:3.5.0-SNAPSHOT
> Cannot resolve plugin org.apache.james:mailetdocs-maven-plugin:3.5.0-SNAPSHOT
> Cannot resolve plugin org.apache.james:mailetdocs-maven-plugin:3.5.0-SNAPSHOT
> Cannot resolve plugin org.apache.james:mailetdocs-maven-plugin:3.5.0-SNAPSHOT
> Cannot resolve plugin org.apache.james:mailetdocs-maven-plugin:3.5.0-SNAPSHOT
>  
> Is this an actual problem or am I missing something?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to