[Dhis2] getting maven build errors

Hi,

I have downloaded the source code but i am getting build errors when i run the command " mvn install " on terminal in dhis-2 directory.

I have attached the build log file. Kindly help me solve the issue.

Regards,

Haider Iqba

log.txt (18.7 KB)

You could try to just skp the tests:

mvn clean install -DskipTests=true

as it says in the instructions:

https://www.dhis2.org/development

Knut

···

On Sunday, September 20, 2015, haider iqbal haider.tiger9@gmail.com wrote:

Hi,

I have downloaded the source code but i am getting build errors when i run the command " mvn install " on terminal in dhis-2 directory.

I have attached the build log file. Kindly help me solve the issue.

Regards,

Haider Iqba


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Hi

The test failures are due to you current local timezone (Asia/Karachi). Sorry, but as Knut says… please use -DskipTests=true for now… you might also have issues running DHIS 2, some timezones have been known to be incompatible… we fix it when we see it, but for now… maybe you could adjust your time zone. I will look into it, but it could take a few days.

···

On Sun, Sep 20, 2015 at 9:31 PM, Knut Staring knutst@gmail.com wrote:

You could try to just skp the tests:
mvn clean install -DskipTests=true

as it says in the instructions:

https://www.dhis2.org/development

Knut

On Sunday, September 20, 2015, haider iqbal haider.tiger9@gmail.com wrote:

Hi,

I have downloaded the source code but i am getting build errors when i run the command " mvn install " on terminal in dhis-2 directory.

I have attached the build log file. Kindly help me solve the issue.

Regards,

Haider Iqba

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Morten

Thank you for your support. I build the code by skipping tests and it was successfully built.

Hiader Iqbal

···


Morten

On Sun, Sep 20, 2015 at 9:31 PM, Knut Staring knutst@gmail.com wrote:

You could try to just skp the tests:
mvn clean install -DskipTests=true

as it says in the instructions:

https://www.dhis2.org/development

Knut

On Sunday, September 20, 2015, haider iqbal haider.tiger9@gmail.com wrote:

Hi,

I have downloaded the source code but i am getting build errors when i run the command " mvn install " on terminal in dhis-2 directory.

I have attached the build log file. Kindly help me solve the issue.

Regards,

Haider Iqba

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Hi Haider,

You can also always get a copy of the latest builds from the continuous integration server here

https://apps.dhis2.org/ci/

Unless you have made local changes, this may be easier.

Regards,

Jason

···

On Mon, Sep 21, 2015 at 6:23 AM, haider iqbal haider.tiger9@gmail.com wrote:

Thank you for your support. I build the code by skipping tests and it was successfully built.

Hiader Iqbal

On Sep 21, 2015 7:52 AM, “Morten Olav Hansen” mortenoh@gmail.com wrote:

Hi

The test failures are due to you current local timezone (Asia/Karachi). Sorry, but as Knut says… please use -DskipTests=true for now… you might also have issues running DHIS 2, some timezones have been known to be incompatible… we fix it when we see it, but for now… maybe you could adjust your time zone. I will look into it, but it could take a few days.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Morten

On Sun, Sep 20, 2015 at 9:31 PM, Knut Staring knutst@gmail.com wrote:

You could try to just skp the tests:
mvn clean install -DskipTests=true

as it says in the instructions:

https://www.dhis2.org/development

Knut

On Sunday, September 20, 2015, haider iqbal haider.tiger9@gmail.com wrote:

Hi,

I have downloaded the source code but i am getting build errors when i run the command " mvn install " on terminal in dhis-2 directory.

I have attached the build log file. Kindly help me solve the issue.

Regards,

Haider Iqba

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049