Re: [Geoserver-users] Building Error in Maven

2020-04-20 Thread Andrea Aime
On Mon, Apr 20, 2020 at 12:08 PM Andreas Schmitz 
wrote:

> I'm not sure if anyome has ever compiled Geoserver with Java 14
> yet. I'd suggest you try Java 8 (or at least Java 11 if you're feeling
> lucky).
>

The project build servers cover java 8 and java 11, code should be building
on those two JDKs,
on Linux (on Windows and OSX it's a bit more hit or miss, devs using those
platforms are welcomed
to contribute fixes as needed).
No other JDK is supported, we'll evaluate support for the next LTS when it
comes out (seems it will be
a while though, all current JDK versions are short lived, 6 months support
and then they die, meant
to be testing early new functionality, not for production).

Cheers
Andrea

== GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
(LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Building Error in Maven

2020-04-20 Thread Mark Prins

On 20-04-2020 13:04, Kaan . wrote:

I have changed my Java JDK version to JDK 8 but now getting this error:

[INFO] BUILD FAILURE
[INFO] 


[INFO] Total time:  7.834 s
[INFO] Finished at: 2020-04-20T14:01:03+03:00
[INFO] 

*[ERROR] Failed to execute goal on project geoserver: Could not resolve 
dependencies for project org.geoserver:geoserver:*
*pom:2.16.2: Failed to collect dependencies at 
org.geotools:gt-main:jar:22.2: Failed to read artifact descriptor for org.*
*geotools:gt-main:jar:22.2: Could not transfer artifact 
org.geotools:gt-main:pom:22.2 from/to boundless (https://repo.bou*
*ndlessgeo.com/main/ ): Transfer failed for 
https://repo.boundlessgeo.com/main/org/geotools/gt-main/22.2/gt-main-22.2.pom:*
* Unknown host repo.boundlessgeo.com  -> 


This repository was recently replaced with https://repo.osgeo.org/ , 
unforunately it is impossible to change released artifacts and even if 
it could it shouldn' t be done.


So you would need to either:

- use branch 2.16.x instead of the tagged version
- use branch release 2.17.0 instead of the tagged version
- wait for a while for 2.16.3 to be released (in the next few weeks I 
suspect) and use that

- change the parent pom.xml file in your code to include the above repo.
The relavant changes are in this PR: 
https://github.com/geoserver/geoserver/pull/4177


any of these should fix dependency resolution.

Mark



___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Building Error in Maven

2020-04-20 Thread Kaan .
>
> I have changed my Java JDK version to JDK 8 but now getting this error:
>

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time:  7.834 s
[INFO] Finished at: 2020-04-20T14:01:03+03:00
[INFO]

*[ERROR] Failed to execute goal on project geoserver: Could not resolve
dependencies for project org.geoserver:geoserver:*
*pom:2.16.2: Failed to collect dependencies at
org.geotools:gt-main:jar:22.2: Failed to read artifact descriptor for org.*
*geotools:gt-main:jar:22.2: Could not transfer artifact
org.geotools:gt-main:pom:22.2 from/to boundless (https://repo.bou
*
*ndlessgeo.com/main/ ): Transfer failed for
https://repo.boundlessgeo.com/main/org/geotools/gt-main/22.2/gt-main-22.2.pom
:*
* Unknown host repo.boundlessgeo.com  ->
[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/DependencyResolutionException


>
> Andreas Schmitz , 20 Nis 2020 Pzt, 13:02 tarihinde
> şunu yazdı:
>
>> Kaan . wrote:
>>
>> Hi,
>>
>> > My maven version details are as follows:
>> >
>> > PS C:\Windows\system32> mvn -v
>> > Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
>> > Maven home: D:\maven\apache-maven-3.6.3\bin\..
>> > Java version: 14.0.1, vendor: Oracle Corporation, runtime: C:\Program
>> > Files\Java\jdk-14.0.1
>>
>> I'm not sure if anyome has ever compiled Geoserver with Java 14
>> yet. I'd suggest you try Java 8 (or at least Java 11 if you're feeling
>> lucky).
>>
>> PS: Try to keep the discussion on the mailing list so others can
>> benefit from it.
>>
>> Best regards, Andreas
>> ___
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Building Error in Maven

2020-04-20 Thread Andreas Schmitz
Kaan . wrote:

Hi,

> My maven version details are as follows:
> 
> PS C:\Windows\system32> mvn -v
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: D:\maven\apache-maven-3.6.3\bin\..
> Java version: 14.0.1, vendor: Oracle Corporation, runtime: C:\Program
> Files\Java\jdk-14.0.1

I'm not sure if anyome has ever compiled Geoserver with Java 14
yet. I'd suggest you try Java 8 (or at least Java 11 if you're feeling
lucky).

PS: Try to keep the discussion on the mailing list so others can
benefit from it.

Best regards, Andreas


signature.asc
Description: PGP signature
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Building Error in Maven

2020-04-20 Thread Andreas Schmitz
Kaan . wrote:

Hi,

> I tried to build Geoserver 2.16.x with Maven but got this error.

what Java version are you using? Can you show the output of

mvn -v

?

Best regards, Andreas


signature.asc
Description: PGP signature
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users