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

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

Hello Raphael and thanks for your answer,

I've just fetched the latest updates from the upstream repo and then tried to 
execute mvn clean package -DskipTests in the source folder as you suggested, 
but got these errors:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) 
on project james-server-util: Fatal error compiling: invalid flag: --release -> 
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :james-server-util

 

You can find the full output here: [https://pastebin.com/4LwPvPFb]

What should I do?

> 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: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to