EsupPortail / esup-pay

EsupPay is a web application that allow ldap users authenticated with sso cas managing payments forms.
https://www.esup-portail.org/wiki/display/ESUPPAY
Apache License 2.0
5 stars 4 forks source link

Postgresql / pom.xml #2

Closed devwald closed 6 years ago

devwald commented 6 years ago

Bonjour,

Pour information, sur la version 1.1.0 en exécutant un mvn package, je restais bloqué sur :

[INFO] ------------------------------------------------------------------------
[INFO] Building esup-pay 1.1.0
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.springframework.org/release/org/postgresql/postgresql/42.1.4/postgresql-42.1.4.pom

J'ai donc changé mon pom.xml la partie postgresql avec une ancienne version :

<groupId>postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>9.1-901-1.jdbc4</version>

Cdt.

vbonamy commented 6 years ago

Bonjour, J'ai retesté et postgresql-42.1.4 est bien disponible dans le maven central, peut-être un pb réseau ou similaire temporaire ici lors du mvn package ? Bien cordialement, Vincent Bonamy.

2018-06-21 13:44 GMT+02:00 devwald notifications@github.com:

Bonjour,

Pour information, sur la version 1.1.0 en exécutant un mvn package, je restais bloqué sur :

*[INFO]

[INFO] Building esup-pay 1.1.0 [INFO]

Downloading: http://maven.springframework.org/release/org/postgresql/postgresql/42.1.4/postgresql-42.1.4.pom http://maven.springframework.org/release/org/postgresql/postgresql/42.1.4/postgresql-42.1.4.pom*

J'ai donc changé mon pom.xml la partie postgresql avec une ancienne version :

postgresql postgresql 9.1-901-1.jdbc4

Cdt.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EsupPortail/esup-pay/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ABeVH0T_da9FpZ82AknPptLETfo-Ysy8ks5t-4cIgaJpZM4Ux6D5 .

devwald commented 6 years ago

Bizarre, j'ai donc remis :

                        <groupId>org.postgresql</groupId>
                        <artifactId>postgresql</artifactId>
                        <version>42.1.4</version>

Et je reste toujours bloqué sur :

[INFO] ------------------------------------------------------------------------
[INFO] Building esup-pay 1.1.0
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.springframework.org/release/org/postgresql/postgresql/42.1.4/postgresql-42.1.4.pom

Alors qu'avec une ancienne version de Postgres (cf. mon message initial), je n'ai pas de soucis.

Pour info quand on va sur l'URL : http://maven.springframework.org/release/org/postgresql/postgresql/42.1.4/postgresql-42.1.4.pom on obtient une page indiquant ceci :

  |  
-- | --
errors |  
0 |  
status | 404
message | "Could not find resource"
vbonamy commented 6 years ago

En fait cette dépendance est donnée directement par le maven central (et non par le maven spring) ; voir : https://mvnrepository.com/artifact/org.postgresql/postgresql/42.1.4 -> http://central.maven.org/maven2/org/postgresql/ postgresql/42.1.4/postgresql-42.1.4.pom est ok par exemple.

C'est peut-être votre .m2 qui pose problème ... quitte à modifier la version, mettez plutôt une version plus récente éventuellement (pour faire face à l'issue #3 ) ; la 42.2.2 par exemple.

Vincent.

Le 26 juin 2018 à 10:11, devwald notifications@github.com a écrit :

Bizarre, j'ai donc remis :

                    <groupId>org.postgresql</groupId>
                    <artifactId>postgresql</artifactId>
                    <version>42.1.4</version>

Et je reste toujours bloqué sur :

[INFO] ------------------------------------------------------------------------ [INFO] Building esup-pay 1.1.0 [INFO] ------------------------------------------------------------------------ Downloading: http://maven.springframework.org/release/org/postgresql/postgresql/42.1.4/postgresql-42.1.4.pom

Alors qu'avec une ancienne version de Postgres (cf. mon message initial), je n'ai pas de soucis.

Pour info quand on va sur l'URL : http://maven.springframework.o rg/release/org/postgresql/postgresql/42.1.4/postgresql-42.1.4.pom on obtient une page indiquant ceci :

errors
0
status 404
message "Could not find resource"

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/EsupPortail/esup-pay/issues/2#issuecomment-400220034, or mute the thread https://github.com/notifications/unsubscribe-auth/ABeVH1BWTkbY2awplx6uBOxrZR7u3FAhks5uAeyZgaJpZM4Ux6D5 .

devwald commented 6 years ago

C'est corrigé. J'ai téléchargé directement le .jar (https://jdbc.postgresql.org/download/postgresql-42.1.4.jar) et je l'ai positionné dans le WEB-INF/lib

Merci pour votre aide.