[Geoserver-users] Failed to build Geoserver 2.5.x

Thanks Andrea.

The error was resolved with your recommendations. But now I have another problem. The Codehaus repository is closed and the extension gs -charts tries to connect to it. I removed that repository from pom file located in the root of Geoserver,however the error persists . The mistake that sends me now is:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project’s POM).

Project ID: org.geotools:gt-charts

Reason: Error getting POM for ‘org.geotools:gt-charts’ from the repository: Unable to read local copy of metadata: Cannot read metadata from ‘/home/javalos/.m2/repository/org/geotools/gt-charts/11-SNAPSHOT/maven-metadata-codehaus.xml’: only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T… @1:1)
org.geotools:gt-charts:pom:11-SNAPSHOT

for project org.geotools:gt-charts

Thanks for everything

···

2015-08-24 2:28 GMT-05:00 Andrea Aime <andrea.aime@anonymised.com>:

On Mon, Aug 24, 2015 at 9:22 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

I’ve fixed them, now you can build GeoServer by:

  • Checking out GeoTools 12.x and build it locally, to get fresh jars from it
  • Build GeoServer with -nsu, to make sure Maven does not try to get GeoTools jars from the maven repositories

Hum nope, never mind… GeoServer still does not build.
Hmm… ah, GeoServer 2.5.x depends on GeoTools 11.x, not 12.x :slight_smile:
So, you’ll need a local build of that one

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

Hi Javier,
try removing the whole /home/javalos/.m2/repository/org/geotools/gt-charts directory and try again

Cheers
Andrea

···

On Mon, Aug 24, 2015 at 5:57 PM, Javier Avalos <javalos@anonymised.com> wrote:

Thanks Andrea.

The error was resolved with your recommendations. But now I have another problem. The Codehaus repository is closed and the extension gs -charts tries to connect to it. I removed that repository from pom file located in the root of Geoserver,however the error persists . The mistake that sends me now is:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project’s POM).

Project ID: org.geotools:gt-charts

Reason: Error getting POM for ‘org.geotools:gt-charts’ from the repository: Unable to read local copy of metadata: Cannot read metadata from ‘/home/javalos/.m2/repository/org/geotools/gt-charts/11-SNAPSHOT/maven-metadata-codehaus.xml’: only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T… @1:1)
org.geotools:gt-charts:pom:11-SNAPSHOT

for project org.geotools:gt-charts

Thanks for everything

2015-08-24 2:28 GMT-05:00 Andrea Aime <andrea.aime@anonymised.com>:

Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

On Mon, Aug 24, 2015 at 9:22 AM, Andrea Aime <andrea.aime@anonymised.com.> wrote:

I’ve fixed them, now you can build GeoServer by:

  • Checking out GeoTools 12.x and build it locally, to get fresh jars from it
  • Build GeoServer with -nsu, to make sure Maven does not try to get GeoTools jars from the maven repositories

Hum nope, never mind… GeoServer still does not build.
Hmm… ah, GeoServer 2.5.x depends on GeoTools 11.x, not 12.x :slight_smile:
So, you’ll need a local build of that one

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


==
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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi Andrea.

I removed the specified folder , but the error persists .

Thanks.

···

2015-08-24 11:00 GMT-05:00 Andrea Aime <andrea.aime@anonymised.com>:

Hi Javier,
try removing the whole /home/javalos/.m2/repository/org/geotools/gt-charts directory and try again

Cheers

Andrea

On Mon, Aug 24, 2015 at 5:57 PM, Javier Avalos <javalos@anonymised.com> wrote:

Thanks Andrea.

The error was resolved with your recommendations. But now I have another problem. The Codehaus repository is closed and the extension gs -charts tries to connect to it. I removed that repository from pom file located in the root of Geoserver,however the error persists . The mistake that sends me now is:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project’s POM).

Project ID: org.geotools:gt-charts

Reason: Error getting POM for ‘org.geotools:gt-charts’ from the repository: Unable to read local copy of metadata: Cannot read metadata from ‘/home/javalos/.m2/repository/org/geotools/gt-charts/11-SNAPSHOT/maven-metadata-codehaus.xml’: only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T… @1:1)
org.geotools:gt-charts:pom:11-SNAPSHOT

for project org.geotools:gt-charts

Thanks for everything

==
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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


2015-08-24 2:28 GMT-05:00 Andrea Aime <andrea.aime@anonymised.com7…>:

Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

