aChartEngine app testing using Maven

I am rather new to Maven and I am having trouble using it. I have a working Android app, which uses aChartEngine, that runs fine in Eclipse but I need to use Maven for testing. There has been a repository set up for ACE but I can’t seem to access it properly. Here is my POM:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="" xmlns:xsi=""     xsi:schemaLocation="">

        <name>Public AChartEngine repository</name>
                    <!-- platform or api level (api level 16 = platform 4.1)-->

Is there something I’m doing wrong here? Let me know if I can add any more information.

Note that I am not using Maven from Eclipse, I am running it in a command prompt on windows 7.

UPDATE: I think I have found the problem but I’m not sure yet, so I’ll still post the error message:

[ERROR] Failed to execute goal on project my-app: Could not resolve dependencies for project com.mycompany:my-app:apk:0.0.1- SNAPSHOT: Could not find artifact org.achartengine:achartengine:jar:1.1.0 in …(my companies repository)


It turned out that the jar was not loaded into the repository that was being used. Got it all functional now.

Leave a Reply

Your email address will not be published. Required fields are marked *