Search code examples
javamavenpom.xmlopenimaj

How to create pom.xml for openimaj?


I am trying to run "mvn install" as described here:

http://sourceforge.net/p/openimaj/wiki/OpenIMAJ%20From%20Source/

I have downloaded the svn of openimaj and the pom.xml files is in:

C:\Users\[user]\openimaj

When I try to run "mvn install" it says:

[ERROR] The goal you specified requires a project to execute but there is no POM
 in this directory (C:\Users\net). Please verify you invoked Maven from the corr
ect directory. -> [Help 1]

I believe I need to put a my pom.xml in C:\Users\net, But how should I create this pom.xml for openimaj?


Solution

  • You need to run the mvn install command in the directory containing the pom file. (C:\Users\[user]\openimaj instead of C:\Users\net).