On Mon, Aug 24, 2015 at 9:22 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

I’ve fixed them, now you can build GeoServer by:

  • Checking out GeoTools 12.x and build it locally, to get fresh jars from it
  • Build GeoServer with -nsu, to make sure Maven does not try to get GeoTools jars from the maven repositories

Hum nope, never mind… GeoServer still does not build.
Hmm… ah, GeoServer 2.5.x depends on GeoTools 11.x, not 12.x :slight_smile:
So, you’ll need a local build of that one

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com…

On Mon, Aug 24, 2015 at 6:57 PM, Javier Avalos <javalos@anonymised.com

wrote:

Hi Andrea.

I removed the specified folder , but the error persists .

Hmm... don't have a good idea off the top of my head unfortunately...
anyone else?

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

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

Hello everyone .
These are the steps I follow :

delete the folder:

rm -r ~/.m2/repository/org/geotools/gt-charts

built geotools 11.x:

mvn clean install -DskipTests

And built Geoserver 5.x:

~/Desarrollos/Geoserver/geoserver/src$ ~/aplicaciones/apache-maven-2.2.1/bin/mvn -npu -DskipTests -Drelease -DconfigId=release -DconfigDirectory=…/…/…/data -P wps,printing,csw,importer,jdbcconfig,monitor clean install

Are the right steps Andrea?

Thanks.

···

2015-08-24 12:00 GMT-05:00 Andrea Aime <andrea.aime@anonymised.com>:

On Mon, Aug 24, 2015 at 6:57 PM, Javier Avalos <javalos@anonymised.com> wrote:

Hi Andrea.

I removed the specified folder , but the error persists .

Hmm… don’t have a good idea off the top of my head unfortunately… anyone else?

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

Hi Javier,
they do seem the right steps, yes

Cheers
Andrea

···

On Mon, Aug 24, 2015 at 7:39 PM, Javier Avalos <javalos@anonymised.com> wrote:

Hello everyone .
These are the steps I follow :

delete the folder:

rm -r ~/.m2/repository/org/geotools/gt-charts

built geotools 11.x:

mvn clean install -DskipTests

And built Geoserver 5.x:

~/Desarrollos/Geoserver/geoserver/src$ ~/aplicaciones/apache-maven-2.2.1/bin/mvn -npu -DskipTests -Drelease -DconfigId=release -DconfigDirectory=…/…/…/data -P wps,printing,csw,importer,jdbcconfig,monitor clean install

Are the right steps Andrea?

Thanks.

2015-08-24 12:00 GMT-05:00 Andrea Aime <andrea.aime@anonymised.com>:

Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

On Mon, Aug 24, 2015 at 6:57 PM, Javier Avalos <javalos@anonymised.com> wrote:

Hi Andrea.

I removed the specified folder , but the error persists .

Hmm… don’t have a good idea off the top of my head unfortunately… anyone else?

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


==
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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


On Mon, Aug 24, 2015 at 7:39 PM, Javier Avalos <javalos@anonymised.com

wrote:

Hello everyone .
These are the steps I follow :

delete the folder:

rm -r ~/.m2/repository/org/geotools/gt-charts

built geotools 11.x:

mvn clean install -DskipTests

And built Geoserver 5.x:

~/Desarrollos/Geoserver/geoserver/src$
~/aplicaciones/apache-maven-2.2.1/bin/mvn -npu -DskipTests -Drelease
-DconfigId=release -DconfigDirectory=../../../data -P
wps,printing,csw,importer,jdbcconfig,monitor clean install

Are the right steps Andrea?

Waaait a second, what's that -npu? It should be -nsu

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

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

Hi Andrea.

-nsu no exist in maven 2, This sends me error.

···

2015-08-24 12:50 GMT-05:00 Andrea Aime <andrea.aime@anonymised.com>:

On Mon, Aug 24, 2015 at 7:39 PM, Javier Avalos <javalos@anonymised.com> wrote:

Hello everyone .
These are the steps I follow :

delete the folder:

rm -r ~/.m2/repository/org/geotools/gt-charts

built geotools 11.x:

mvn clean install -DskipTests

And built Geoserver 5.x:

~/Desarrollos/Geoserver/geoserver/src$ ~/aplicaciones/apache-maven-2.2.1/bin/mvn -npu -DskipTests -Drelease -DconfigId=release -DconfigDirectory=…/…/…/data -P wps,printing,csw,importer,jdbcconfig,monitor clean install

