[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Eclipselink Master build issue

Hi,

On 3/22/19 10:35 PM, Ravi babu Tummuru wrote:
Hi Lukas,

I changed eclipse.drop to mars and build passed that stage and I see a different issue now.

this particular change is very likely going to break the build on JDK 11...

Are you sure you JDK is either 8 or 11? Are you sure Maven is 3.6.0 and Ant is 1.10.2 or newer? Are you sure you are building from the repository head? Your fork of eclipselink repo says that master 102 commits behind master from the main repo, so this seems to be worth checking...


ÂÂÂÂ [java] [INFO] Adding repository file://scratch/rtummuru/eclipselink/foundation/org.eclipse.persistence.corba/../../buildsystem/compdeps/org.eclipse.persistence.compdeps.p2repo/target/repository
ÂÂÂÂ [java] [INFO] Resolving dependencies of MavenProject: org.eclipse.persistence:org.eclipse.persistence.corba:3.0.0-SNAPSHOT @ /scratch/rtummuru/eclipselink/foundation/org.eclipse.persistence.corba/pom.xml
ÂÂÂÂ [java] [INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64}
ÂÂÂÂ [java] [ERROR] Cannot resolve project dependencies:
ÂÂÂÂ [java] [ERROR]ÂÂ Software being installed: org.eclipse.persistence.corba 3.0.0.qualifier
ÂÂÂÂ [java] [ERROR]ÂÂ Missing requirement: org.eclipse.persistence.corba 3.0.0.qualifier requires 'java.package; javax.rmi 1.0.0' but it could not be found
ÂÂÂÂ [java] [ERROR]
ÂÂÂÂ [java] [ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.


The build on travis is passing without any issues on oracle JDK 8 and 11[1]. The nightly on hudson is quite stable as well[2]. So this clearly must be something on your environment. ... what about proxy? Does your $HOME/.m2/settings.xml ($M2_HOME/conf/settings.xml is not the best place for this[3]) contain proxy definitions for both HTTPS and HTTP? Do they have different ID there? Are they defined in this particular order or is HTTP first in the definition list (some maven plugins are sensitive to which definition comes first)?

thanks,
--lukas

[1]: https://travis-ci.org/eclipse-ee4j/eclipselink/builds
[2]: https://ci.eclipse.org/eclipselink/job/eclipselink-nightly-master/ https://www.eclipse.org/eclipselink/downloads/nightly.php
[3]: https://maven.apache.org/guides/mini/guide-proxies.html



ÂÂÂÂ [java] [ERROR] Cannot resolve dependencies of MavenProject: org.eclipse.persistence:org.eclipse.persistence.corba:3.0.0-SNAPSHOT @ /scratch/rtummuru/eclipselink/foundation/org.eclipse.persistence.corba/pom.xml: See log for details -> [Help 1]
ÂÂÂÂ [java] [ERROR]
ÂÂÂÂ [java] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
ÂÂÂÂ [java] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
ÂÂÂÂ [java] [ERROR]
ÂÂÂÂ [java] [ERROR] For more information about the errors and possible solutions, please read the following articles:
ÂÂÂÂ [java] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException


BUILD FAILED
/scratch/rtummuru/eclipselink/antbuild.xml:493: Java returned: 1

Total time: 1 minute 7 seconds

-----------------------------------------------------------------------------------

slc15sng:/scratch/rtummuru/eclipselink/buildsystem/compdeps >git diff pom.xml
diff --git a/buildsystem/compdeps/pom.xml b/buildsystem/compdeps/pom.xml
index 45f9fc3..1db3f27 100644
--- a/buildsystem/compdeps/pom.xml
+++ b/buildsystem/compdeps/pom.xml
@@ -54,7 +54,7 @@
ÂÂÂÂÂÂÂÂ <tycho.version>1.3.0</tycho.version>


 ÂÂÂÂÂÂÂÂ <!-- BUILD Properties -->
-ÂÂÂÂÂÂÂ <eclipse.drop>2018-12</eclipse.drop>
+ÂÂÂÂÂÂÂ <eclipse.drop>mars</eclipse.drop>

 ÂÂÂÂÂÂÂÂ <!-- DEPENDENCY Versions -->
<ch.qos.logback.version>1.2.3</ch.qos.logback.version>
@@ -464,4 +464,4 @@
 ÂÂÂÂÂÂÂÂÂÂÂÂ <version>${org.jgroups.version}</version>
 ÂÂÂÂÂÂÂÂ </dependency>
 ÂÂÂÂ </dependencies>
-</project>
\ No newline at end of file
+</project>
---------------------------------------------------------------------------------------------------

Thanks

Ravi

On 3/21/2019 3:03 PM, Lukas Jungmann wrote:
https://status.eclipse.org/Âsays everything works. Next things to check are bugzilla and probably cross-project-dev mailing list archive.
There was some issue related to not working mirrors earlier today but that is supposed to be fixed - and I havenât experienced it


âlukas

21. 3. 2019 vÂ22:42, Ravi babu Tummuru <ravi.babu.tummuru@xxxxxxxxxx <mailto:ravi.babu.tummuru@xxxxxxxxxx>>:

Thank u for the quick reply.

I feel there is some thing wrong with repository http://download.eclipse.org/releases/2018-12/. I tried to connect directly from eclipse native browser/update, but failed.

generate-local-compdeps:
ÂÂÂÂ [echo] Generating local 'Compile Dependency P2 Repository' using Tycho.
ÂÂÂÂ [echo] -Dclassworlds.conf=/scratch/rtummuru/apache-maven-3.5.3/bin/m2.conf
ÂÂÂÂ [echo] -Dmaven.multiModuleProjectDirectory=buildsystem/compdeps
ÂÂÂÂ [echo] -Dmaven.home=/scratch/rtummuru/apache-maven-3.5.3
ÂÂÂÂ [echo]ÂÂÂÂ clean verify
ÂÂÂÂ [java] [INFO] Scanning for projects...
ÂÂÂÂ [java] [INFO] Computing target platform for MavenProject: org.eclipse.persistence:org.eclipse.persistence.sun-misc:1.0.5-SNAPSHOT @ /scratch/rtummuru/eclipselink/buildsystem/compdeps/sun.misc/pom.xml
ÂÂÂÂ [java] [INFO] Adding repository file://scratch/rtummuru/eclipselink/buildsystem/compdeps/sun.misc/../org.eclipse.persistence.compdeps.internal/target/repository
ÂÂÂÂ [java] [INFO] Fetching p2.index from http://download.eclipse.org/releases/2018-12/
ÂÂÂÂ [java] [INFO] Fetching p2.index from http://download.eclipse.org/releases/2018-12/
ÂÂÂÂ [java] [INFO] Adding repository http://download.eclipse.org/releases/2018-12


Thanks

Ravi

On 3/21/2019 2:12 PM, Lukas Jungmann wrote:
ÂÂÂÂÂ[java] [WARNING]
ÂÂÂÂÂ[java] [WARNING] Some problems were encountered while building the effective settings
ÂÂÂÂÂ[java] [WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ... ÂÂ| the parameter in question.\n ÂÂ|\n ÂÂ| Default: true\n Â-->\n Â<i... @64:5) Â@ /scratch/rtummuru/apache-maven-3.5.3/conf/settings.xml, line 64, column 5