Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-dev] Fwd: Re: uDig 1.5.x maven issue

At the moment it looks like all clients who are still using java 6 cannot build against boundless https maven repository anymore.

Is there a chance to disable https because of this? Are there other reasons (e.g. deployment) to have the repo enabled. Is it possible to configure http for any read-only access while it is required to use https for distribution (deploy)?

Tom, could you please comment and verity our foundings? It would be great if we can get a solution for projects which use older geotools/geoscript/etc. dependencies and build with java 6

Thanks
-- Frank



Frank, you undestand correctly. Combination JDK6 and BoundlessGeo repository(TLS1.2 and https) won't work together.

Corrupted files is a result of https. They contains 302 response from repository.
After those fails you should drop the whole Maven repository or delete corrupted dependencies one-by-one.

We actually now trying to move to Java8 or at least to Java7, so maybe there even no need in trying to adopt uDig 1.5.x to work with Java6.

After successfull libraries downloading and adding MAVEN_OPTS with extended memory I heve following error:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:30.622s
[INFO] Finished at: Thu Nov 26 17:02:09 EET 2015
[INFO] Final Memory: 254M/494M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:
run (package) on project udig-docs: An Ant BuildException has occured: D:\git\ud
ig-platform\docs\target\user\en\simple not found. -> [Help 1]

This happens on 'uDig Documentation' step. Do you know why is that happening?

Thanks.

Frank, you undestand correctly. Combination JDK6 and BoundlessGeo repository(TLS1.2 and https) won't work together.

Corrupted files is a result of https. They contains 302 response from repository.
After those fails you should drop the whole Maven repository or delete corrupted dependencies one-by-one.

We actually now trying to move to Java8 or at least to Java7, so maybe there even no need in trying to adopt uDig 1.5.x to work with Java6.

After successfull libraries downloading and adding MAVEN_OPTS with extended memory I heve following error:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:30.622s
[INFO] Finished at: Thu Nov 26 17:02:09 EET 2015
[INFO] Final Memory: 254M/494M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:
run (package) on project udig-docs: An Ant BuildException has occured: D:\git\ud
ig-platform\docs\target\user\en\simple not found. -> [Help 1]

This happens on 'uDig Documentation' step. Do you know why is that happening?

Thanks.

2015-11-26 16:05 GMT+01:00 Frank Gasdorf <fgdrf@xxxxxxxxxxxxxxxxxxxxx>:

Ivan, hopefully I got your point correctly. Because boundless repository is only accessible via https every java client needs to add certivicate to java home.
Because of TLS 1.2 you can't use jdk 1.6 or before in combination with boundless https maven repository?

If I build from scratch downloaded 3rd party artefacts are corrupt and not valid zip archives. It's this a result because of https?

Thanks a lot for your findings, I will wait for your response and after that we should share this to boundless...
I've no clue how many companies build with java 6 and prior and need content of this repository

- Frank

Am 26.11.2015 15:27 schrieb "Іван В" <ivanvydai@xxxxxxxxx>:
Hi Frank,

Issue with libraries downloading was solved by adding boundlessgeo repository certificate to cacerts file from %JAVA_HOME% JDK.
Java 1.6 can't be used with boundlessgeo repository due to it uses TLS 1.2 that appeared only in Java7.

As you understand you can't use Java 1.6 untill repository with TLS 1.2 is used.

Best regards, Ivan.

2015-11-24 16:38 GMT+01:00 Frank Gasdorf <fgdrf@xxxxxxxxxxxxxxxxxxxxx>:
Ivan, I've filed an issue for this : https://locationtech.org/bugs/show_bug.cgi?id=71

2015-11-24 16:01 GMT+01:00 Frank Gasdorf <fgdrf@xxxxxxxxxxxxxxxxxxxxx>:
Ivan,

I'm wondering because the reference build for 1.5.x seems fine : https://hudson.locationtech.org/udig/job/uDig-1.5.x/35/console

I see you're using Java 1.6 (which should be fine because the minimum RequiredExecutionEnvironment is 1.6, see "Bundle-RequiredExecutionEnvironment: JavaSE-1.6") while the build has 1.7 defined.

Could you please move discussion to the mailing-list, maybe others have similiar issues and everybody can contribute solutions.

ML : https://www.locationtech.org/mailman/listinfo/udig-dev

Thanks for reporting

Frank



2015-11-24 15:51 GMT+01:00 Іван В <ivanvydai@xxxxxxxxx>:
Hello Frank,

I'm trying to compile project from GitHub using Maven 3.0.4 and Java 1.6.0_45 on Windows 7 x64.

This command completes successfully:
mvn clean install -f pom-libs.xml

Following error appears on
mvn clean install -Pproduct -Psdk -Pdocs
command run:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.22.0:p
ackage-plugin (default-package-plugin) on project org.locationtech.udig.libs: D:
\git\udig-platform\plugins\org.locationtech.udig.libs\build.properties: bin.incl
udes value(s) [lib/geocss_2.10-0.8.3.jar, lib/groovy-all-2.1.9.jar, lib/jt-jiffl
eop-0.2.0.jar, lib/scala-library-2.10.0.jar] do not match any files. -> [Help 1]

After removing those required libraries from build.properties I have 160 errors in org.locationtech.udig.core plugin about some GeoTools and Logger classes cannot be resolved.

Do you have expirience with such issues?

Best regards, Ivan.
--
З повагою Іван Видай
моб: +38 (Обб) 9бBЧ52Ч
ICQ: 32 05 666 20
Skype: d3m0n1c_ua





--
З повагою Іван Видай
моб: +38 (Обб) 9бBЧ52Ч
ICQ: 32 05 666 20
Skype: d3m0n1c_ua



--
З повагою Іван Видай
моб: +38 (Обб) 9бBЧ52Ч
ICQ: 32 05 666 20
Skype: d3m0n1c_ua

Back to the top