Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

use mvn package build failure #1

Closed
tankle opened this issue Oct 21, 2014 · 1 comment
Closed

use mvn package build failure #1

tankle opened this issue Oct 21, 2014 · 1 comment

Comments

@tankle
Copy link

tankle commented Oct 21, 2014

I used mvn to build the project .
my system information:

$ mvn --version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_65, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-38-generic", arch: "amd64", family: "unix"

This is the error information.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:45.186s
[INFO] Finished at: Tue Oct 21 15:06:49 CST 2014
[INFO] Final Memory: 10M/173M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project datumbox-framework: Could not resolve dependencies for project com.datumbox:datumbox-framework:jar:0.5.0: Could not find artifact lpsolve:lpsolve:jar:5.5.2.0 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
@datumbox
Copy link
Owner

Hi,

Unfortunately maven does not have the latest jar files of lp_solve and moreover there are binaries that you must setup manually on your pc. Here is how:

Note that the lp_solve library is not crucial for the framework. It is required only if you use linear programming and at the moment the only algorithm that does is the DEA. Thus, even though it is not recommended, one can remove these classes and the rest of the code will run fine.

Hope this helps.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants