[
https://issues.apache.org/jira/browse/JAMES-3181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108161#comment-17108161
]
Benoit Tellier commented on JAMES-3181:
---------------------------------------
> I'm not sure how to get the SHA-1. I cloned from git. Is there something I
> should do to get you the information you are asking for?
git log should be helpful.
If you give me the exact SHA-1 I can try to build it too.
> mvn package
Can you add the 'clean' goal, to ensure possible corrupted data get's replaced?
> I tried your suggestion:
> export MAVEN_OPTS="-Xmx3000m"
> mvn clean package -T 4 -DskipTests -Dmaven.javadoc.skip=true
That's good news!
Try:
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
Threading 4 puts pressure on memory, the limit might need to be raised, but you
don't care yet about the build to be fast, just for it to be correct. I suggest
you don't specify the "-T 4" option.
(Sorry I should have had refining my command line a bit more before proposing
it to you.)
> James does not compile
> ----------------------
>
> Key: JAMES-3181
> URL: https://issues.apache.org/jira/browse/JAMES-3181
> Project: James Server
> Issue Type: Bug
> Components: Build System
> Affects Versions: master
> Reporter: David Leangen
> Priority: Major
>
> Compilation breaks when attempting to build James.
> Java version:
>
> {noformat}
> openjdk version "11.0.7" 2020-04-14
> OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+10)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode)
> {noformat}
>
> On MacOS.
> Breaks here:
> {noformat}
> [INFO] Apache James :: Core Domain Objects ................ FAILURE [ 9.755
> s]{noformat}
> Broken test example:
> {noformat}
> -------------------------------------------------------------------------------
> Test set: org.apache.james.core.builder.MimeMessageBuilderTest
> -------------------------------------------------------------------------------
> Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.091 s <<<
> FAILURE! - in org.apache.james.core.builder.MimeMessageBuilderTest
> embeddedMessagesShouldBeSupported Time elapsed: 0.028 s <<< ERROR!
> java.lang.Error:
> Unresolved compilation problems:
> The method toArray(T[]) in the type
> ImmutableCollection<InternetAddress> is not applicable for the arguments
> (InternetAddress[]::new)
> The target type of this expression must be a functional interface
> The method toArray(T[]) in the type List<InternetAddress> is not
> applicable for the arguments (InternetAddress[]::new)
> The target type of this expression must be a functional interface
> The method toArray(T[]) in the type List<InternetAddress> is not
> applicable for the arguments (InternetAddress[]::new)
> The target type of this expression must be a functional interface
> The method toArray(T[]) in the type List<InternetAddress> is not
> applicable for the arguments (InternetAddress[]::new)
> The target type of this expression must be a functional interface
> at
> org.apache.james.core.builder.MimeMessageBuilderTest.embeddedMessagesShouldBeSupported(MimeMessageBuilderTest.java:70)buildShouldAllowToSpecifyMultipartSubtype
> Time elapsed: 0.057 s <<< ERROR!
> java.lang.Error:
> Unresolved compilation problems:
> The method toArray(T[]) in the type
> ImmutableCollection<InternetAddress> is not applicable for the arguments
> (InternetAddress[]::new)
> The target type of this expression must be a functional interface
> The method toArray(T[]) in the type List<InternetAddress> is not
> applicable for the arguments (InternetAddress[]::new)
> The target type of this expression must be a functional interface
> The method toArray(T[]) in the type List<InternetAddress> is not
> applicable for the arguments (InternetAddress[]::new)
> The target type of this expression must be a functional interface
> The method toArray(T[]) in the type List<InternetAddress> is not
> applicable for the arguments (InternetAddress[]::new)
> The target type of this expression must be a functional interface
> at
> org.apache.james.core.builder.MimeMessageBuilderTest.buildShouldAllowToSpecifyMultipartSubtype(MimeMessageBuilderTest.java:90)
> {noformat}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]