How do I use andengine with maven?

I downloaded the source using

hg clone andengine

And I'd like to know what the next step is to use andengine with maven.

-------------Problems Reply------------

You should build the andengine first to create a jar file to be used as a dependency in your project. It seems andengine is using ant to build the project so that should work. (You could also put andengine in its own maven module, use the ant mojos from maven to execute the build and put the jar in the local repository. But there will be new version and that may turn into migration work, I would split this task into andegnine and your project).

From there you can use the groupId/artifactId you chose above (to store the .jar in your local repo if there is no repository proxy in place) in your project.

You are getting AndEngine from the wrong place, the project now lives on GitHub: The Google Code repository is now probably very old and buggy!

On getting it from GitHub, see this thread.

Category:android Views:1 Time:2011-07-25

Related post

  • How can I deploy artifacts from a Maven build to the SourceForge File Release System? 2008-08-19

    I am using SourceForge for some Open Source projects and I want to automate the deployment of releases to the SourceForge File Release System. I use Maven for my builds and the standard SFTP deployment mechanism doesn't seem to work unless you do som

  • Repository layout for large Maven projects 2008-08-21

    I have a large application (~50 modules) using a structure similar to the following: Application Communication modules Color communication module SSN communication module etc. communication module Router module Service modules Voting service module W

  • How do I profile a Maven Application in Netbeans? 2008-08-24

    I've got a project using Maven 2 as the build tool. I use Netbeans 6 as my IDE and really want to be able to use the profiler. How can I get this to work? --------------Solutions------------- I thought this might be more complicated. It wasn't. To us

  • In Maven 2, how do I know from which dependency comes a transitive dependency? 2008-08-29

    I would like to know which dependency described in my pom.xml brings a transitive dependency in my target directory. To be more precise, I have the library "poi-2.5.1-final-20040804.jar" in my WEB-INF/lib directory and I would like to know which depe

  • Hudson can't build my Maven 2 project because it says artifacts are missing from the repository? (they aren't) 2008-09-04

    I'm using Hudson and Maven 2 for my automated build/CI. I can build fine with maven from the command line, but when I run the same goal with Hudson, the build fails complaining of missing artifacts. I'm running Hudson as a windows XP service. -------

  • How to reference javadocs to dependencies in Maven's eclipse plugin when javadoc not attached to dependency 2008-09-04

    I use Eclipse, Maven, and Java in my development. I use Maven to download dependencies (jar files and javadoc when available) and Maven's eclipse plug-in to generate the .project and .classpath files for Eclipse. When the dependency downloaded does n

  • jtds No Suitable Driver Exception when running a maven built project 2008-09-14

    We have a simple spring-hibernate application(console app) where in we have set the classpath in manifest file of the executable jar file. And the app connects to the database using jtds driver, Everything works as expected on windows machine and jdk

  • Can I add maven repositories in the command line? 2008-09-16

    I'm aware I can add maven repositories for fetching dependencies in ~/.m2/settings.xml. But is it possible to add a repository using command line, something like: mvn install -Dmaven.repository= The reason I want to do this i

  • Can Maven be made less verbose? 2008-09-16

    Maven spews out far too many lines of output to my taste (I like the Unix way: no news is good news). I want to get rid of all [INFO] lines, but I couldn't find any mention of an argument or config settings that controls the verbosity of Maven. Is th

  • persistence.xml not found during maven testing 2008-09-16

    I'm trying to load test data into a test DB during a maven build for integration testing. persistence.xml is being copied to target/test-classes/META-INF/ correctly, but I get this exception when the test is run. javax.persistence.PersistenceExceptio

  • Where can I find a good introduction to maven? 2008-09-17

    I have a sufficient amount of experience with ant so far, but I am interested in learning more about maven. It seems really opaque. Can you recommend a good introduction to maven -- I'm looking for as much clarity and simplicity as possible. I suppos

  • Maven Jdepend report contains no data 2008-09-18

    I'm running the jdepend maven plugin on my project and whether I run "mvn site:site" or "mvn jdepend:generate" the report that gets generated says "There are no package used." There are no errors in the maven output. Other plugins (cobertura, findbug

  • Maven plugins to analyze javascript code quality 2008-09-18

    Javascript code can be tough to maintain. I am looking for tools that will help me ensure a reasonable quality level. So far I have found JsUNit, a very nice unit test framework for javascript. Tests can be run automatically from ant on any browser a

  • How do you create automated tests of a Maven plugin using JUnit? 2008-09-19

    I've got a (mostly) working plugin developed, but since its function is directly related to the project it processes, how do you develop unit and integration tests for the plugin. The best idea I've had is to create an integration test project for th

  • How do I get maven to "stamp" a build number into a properties file 2008-09-23

    I would like to be able to, as part of a maven build, set the build number (doesn't matter exactly what) in a properties file/class (so I can show it in a UI). Any ideas? --------------Solutions------------- We used the Build Number Plugin now availa

  • Best way to access the runtime configuration of a maven plugin from a custom mojo? 2008-09-24

    I am writing a custom maven2 MOJO. I need to access the runtime configuration of another plugin, from this MOJO. What is the best way to do this? --------------Solutions------------- Using properties is certainly one way to go, however not ideal. It

  • Why does maven 2 try to download dependencies that I already have? 2008-09-24

    When I launch the "mvn install" command, maven sometimes tries to download dependencies that it has already downloaded. That's expected for SNAPSHOT but why does maven do that for other JARs? I know I can avoid that behavior by "-o" flag but I just w

  • Maven dependency exclusion for War file, but inclusion for tests 2008-09-25

    I have a maven POM file for a web service. For one of the dependencies I have to specify several exclusions for jar files that are already kept at a higher-level in the web-application server (accessible to all web-applications, not just this particu

  • How do you force a maven MOJO to be executed only once at the end of a build? 2008-09-25

    I have a MOJO I would like executed once, and once only after the test phase of the last project in the reactor to run. Using: if (!getProject().isExecutionRoot()) { return ; } at the start of the execute() method means my mojo gets executed once, ho

Copyright (C), All Rights Reserved.

processed in 0.117 (s). 11 q(s)