Hi there,

I was trying to run the GREG sample for reporting section [1]. When I did
'mvn clean install' It's giving me the error provided below. Also I found a
similar issue logged in JIRA[2], although I'm not 100% sure if these two
issues are related. Can someone please look into this please? Thanks!

[1] https://docs.wso2.com/display/Governance460/Custom+Report+Sample
[2] https://wso2.org/jira/browse/REGISTRY-2118

*Error Log:*

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) jasperreports:jasperreports:jar:3.7.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=jasperreports
-DartifactId=jasperreports -Dversion=3.7.1 -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=jasperreports
-DartifactId=jasperreports -Dversion=3.7.1 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
   1)
org.wso2.governance:org.wso2.carbon.registry.samples.handler:bundle:4.6.0
   2) org.wso2.carbon:org.wso2.carbon.reporting.api:jar:4.2.0
   3) jasperreports.wso2:jasperreports:jar:3.7.1.wso2v1
   4) jasperreports:jasperreports:jar:3.7.1

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

for artifact:
  org.wso2.governance:org.wso2.carbon.registry.samples.handler:bundle:4.6.0

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)



[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Fri Jul 17 16:43:14 IST 2015
[INFO] Final Memory: 43M/333M
[INFO]
------------------------------------------------------------------------

Cheers,
Pubudu D.P
Senior Software Engineer - QA Team | WSO2 inc.
Mobile : +94775464547
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to