Are the right steps Andrea?

Waaait a second, what’s that -npu? It should be -nsu

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

Hi.

I see the version 3.3 of maven brings that option. Can I compile the project with this version ?

thanks.

···

2015-08-24 12:59 GMT-05:00 Javier Avalos <javalos@anonymised.com>:

Hi Andrea.

-nsu no exist in maven 2, This sends me error.

2015-08-24 12:50 GMT-05:00 Andrea Aime <andrea.aime@anonymised.com…>:

Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

On Mon, Aug 24, 2015 at 7:39 PM, Javier Avalos <javalos@anonymised.com> wrote:

Hello everyone .
These are the steps I follow :

delete the folder:

rm -r ~/.m2/repository/org/geotools/gt-charts

built geotools 11.x:

mvn clean install -DskipTests

And built Geoserver 5.x:

~/Desarrollos/Geoserver/geoserver/src$ ~/aplicaciones/apache-maven-2.2.1/bin/mvn -npu -DskipTests -Drelease -DconfigId=release -DconfigDirectory=…/…/…/data -P wps,printing,csw,importer,jdbcconfig,monitor clean install

Are the right steps Andrea?

Waaait a second, what’s that -npu? It should be -nsu

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

Solved !

I upgraded version 3.3 and Maven to accept the option -nsu

Thanks for everything Andre.

Cheers!
···

2015-08-24 13:15 GMT-05:00 Javier Avalos <javalos@anonymised.com>:

Hi.

I see the version 3.3 of maven brings that option. Can I compile the project with this version ?

thanks.

2015-08-24 12:59 GMT-05:00 Javier Avalos <javalos@anonymised.com>:

Hi Andrea.

-nsu no exist in maven 2, This sends me error.

Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

2015-08-24 12:50 GMT-05:00 Andrea Aime <andrea.aime@anonymised.com>:

Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

On Mon, Aug 24, 2015 at 7:39 PM, Javier Avalos <javalos@anonymised.com> wrote:

Hello everyone .
These are the steps I follow :

delete the folder:

rm -r ~/.m2/repository/org/geotools/gt-charts

built geotools 11.x:

mvn clean install -DskipTests

And built Geoserver 5.x:

~/Desarrollos/Geoserver/geoserver/src$ ~/aplicaciones/apache-maven-2.2.1/bin/mvn -npu -DskipTests -Drelease -DconfigId=release -DconfigDirectory=…/…/…/data -P wps,printing,csw,importer,jdbcconfig,monitor clean install

Are the right steps Andrea?

Waaait a second, what’s that -npu? It should be -nsu

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com…

Excellent, glad it worked!

Cheers
Andrea

···

On Mon, Aug 24, 2015 at 8:51 PM, Javier Avalos <javalos@anonymised.com> wrote:

Solved !

I upgraded version 3.3 and Maven to accept the option -nsu

Thanks for everything Andre.

Cheers!

2015-08-24 13:15 GMT-05:00 Javier Avalos <javalos@anonymised.com.>:

Hi.

I see the version 3.3 of maven brings that option. Can I compile the project with this version ?

thanks.

Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

2015-08-24 12:59 GMT-05:00 Javier Avalos <javalos@anonymised.com>:

Hi Andrea.

-nsu no exist in maven 2, This sends me error.

Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

2015-08-24 12:50 GMT-05:00 Andrea Aime <andrea.aime@anonymised.com>:

Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

On Mon, Aug 24, 2015 at 7:39 PM, Javier Avalos <javalos@anonymised.com> wrote:

Hello everyone .
These are the steps I follow :

delete the folder:

rm -r ~/.m2/repository/org/geotools/gt-charts

built geotools 11.x:

mvn clean install -DskipTests

And built Geoserver 5.x:

~/Desarrollos/Geoserver/geoserver/src$ ~/aplicaciones/apache-maven-2.2.1/bin/mvn -npu -DskipTests -Drelease -DconfigId=release -DconfigDirectory=…/…/…/data -P wps,printing,csw,importer,jdbcconfig,monitor clean install

Are the right steps Andrea?

Waaait a second, what’s that -npu? It should be -nsu

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


==
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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


We may need to upload the “missing jar” to repo.boundlessgeo.com.

I wonder what that file has on the repository?

Compared to an actual release:

Have a look at what has been downloaded in your local repository and compare to what is expected:

