[ojAlgo-user] build and test instructions for ojalgo?
Mathematics, linear algebra and optimisation
Brought to you by:
apete
From: Daren D. <dar...@ya...> - 2015-12-14 18:58:30
|
Hello! Can someone point me to some instructions on how to build and run the unit tests? I don't see any build and test instructions in the readme files or on the wiki or mailing list archive. Is see both a maven pom.xml file and an ant build.xml file, however the default maven install and ant target commands fail for me. I checked out branch v39 and ran: mvn install which fails with: [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ ojalgo ---[WARNING] The POM for org.apache.maven:maven-archiver:jar:2.4.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details[WARNING] The POM for org.codehaus.plexus:plexus-archiver:jar:2.0.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more detailsDec 14, 2015 6:43:22 PM org.sonatype.guice.bean.reflect.Logs$JULSink warnWARNING: Error injecting: org.apache.maven.plugin.jar.JarMojojava.lang.NoClassDefFoundError: Lorg/codehaus/plexus/archiver/jar/JarArchiver;at java.lang.Class.getDeclaredFields0(Native Method)at java.lang.Class.privateGetDeclaredFields(Class.java:2570)at java.lang.Class.getDeclaredFields(Class.java:1903)at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:651).....<big stack trace here> ...Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.archiver.jar.JarArchiverat org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)... 57 more Also running the default ant target fails: dist: [delete] Deleting directory /Users/ddrummond/dev/ojAlgo/target [mkdir] Created dir: /Users/ddrummond/dev/ojAlgo/target BUILD FAILED/Users/ddrummond/dev/ojAlgo/build.xml:167: /Users/ddrummond/dev/ojAlgo/bin does not exist. About my system: Maven 3.0.4Apache Ant(TM) version 1.9.6 compiled on June 29 2015Java version: 1.8.0_05, vendor: Oracle CorporationDefault locale: en_US, platform encoding: UTF-8OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac" Thanks in advance! Cheers, Daren |