← Back to team overview

dhis2-devs team mailing list archive

Re: maven question

 

ok.  I see it is not listed as a dependency in the web-commons pom.xml.
This looks like the problem as all the others are there.  When I add it in I
am getting a problem

'dependencies.dependency.version' is missing for
org.hisp.dhis:dhis-service-aggregationengine-default

Can't quite figure this out as I thought depency info is coming from parent
project.  Still looking ...

Cheers
Bob

2009/10/30 Bob Jolliffe <bobjolliffe@xxxxxxxxx>

> I have found that when I manually replace dhis-service-
> aggregationengine-default-2.0.3-SNAPSHOT.jar in the dhis.war it runs.  So
> the problem is definitely related to this file.  Something maven is not
> doing.  Should be simple enough to isolate but I can't see it.  Still
> looking ...
>
> Cheers
> Bob
>
>
> 2009/10/30 Jason Pickering <jason.p.pickering@xxxxxxxxx>
>
> I am having the same problem.
>>
>> DHIS fails to launch with the latest version of the source code.
>>
>> On Fri, Oct 30, 2009 at 12:22 PM, Bob Jolliffe <bobjolliffe@xxxxxxxxx>
>> wrote:
>> > I am currently struggling to build dhis2 correctly :-(  I think it
>> reflects
>> > my fairly thin grasp on the workings of maven.
>> >
>> > Let me retrace my steps:
>> >
>> > 1.  cd <src dir of dhis2>
>> > mvn clean install -Dtest=skip -DfailIfNoTests=false
>> >
>> > 2.  cd dhis-web
>> > mvn clean install -Dtest=skip -DfailIfNoTests=false
>> >
>> > 3.  cd dhis-web-portal (this step is not necessary but I'll do out of
>> > superstition)
>> > mvn clean install -Dtest=skip -DfailIfNoTests=false
>> >
>> > Now the problem is that I keep ending up with an old version of
>> > dhis-service-aggregationengine-default-2.0.3-SNAPSHOT.jar packed into
>> > dhis.war.  I see from step 1 that I have definitely built a new version.
>> > Anybody got a clue why this is?  Am I doing something stupid?
>> >
>> > Bob.
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> > Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>> >
>>
>
>

Follow ups

References