<?xml version="1.0" encoding="UTF-8"?> org.geotools gt-charts 11-20150127.024558-38 20150206.175632 39 20150206175633 pom 11-20150206.175632-39 20150206175632 sources jar 11-20150206.175632-39 20150206175632 jar 11-20150206.175632-39 20150206175632
···

On 24 August 2015 at 08:57, Javier Avalos <javalos@anonymised.com> wrote:

Thanks Andrea.

The error was resolved with your recommendations. But now I have another problem. The Codehaus repository is closed and the extension gs -charts tries to connect to it. I removed that repository from pom file located in the root of Geoserver,however the error persists . The mistake that sends me now is:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project’s POM).

Project ID: org.geotools:gt-charts

Reason: Error getting POM for ‘org.geotools:gt-charts’ from the repository: Unable to read local copy of metadata: Cannot read metadata from ‘/home/javalos/.m2/repository/org/geotools/gt-charts/11-SNAPSHOT/maven-metadata-codehaus.xml’: only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T… @1:1)
org.geotools:gt-charts:pom:11-SNAPSHOT

for project org.geotools:gt-charts

Thanks for everything



Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Jody Garnett

2015-08-24 2:28 GMT-05:00 Andrea Aime <andrea.aime@anonymised.com>:

Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

On Mon, Aug 24, 2015 at 9:22 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

I’ve fixed them, now you can build GeoServer by:

  • Checking out GeoTools 12.x and build it locally, to get fresh jars from it
  • Build GeoServer with -nsu, to make sure Maven does not try to get GeoTools jars from the maven repositories

Hum nope, never mind… GeoServer still does not build.
Hmm… ah, GeoServer 2.5.x depends on GeoTools 11.x, not 12.x :slight_smile:
So, you’ll need a local build of that one

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi Jody.

I have:

<?xml version="1.0" encoding="UTF-8"?> org.geotools gt-charts 11-SNAPSHOT true 20150824182131 sources jar 11-SNAPSHOT 20150824182131 jar 11-SNAPSHOT 20150824182131 pom 11-SNAPSHOT 20150824182131

I compiled my local version of GeoTools 11. This suggested it by Andrea

Cheers.

···

2015-08-24 19:03 GMT-05:00 Jody Garnett <jody.garnett@anonymised.com>:

We may need to upload the “missing jar” to repo.boundlessgeo.com.

I wonder what that file has on the repository?

Compared to an actual release:

Have a look at what has been downloaded in your local repository and compare to what is expected:

<?xml version="1.0" encoding="UTF-8"?> org.geotools gt-charts 11-20150127.024558-38 20150206.175632 39 20150206175633 pom 11-20150206.175632-39 20150206175632 sources jar 11-20150206.175632-39 20150206175632 jar 11-20150206.175632-39 20150206175632


Jody Garnett

On 24 August 2015 at 08:57, Javier Avalos <javalos@anonymised.com> wrote:

Thanks Andrea.

The error was resolved with your recommendations. But now I have another problem. The Codehaus repository is closed and the extension gs -charts tries to connect to it. I removed that repository from pom file located in the root of Geoserver,however the error persists . The mistake that sends me now is:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project’s POM).

Project ID: org.geotools:gt-charts

Reason: Error getting POM for ‘org.geotools:gt-charts’ from the repository: Unable to read local copy of metadata: Cannot read metadata from ‘/home/javalos/.m2/repository/org/geotools/gt-charts/11-SNAPSHOT/maven-metadata-codehaus.xml’: only whitespace content allowed before start tag and not T (position: START_DOCUMENT seen T… @1:1)
org.geotools:gt-charts:pom:11-SNAPSHOT

for project org.geotools:gt-charts

Thanks for everything



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

2015-08-24 2:28 GMT-05:00 Andrea Aime <andrea.aime@anonymised.com>:

Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com

On Mon, Aug 24, 2015 at 9:22 AM, Andrea Aime <andrea.aime@anonymised.com107…> wrote:

I’ve fixed them, now you can build GeoServer by:

  • Checking out GeoTools 12.x and build it locally, to get fresh jars from it
  • Build GeoServer with -nsu, to make sure Maven does not try to get GeoTools jars from the maven repositories

Hum nope, never mind… GeoServer still does not build.
Hmm… ah, GeoServer 2.5.x depends on GeoTools 11.x, not 12.x :slight_smile:
So, you’ll need a local build of that one

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 Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
javalos@anonymised.com