← Back to team overview

dhis2-devs team mailing list archive

Re: Getting problem while building a local module

 

Hi,

Error message clearly says one dependency is missing and it is transitive dependency of com.lowagie:itext:jar:1.4.8. Look at jasperreport and itext dependencies.

murod




________________________________
From: Brajesh Murari <brajesh2murari@xxxxxxxxx>
To: DHIS 2 developers <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, September 1, 2009 12:21:58 PM
Subject: [Dhis2-devs] Getting problem while building a local module

Hi,

I need a help.
i am trying to build "dhis-web-reports-national", a local copy on my PC, and i am getting following message on my console window,

----------------------------------------------------------------------------------------------Message detail -----------------------------------------------------------------------------------------------------------------------------------

D:\scm\dhis2svn\local\in\dhis-web-reports-national>mvn clean install
Listening for transport dt_socket at address: 8000
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building DHIS National Reports
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] Ignoring available plugin update: 2.3 as it requires Maven version 2.0.6
[INFO] Ignoring available plugin update: 2.4.3 as it requires Maven version 2.0.6
[INFO] [clean:clean]
[INFO] [resources:resources]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
Downloading: http://repo1.maven.org/maven2/bouncycastle/bctsp-jdk14/138/bctsp-jdk14-138.pom
[WARNING] Unable to get resource 'bouncycastle:bctsp-jdk14:pom:138' from repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/bouncycastle/bctsp-jdk14/138/bctsp-jdk14-138.jar
[WARNING] Unable to get resource 'bouncycastle:bctsp-jdk14:jar:138' from repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) bouncycastle:bctsp-jdk14:jar:138

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=bouncycastle -DartifactId=bctsp-jdk14 \
          -Dversion=138 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.hisp.dhis:dhis-web-reports-national:war:2.0.1-SNAPSHOT
        2) jasperreports:jasperreports:jar:2.0.2
        3) com.lowagie:itext:jar:1.4.8
        4) bouncycastle:bctsp-jdk14:jar:138

----------
1 required artifact is missing.

for artifact:
  org.hisp.dhis:dhis-web-reports-national:war:2.0.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Tue Sep 01 12:03:36 IST 2009
[INFO] Final Memory: 11M/20M
[INFO] ------------------------------------------------------------------------

D:\scm\dhis2svn\local\in\dhis-web-reports-national>

-----------------------------------------------------------------------------------------------------------end of message on my console-----------------------------------------------------------------------------------------------

I need help, can any body tell me how to solve this problem, if really it exists..

-- 
Best Regards,
Brajesh Murari


      

Follow ups

References