Hello all,
I’m trying to build DHIS2 locally, but maven hangs trying to download smslib:
[INFO] Building DHIS API 2.18-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.dhis2.org/amplecode-local/org/smslib/smslib/3.5.3/smsl
ib-3.5.3.jar
24/348 KB
[ERROR] Failed to execute goal on project dhis-api: Could not resolve dependenci
es for project org.hisp.dhis:dhis-api:jar:2.18-SNAPSHOT: Could not transfer arti
fact org.smslib:smslib:jar:3.5.3 from/to amplecode_maven2_repo (http://maven.dhi
s2.org/amplecode-local ): GET request of: org/smslib/smslib/3.5.3/smslib-3.5.3.ja
r from amplecode_maven2_repo failed: Premature end of Content-Length delimited m
essage body (expected: 356263; received: 24174 → [Help 1]
···
Knut Staring
Dept. of Informatics, University of Oslo
Liberia: +231 770 496 123 or +231 886 146 381
Norway: +4791880522
Skype: knutstar
http://dhis2.org
morten
(Morten Hansen)
7 January 2015 02:12
2
Hi Knut
Did you fix this? if not, I can send you the file… this repo usually works, but maybe it had some downtime…
···
On Sun Jan 04 2015 at 9:04:14 PM Knut Staring knutst@gmail.com wrote:
Hello all,
I’m trying to build DHIS2 locally, but maven hangs trying to download smslib:
[INFO] Building DHIS API 2.18-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.dhis2.org/amplecode-local/org/smslib/smslib/3.5.3/smsl
ib-3.5.3.jar
24/348 KB
[ERROR] Failed to execute goal on project dhis-api: Could not resolve dependenci
es for project org.hisp.dhis:dhis-api:jar:2.18-SNAPSHOT: Could not transfer arti
fact org.smslib:smslib:jar:3.5.3 from/to amplecode_maven2_repo (http://maven.dhi
s2.org/amplecode-local ): GET request of: org/smslib/smslib/3.5.3/smslib-3.5.3.ja
r from amplecode_maven2_repo failed: Premature end of Content-Length delimited m
essage body (expected: 356263; received: 24174 → [Help 1]
–
Knut Staring
Dept. of Informatics, University of Oslo
Liberia: +231 770 496 123 or +231 886 146 381
Norway: +4791880522
Skype: knutstar
http://dhis2.org
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Thanks, I copied from an older war file. Just wanted to flag it.
···
On Jan 7, 2015 2:12 AM, “Morten Olav Hansen” mortenoh@gmail.com wrote:
Hi Knut
Did you fix this? if not, I can send you the file… this repo usually works, but maybe it had some downtime…
On Sun Jan 04 2015 at 9:04:14 PM Knut Staring knutst@gmail.com wrote:
Hello all,
I’m trying to build DHIS2 locally, but maven hangs trying to download smslib:
[INFO] Building DHIS API 2.18-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.dhis2.org/amplecode-local/org/smslib/smslib/3.5.3/smsl
ib-3.5.3.jar
24/348 KB
[ERROR] Failed to execute goal on project dhis-api: Could not resolve dependenci
es for project org.hisp.dhis:dhis-api:jar:2.18-SNAPSHOT: Could not transfer arti
fact org.smslib:smslib:jar:3.5.3 from/to amplecode_maven2_repo (http://maven.dhi
s2.org/amplecode-local ): GET request of: org/smslib/smslib/3.5.3/smslib-3.5.3.ja
r from amplecode_maven2_repo failed: Premature end of Content-Length delimited m
essage body (expected: 356263; received: 24174 → [Help 1]
–
Knut Staring
Dept. of Informatics, University of Oslo
Liberia: +231 770 496 123 or +231 886 146 381
Norway: +4791880522
Skype: knutstar
http://dhis2.org
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
morten
(Morten Hansen)
7 January 2015 04:09
4
It was probably cut off in the middle… I have seen this happen before if you are accessing dhis2.org outside of Norway…
Maybe the mobile team could find a maven repo that is more mainstream to use for this? the original reason for it, was that this version of smslib was not available in maven.
A quick google seems to suggest this repo http://smslib.org/maven2/v3/org/smslib/smslib/
They are using a different repo for smslib 4, not sure if they want to update or not
···
–
Morten
(In Vietnam now, its almost impossible to access it at all, but this also due to an undersea cable in SE asia that was cut… again)
On Sun Jan 04 2015 at 9:04:14 PM Knut Staring knutst@gmail.com wrote:
Hello all,
I’m trying to build DHIS2 locally, but maven hangs trying to download smslib:
[INFO] Building DHIS API 2.18-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.dhis2.org/amplecode-local/org/smslib/smslib/3.5.3/smsl
ib-3.5.3.jar
24/348 KB
[ERROR] Failed to execute goal on project dhis-api: Could not resolve dependenci
es for project org.hisp.dhis:dhis-api:jar:2.18-SNAPSHOT: Could not transfer arti
fact org.smslib:smslib:jar:3.5.3 from/to amplecode_maven2_repo (http://maven.dhi
s2.org/amplecode-local ): GET request of: org/smslib/smslib/3.5.3/smslib-3.5.3.ja
r from amplecode_maven2_repo failed: Premature end of Content-Length delimited m
essage body (expected: 356263; received: 24174 → [Help 1]
–
Knut Staring
Dept. of Informatics, University of Oslo
Liberia: +231 770 496 123 or +231 886 146 381
Norway: +4791880522
Skype: knutstar
http://dhis2.org
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Lars
(Lars Øverland)
7 January 2015 08:56
5
Was a problem with our maven repo, try again now.
Lars
···
On Wed, Jan 7, 2015 at 5:09 AM, Morten Olav Hansen mortenoh@gmail.com wrote:
It was probably cut off in the middle… I have seen this happen before if you are accessing dhis2.org outside of Norway…
Maybe the mobile team could find a maven repo that is more mainstream to use for this? the original reason for it, was that this version of smslib was not available in maven.
A quick google seems to suggest this repo http://smslib.org/maven2/v3/org/smslib/smslib/
They are using a different repo for smslib 4, not sure if they want to update or not
–
Morten
(In Vietnam now, its almost impossible to access it at all, but this also due to an undersea cable in SE asia that was cut… again)
On Sun Jan 04 2015 at 9:04:14 PM Knut Staring knutst@gmail.com wrote:
Hello all,
I’m trying to build DHIS2 locally, but maven hangs trying to download smslib:
[INFO] Building DHIS API 2.18-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.dhis2.org/amplecode-local/org/smslib/smslib/3.5.3/smsl
ib-3.5.3.jar
24/348 KB
[ERROR] Failed to execute goal on project dhis-api: Could not resolve dependenci
es for project org.hisp.dhis:dhis-api:jar:2.18-SNAPSHOT: Could not transfer arti
fact org.smslib:smslib:jar:3.5.3 from/to amplecode_maven2_repo (http://maven.dhi
s2.org/amplecode-local ): GET request of: org/smslib/smslib/3.5.3/smslib-3.5.3.ja
r from amplecode_maven2_repo failed: Premature end of Content-Length delimited m
essage body (expected: 356263; received: 24174 → [Help 1]
–
Knut Staring
Dept. of Informatics, University of Oslo
Liberia: +231 770 496 123 or +231 886 146 381
Norway: +4791880522
Skype: knutstar
http://dhis2.org
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Hi,
The repo from smslib them self was unstable before so we moved it to the dhis repo. I think it’s safer to keep it in dhis maven repo
Long
···
On Wed, Jan 7, 2015 at 5:09 AM, Morten Olav Hansen mortenoh@gmail.com wrote:
It was probably cut off in the middle… I have seen this happen before if you are accessing dhis2.org outside of Norway…
Maybe the mobile team could find a maven repo that is more mainstream to use for this? the original reason for it, was that this version of smslib was not available in maven.
A quick google seems to suggest this repo http://smslib.org/maven2/v3/org/smslib/smslib/
They are using a different repo for smslib 4, not sure if they want to update or not
–
Morten
(In Vietnam now, its almost impossible to access it at all, but this also due to an undersea cable in SE asia that was cut… again)
On Sun Jan 04 2015 at 9:04:14 PM Knut Staring knutst@gmail.com wrote:
Hello all,
I’m trying to build DHIS2 locally, but maven hangs trying to download smslib:
[INFO] Building DHIS API 2.18-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.dhis2.org/amplecode-local/org/smslib/smslib/3.5.3/smsl
ib-3.5.3.jar
24/348 KB
[ERROR] Failed to execute goal on project dhis-api: Could not resolve dependenci
es for project org.hisp.dhis:dhis-api:jar:2.18-SNAPSHOT: Could not transfer arti
fact org.smslib:smslib:jar:3.5.3 from/to amplecode_maven2_repo (http://maven.dhi
s2.org/amplecode-local ): GET request of: org/smslib/smslib/3.5.3/smslib-3.5.3.ja
r from amplecode_maven2_repo failed: Premature end of Content-Length delimited m
essage body (expected: 356263; received: 24174 → [Help 1]
–
Knut Staring
Dept. of Informatics, University of Oslo
Liberia: +231 770 496 123 or +231 886 146 381
Norway: +4791880522
Skype: knutstar
http://dhis2.org
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
morten
(Morten Hansen)
7 January 2015 09:19
7
Ok, it seems that for the next version (smslib v4) they have moved it… so it should be good to use, so when you do the update remember to change repo also
Btw, 3.5.4 is out…
···
On Wed, Jan 7, 2015 at 5:09 AM, Morten Olav Hansen mortenoh@gmail.com wrote:
It was probably cut off in the middle… I have seen this happen before if you are accessing dhis2.org outside of Norway…
Maybe the mobile team could find a maven repo that is more mainstream to use for this? the original reason for it, was that this version of smslib was not available in maven.
A quick google seems to suggest this repo http://smslib.org/maven2/v3/org/smslib/smslib/
They are using a different repo for smslib 4, not sure if they want to update or not
–
Morten
(In Vietnam now, its almost impossible to access it at all, but this also due to an undersea cable in SE asia that was cut… again)
On Sun Jan 04 2015 at 9:04:14 PM Knut Staring knutst@gmail.com wrote:
Hello all,
I’m trying to build DHIS2 locally, but maven hangs trying to download smslib:
[INFO] Building DHIS API 2.18-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.dhis2.org/amplecode-local/org/smslib/smslib/3.5.3/smsl
ib-3.5.3.jar
24/348 KB
[ERROR] Failed to execute goal on project dhis-api: Could not resolve dependenci
es for project org.hisp.dhis:dhis-api:jar:2.18-SNAPSHOT: Could not transfer arti
fact org.smslib:smslib:jar:3.5.3 from/to amplecode_maven2_repo (http://maven.dhi
s2.org/amplecode-local ): GET request of: org/smslib/smslib/3.5.3/smslib-3.5.3.ja
r from amplecode_maven2_repo failed: Premature end of Content-Length delimited m
essage body (expected: 356263; received: 24174 → [Help 1]
–
Knut Staring
Dept. of Informatics, University of Oslo
Liberia: +231 770 496 123 or +231 886 146 381
Norway: +4791880522
Skype: knutstar
http://dhis2.org
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp